什么是更新多个表的最佳设计模式
问题描述:
在执行单个事务时,我要添加/更新的表超过15-20个.我还需要维护每个表的历史记录.对于这种环境,最佳的设计模式是什么?
这些表可能每次都不同.
问候,
Rakhesh R
Hi,
I have more than 15-20 tables to add/update while doing a single transaction. I also need to maintain the history for each table. What could be the best design pattern for this situvation?
The tables could be different each time.
Regards,
Rakhesh R
答
我会去一个数据仓库,并使用 type 2 数据仓库.
然后,更新将要求您使要更新的行过期,并添加新行以替换过期的行.
提示:
数据安置是一个很大的领域,如果没有先进行彻底的调查,就不要考虑!
I would go for a datawarehouse and use a type 2 datawarehouse.
An update will then require you to expire the row to be updated and add a new row to replace the expired row.
Tip:
Datarehousing is a big big area and not to be contemplated without a thorough investigation first!