Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6380395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:15:44+00:00 2026-05-25T02:15:44+00:00

I need to consolidate data from 30 databases and 20 tables. My first attempt

  • 0

I need to consolidate data from 30 databases and 20 tables. My first attempt was to create one data flow for each table. Each data flow would have 30 db sources which takes data from 1 table from each db and then inserts in 1 destination. This doesn’t work because there is no enough memory. I tried to filter data to ignore data that’s not going to be used – it didn’t help. These tasks should perform on daily basis. Whole Consolidation db is deleted and then new data is inserted, which means that huge amounts of data are inserted daily. Anyone has a suggestion of how to handle memory problem?

The only solution for now I see is to create 20 packages. Each package would have 30 data flows. Each data flow would take data from only one database. But then again, I don’t know what is the order of execution? Will data flows of one package start to execute at the same time or they go one by one?

EDIT:

This is how I did it… here’s screenshot of Control flow:
enter image description here

Screenshot of Data Flow:
http://img833.imageshack.us/img833/355/45908206.png

I created one package for one table from all databases. In this case, each dataflow takes 4-year old data from a table and imports to a source database. The problem is that I have one table in one database which has too much data and it returns error:

The buffer manager failed a memory allocation call for 10484608 bytes,
but was unable to swap out any buffers to relieve memory pressure. 20
buffers were considered and 20 were locked. Either not enough memory
is available to the pipeline because not enough are installed, other
processes were using it, or too many buffers are locked.

Any suggestions?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:15:45+00:00Added an answer on May 25, 2026 at 2:15 am

    Here is what I would suggest if you are planning to do this in SSIS.

    1. Let’s assume that you have tables A, B, C …, R, S, T in databases DB1, DB2 … DB30. And also your consolidation database in MainDB.

    2. Create an SSIS package that will contain 1 or more data flow tasks to transfer data from tables in database DB1 to tables in database MainDB. To do this, you can use a OLEDB Source to retrieve data from DB1. If you have to apply some transformations, you can do that with appropriate transformation tasks. To insert data into destination tables, you can use an OLE DB destination.

    3. Save the connection string in package configuration file (dtsConfig)

    4. Create 30 different configuration files each containing the connection string for the 30 databases that you have.

    5. You can create 30 SQL jobs under SQL Server Agent to schedule the daily run.

    6. Each of the SQL jobs will run the same SSIS package but make use of the corresponding configuration file to point to the correct database.

    Other options are:

    1. Using SQL Server Replication. You need a two step process. Truncate the data in MainDB using an SQL job and then sync the data between the databases.

    2. Use commercial products like Redgate or Idera

    Hope that gives you an idea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have cca 25 databases which I need to consolidate into 1 database. First
I need to consolidate 20 databases that have the same structure into 1 database.
I have extracted data to a data frame with mixed format dates that need
I have a set of tables with different data type for the columns and
I have a method where it need to make multiple service calls and consolidate
Alright, I have some data that I need to assign an int type identifier
I have a database full of recipes, one recipe per row. I need to
I have a simple Table of data (nickname, score) for a simple android game.
I have data coming from an nvarchar field of the SQL server database via
The client I am working with wants to consolidate user profile data into one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.