缓慢变化的维度
SSIS 2008中的缓慢变化维度任务有什么用?我们如何使用它?
使用这个任务有什么好处?使用查找和条件拆分任务有性能差异吗?
What is the use of Slowly changing dimension Task in SSIS 2008 ? How do we use it ?
What is the advantage of using this task ? Any performance difference from using Lookup and Conditional Split task ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是一个开放式问题!看看这些链接...
http://msdn.microsoft.com/ en-us/library/ms141715.aspx
http://consultingblogs.emc.com/jamiethomson/archive/2005/06/06/ssis_3a00_-scd-wizard-demo.aspx
http://blogs.msdn.com/b/mattm/archive/ 2009/11/13/处理缓慢变化的维度-in-ssis.aspx
Bit of an open-ended question! Have a look at these links...
http://msdn.microsoft.com/en-us/library/ms141715.aspx
http://consultingblogs.emc.com/jamiethomson/archive/2005/06/06/ssis_3a00_-scd-wizard-demo.aspx
http://blogs.msdn.com/b/mattm/archive/2009/11/13/handling-slowly-changing-dimensions-in-ssis.aspx
尽管网络上有很多关于缓慢变化维度是什么的深入信息,但这里有一个非常常见且简单的用法:
假设您正在尝试使一个表的内容与另一个表的内容保持最新。例如,如果您有一个数据库(数据库 A)包含物料主数据(例如 ERP 系统),并且您希望另一个数据库(数据库 B)具有相同的物料主数据。缓慢变化的维度将允许您自动将更改从项目主数据库 A 传播到数据库 B。例如,如果数据库 A 中某个项目的字段发生更改,则该更改将传播到数据库 B;如果一个新项目被插入到数据库 A 中,那么相同的项目将被插入到数据库 B 中。
(请注意,在这种情况下,删除不会传播,因为没有记录可以触发删除。)
Although there's lots of in depth information on the web about what a Slowly Changing Dimension is, here's a very common and simple use of it:
Let's say that you are trying to keep the contents of one table up to date with another table's contents. For example, if you have one database (database A) that contains an item master (eg. an ERP system), and you want to have another database (database B) have the same item master data. A slowly changing dimension will allow you to propogate changes from the item master Database A into Database B automatically. For example, if a an item's field changes in db A, then that change will get propogated to db B; if a new item is inserted into db A, then that same item will get inserted into db B.
(Note that, in this scenario, deletions don't get propagated, since there's no record to trigger the deletion.)