SSIS从多个表中加载数据 [英] SSIS Loading Data from Multiple Tables

查看:59
本文介绍了SSIS从多个表中加载数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用SQL Server 2008R2。我在数据库中有近30个表,现在我需要将这些表中的数据加载到数据仓库中。



问题是DFT(数据流任务)只允许一次只连接一个表。要与其他表连接,您需要另一个DFT。现在,要从30多个表中提取数据,我似乎需要创建30多个DFT。此外!批量任务仅适用于文件。



所以,我有两个问题:



1.如何从多个表加载数据。



2.如果我创建了30多个DFT,它对性能有什么影响。

I am using SQL Server 2008R2. I have almost 30+ tables in database and now I need to load data from these tables into Data Warehouse.

The problem is that DFT(Data Flow Task) only allow to connect with only one table at time. To connect with other table, you need to have another DFT. Now, to extract data from 30+ tables, It seems that I need to create 30+ DFTs. Moreover! Bulk task only works for files.

So, I have two questions here:

1. How to load data from multiple tables.

2. If I create 30+ DFTs, what impact it will have on Performance.

推荐答案

我相信你一次只能同步一个表。

因此你必须创建30+ DFT才能将整个db同步到你的dw

当您查看批量插入时,它可以一次插入多个记录而不是多个表格

因此性能将是正常的。
I believe you can synchronize only one table at a time .
so ull have to create 30+ DFT to synchronize entire db to ur dw
when you look into Bulk insertion it can insert multiple records at a time not multiple table
So the performance will be normal.


这篇关于SSIS从多个表中加载数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆