Ask the Expert

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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: