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 8570243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:30:51+00:00 2026-06-11T18:30:51+00:00

I want to convert data from old database to new database with new structure.

  • 0

I want to convert data from old database to new database with new structure.
in old database I have attachment table that must be convert to attachment table in new database.

old database attachment table structure is below:

Attachment (ID int, Image Image, ...)

and new database attachment table structure is below :

Attachment (ID int, Image Image, OldID Int, ...)

each time I execute convert package copy only not exists data (new data) from old database to new database.

I use below format for do it :

enter image description here

lookup between old table and new table (ID --> OldID) for check exists record.

When I run SSIS Packages; SSIS, first cache all lookups and source component data in memory then execute package. my source data in this package is very huge and when I run this package it will be run very slowly. I want to get Image column data from old database for each new record after lookup for check exists component. if I use new lookup component for get image column data from old database, SSIS cache this new lookup data and execution time of run this package not change. what must I do?

thanks in advance.

  • 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-06-11T18:30:52+00:00Added an answer on June 11, 2026 at 6:30 pm

    Are you sure you’re thinking this through correctly? SSIS should not be slow even if the amount of data you are loading is huge.

    Your LOOKUP component needs to make sure it’s not doing anything it doesn’t need to. If you are pointing it to the table in the new database, change it to a SQL Query at once. In this query you only need to SELECT OldId FROM tbl and point the incoming ID from old database to this. Your data flow should contain ID and Image from Old database, which is mapped ID -> OldIdand “Image -> Image` in your OLE DB Destination. No more is needed for “Insert new rows only” operation like you are doing here.

    For this job, there is no need for any custom code or dynamic SQL. You -do- want to get the ID and Image from your source system in the data flow (unless you have major network bottlenecks to sort out) – doing a RBAR lookup to get the image data from the old system is a very backwards way of thinking your ETL.

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

Sidebar

Related Questions

I have taken char data into database into array. now i want to convert
I want write an win-form application to convert data from foxpro table into sql
I have some existing code that retrieves data from a database using ADO.NET that
I have been working on asp.net 3.5.I want to Convert a DateTime Data from
I have an old mysql code which I want to convert into PHP data
I have a matrix A which I want to convert into a data.frame of
I have a data flow with a derived column. I want to convert the
I have a array of two dimensions object[,] data; . I want to convert
I have an SSIS exportation package that is used to export data from an
I have a table with data as given below: DATE Price ---------- ------ 31/12/2009

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.