Morpheus7
asked on
Track data changes in SQL Server 2005 for incemental load into a Data warehouse.
Hi,
I am currently developing a data warehouse. Unfortunately some of the source data is located on SQL server 2005 instances. For the smaller tables I am using the lookup and conditional split tasks in SSIS. Larger tables have in excess of 10 million rows, so this process is not suitable. Is there a way I can track changes in 2005 so as to only upload the new and updated records.
Any guidance would be appreciated. Thanks.
I am currently developing a data warehouse. Unfortunately some of the source data is located on SQL server 2005 instances. For the smaller tables I am using the lookup and conditional split tasks in SSIS. Larger tables have in excess of 10 million rows, so this process is not suitable. Is there a way I can track changes in 2005 so as to only upload the new and updated records.
Any guidance would be appreciated. Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
Thank you for the replies. I think it will have to be option 1. The warehouse and staging dbs are on SQL Server 2016, but some of the source databases are on SQL Server 2005. So the CDC and Change Tracking options are not available. Any further help would be appreciated.
Thanks
Thank you for the replies. I think it will have to be option 1. The warehouse and staging dbs are on SQL Server 2016, but some of the source databases are on SQL Server 2005. So the CDC and Change Tracking options are not available. Any further help would be appreciated.
Thanks
So are you willing to add a new column called ETLLoadDateTime in all your tables? You need an alter statement?
ASKER
Hi,
Yes, no problem. It seems that my options are limited with 2005.
Thanks
Yes, no problem. It seems that my options are limited with 2005.
Thanks
ASKER
Hi,
Any guidance on how to implement this would be greatly appreciated.
Many thanks
Any guidance on how to implement this would be greatly appreciated.
Many thanks
ASKER
Hi, how would the updates to existing records be detected as opposed to inserts?
Thanks
Thanks
How many tables do you have in MSSQL 2005 that need to be imported into the DW?
Does some of them with a date column? If so, can you relate the others that doesn't have a date with the ones that have it?
Don't forget that creating a timestamp column will make you need to update the tables and depending on the size of the tables you may create locks for a long period of time, so you need to perform this when the database is not being used.
Does some of them with a date column? If so, can you relate the others that doesn't have a date with the ones that have it?
Don't forget that creating a timestamp column will make you need to update the tables and depending on the size of the tables you may create locks for a long period of time, so you need to perform this when the database is not being used.
The only issue might be if the instance restarts. I'm not sure how SQL handles that with regard to timestamp value.