![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Give flag field at all Production tables - 0 : haven't transfered at all |
#2
| |||
| |||
|
|
My current project now is how to synchronize (data transfer) between Production Database & Reporting Database using DTS, but I have no idea how to do it and using which the best method. Need to know, that two database have different structure tables - of course - and have a thousand records inside, and our transaction working 24 hours, so that's imposible to delete all records at Reporting Database and replace with new data. The method that I've considered now is : Give flag field at all Production tables - 0 : haven't transfered at all - 1 : the record have been modified - 2 : have transfered to Reporting database So I only need delete all records at Reporting Services which match record at Production have flag 1, and then transfered all records that have flag 0 and 1. But the weakness of my method is how to synchronize for deleted records? Should I save the primary key of deleted records, or is there any other method? Please give me suggestion/comment for my method. Thanks |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I understand what you mean, but I've hundred records, so using that query, I think is still have slow performance. |
![]() |
| Thread Tools | |
| Display Modes | |
| |