Replicating 10,000 records daily to SQL Server

I want to replicate the data from Oracle8i to SQL Server 2000. My requirement is when a record is inserted/updated on the Oracle side, I need to transfer data immediatley to SQL Server 2000. One way is thought transperent gateway and triggers. But this approach will overload the table because the number of records on a daily basis in the table is more than 10,000. If I write a trigger, it will fire 10,000 times a day. Is there any workaround for this?

    Requires Free Membership to View

About the only thing I could think of is accummulating a few hundred (up to 1000) rows at a time and then doing a whole batch at once. But 10,000 records isn't really that much in the grand scheme of things, and you're likely to create more work for yourself by trying to workaround using the trigger than not. I'd stick with the trigger and watch performance. If you really see a problem, you can then try to determine something else (like doing batches).

For More Information


This was first published in August 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.