简体   繁体   English

按维度或事实表创建包的原因

[英]Reason for creating a package per dimension or fact table

I have subscribed to plural sight as recommended by a user from stack flow. 我已经从堆栈流中订购了用户推荐的复数形式。 On the SSIS training the trainer mentioned to create a package per dimensional/fact table. 在SSIS培训中,培训师提到要为每个维度/事实表创建一个包。 But didn't give any reason as to why. 但是没有给出任何原因。 In my simple little mind, it just seems to make sense to do as much possibly in one package rather than have a package per table or fact. 用我简单的小脑子,在一个包中尽可能多地执行而不是在每个表或事实中都包含一个包似乎很有意义。 What is the reason behind that if anyone care to enlighten me please :) 如果有人在乎请教我,背后的原因是什么:)

One reason is that it gives you more granular control. 原因之一是它为您提供了更精细的控制。 If you have a scenario one day where you only want to update one table without updating all of them, you have that ability. 如果有一天有一种情况,您只想更新一个表而不更新所有表,那么您就具有了这种能力。

If you also want the ability to do all your tables in one package, you can always create a parent package that calls all of the child packages and execute that. 如果还希望能够在一个包中处理所有表,则可以始终创建一个父包,该父包调用所有子包并执行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM