dbTalk Databases Forums  

replication / caching SQL Server data on Oracle

comp.databases.oracle.server comp.databases.oracle.server


Discuss replication / caching SQL Server data on Oracle in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Walt
 
Posts: n/a

Default replication / caching SQL Server data on Oracle - 12-05-2011 , 10:51 AM






Hi,

For performance reasons, we replicate a small subset of a remote
database on our Oracle instance (10.2 W2k3). Currently the remote
database is Oracle and the replication is happening smoothly (and has
for a decade or so).

We just found out that the remote data is being migrated to a SQL Server
database, so we'll need to find a different way to do the replication.

The current replication method is rather "stone-age" - once a day we run
a PL-SQL package that deletes the data, and then re-inserts from the
remote database via a database link. This has worked for over a decade
- it's a fairly small dataset, and a one-day latency is acceptable.

One option is to implement a database link to SQL Server and tweak the
PL-SQL so that the select clause will run on SQL Server. Suggestions for
other, better approaches cheerfully appreciated.

Thanks

//Walt

Reply With Quote
  #2  
Old   
mhoys
 
Posts: n/a

Default Re: replication / caching SQL Server data on Oracle - 12-05-2011 , 01:58 PM






On Dec 5, 5:51*pm, Walt <walt_ask... (AT) yahoo (DOT) com> wrote:
Quote:
Hi,

For performance reasons, we replicate a small subset of a remote
database on our Oracle instance (10.2 W2k3). *Currently the remote
database is Oracle and the replication is happening smoothly (and has
for a decade or so).

We just found out that the remote data is being migrated to a SQL Server
database, so we'll need to find a different way to do the replication.

The current replication method is rather "stone-age" - once a day we run
a PL-SQL package that deletes the data, and then re-inserts from the
remote database via a database link. *This has worked for over a decade
- it's a fairly small dataset, and a one-day latency is acceptable.

One option is to implement a database link to SQL Server and tweak the
PL-SQL so that the select clause will run on SQL Server. Suggestions for
other, better approaches cheerfully appreciated.

Thanks

//Walt
SQL Server used to have DTS (Data Transformation Services) - I'm not
sure it's still called this way. Using DTS it was fairly easy to
configure and schedule data transfer between SQL server and Oracle
tables using OLE DB. You only needed to install the Oracle Net client
software on the SQL Server box and define a Oracle Net alias, and then
use the DTS wizard to set up the data transfer.

HTH,
Matthias Hoys

Reply With Quote
  #3  
Old   
Walt
 
Posts: n/a

Default Re: replication / caching SQL Server data on Oracle - 12-06-2011 , 01:34 PM



On 12/5/2011 2:58 PM, mhoys wrote:
Quote:
On Dec 5, 5:51 pm, Walt <walt_ask... (AT) yahoo (DOT) com> wrote:
Hi,

For performance reasons, we replicate a small subset of a remote
database on our Oracle instance (10.2 W2k3). Currently the remote
database is Oracle and the replication is happening smoothly (and has
for a decade or so).

We just found out that the remote data is being migrated to a SQL Server
database, so we'll need to find a different way to do the replication.


SQL Server used to have DTS (Data Transformation Services) - I'm not
sure it's still called this way. Using DTS it was fairly easy to
configure and schedule data transfer between SQL server and Oracle
tables using OLE DB. You only needed to install the Oracle Net client
software on the SQL Server box and define a Oracle Net alias, and then
use the DTS wizard to set up the data transfer.
I guess I should have added that we don't "own" the SQL Server database
- we've been given an account and granted select privileges on certain
tables, but no more. Getting the admins of the SQL Server database to
install/configure anything is probably a non-starter. So, whatever
solution we implement needs to be at the Oracle end only (where we can
install & configure pretty much anything we want)

//Walt

Reply With Quote
  #4  
Old   
onedbguru
 
Posts: n/a

Default Re: replication / caching SQL Server data on Oracle - 12-06-2011 , 05:00 PM



On Dec 6, 2:34*pm, Walt <walt_ask... (AT) yahoo (DOT) com> wrote:
Quote:
On 12/5/2011 2:58 PM, mhoys wrote:









On Dec 5, 5:51 pm, Walt <walt_ask... (AT) yahoo (DOT) com> wrote:
Hi,

For performance reasons, we replicate a small subset of a remote
database on our Oracle instance (10.2 W2k3). *Currently the remote
database is Oracle and the replication is happening smoothly (and has
for a decade or so).

We just found out that the remote data is being migrated to a SQL Server
database, so we'll need to find a different way to do the replication.

SQL Server used to have DTS (Data Transformation Services) - I'm not
sure it's still called this way. Using DTS it was fairly easy to
configure and schedule data transfer between SQL server and Oracle
tables using OLE DB. You only needed to install the Oracle Net client
software on the SQL Server box and define a Oracle Net alias, and then
use the DTS wizard to set up the data transfer.

I guess I should have added that we don't "own" the SQL Server database
- we've been given an account and granted select privileges on certain
tables, but no more. *Getting the admins of the SQL Server database to
install/configure anything is probably a non-starter. *So, whatever
solution we implement needs to be at the Oracle end only (where we can
install & configure pretty much anything we want)

//Walt
As has been stated, I found that pushing to Oracle from SQLServer via
DTS to be a much more viable option, but, given your description, you
may need to use heterogeneous services. Here is a good place to
start: http://docs.oracle.com/cd/B19306_01/...232/gencon.htm

A quick google search will turn up some examples of how to configure
heterogeneous services to pull data from MSS.

Reply With Quote
  #5  
Old   
CarlosAL
 
Posts: n/a

Default Re: replication / caching SQL Server data on Oracle - 12-07-2011 , 02:14 AM



On Dec 7, 12:00*am, onedbguru <onedbg... (AT) yahoo (DOT) com> wrote:
Quote:
On Dec 6, 2:34*pm, Walt <walt_ask... (AT) yahoo (DOT) com> wrote:









On 12/5/2011 2:58 PM, mhoys wrote:

On Dec 5, 5:51 pm, Walt <walt_ask... (AT) yahoo (DOT) com> wrote:
Hi,

For performance reasons, we replicate a small subset of a remote
database on our Oracle instance (10.2 W2k3). *Currently the remote
database is Oracle and the replication is happening smoothly (and has
for a decade or so).

We just found out that the remote data is being migrated to a SQL Server
database, so we'll need to find a different way to do the replication.

SQL Server used to have DTS (Data Transformation Services) - I'm not
sure it's still called this way. Using DTS it was fairly easy to
configure and schedule data transfer between SQL server and Oracle
tables using OLE DB. You only needed to install the Oracle Net client
software on the SQL Server box and define a Oracle Net alias, and then
use the DTS wizard to set up the data transfer.

I guess I should have added that we don't "own" the SQL Server database
- we've been given an account and granted select privileges on certain
tables, but no more. *Getting the admins of the SQL Server database to
install/configure anything is probably a non-starter. *So, whatever
solution we implement needs to be at the Oracle end only (where we can
install & configure pretty much anything we want)

//Walt

As has been stated, I found that pushing to Oracle from SQLServer via
DTS to be a much more viable option, but, given your description, you
may need to use heterogeneous services. * Here is a good place to
start: *http://docs.oracle.com/cd/B19306_01/...232/gencon.htm

A quick google search will turn up some examples of how to configure
heterogeneous services to pull data from MSS.
If you take the Heterogeneous Services route you must keep in mind
that you will not be able to do INSERT...SELECT with a dblink, you
will have to do it row by row with a cursor.

HTH.

Cheers.

Carlos.

Reply With Quote
  #6  
Old   
CarlosAL
 
Posts: n/a

Default Re: replication / caching SQL Server data on Oracle - 12-07-2011 , 02:43 AM



On Dec 7, 9:14*am, CarlosAL <miotromailcar... (AT) netscape (DOT) net> wrote:
Quote:
On Dec 7, 12:00*am, onedbguru <onedbg... (AT) yahoo (DOT) com> wrote:









On Dec 6, 2:34*pm, Walt <walt_ask... (AT) yahoo (DOT) com> wrote:

On 12/5/2011 2:58 PM, mhoys wrote:

On Dec 5, 5:51 pm, Walt <walt_ask... (AT) yahoo (DOT) com> wrote:
Hi,

For performance reasons, we replicate a small subset of a remote
database on our Oracle instance (10.2 W2k3). *Currently the remote
database is Oracle and the replication is happening smoothly (and has
for a decade or so).

We just found out that the remote data is being migrated to a SQL Server
database, so we'll need to find a different way to do the replication.

SQL Server used to have DTS (Data Transformation Services) - I'm not
sure it's still called this way. Using DTS it was fairly easy to
configure and schedule data transfer between SQL server and Oracle
tables using OLE DB. You only needed to install the Oracle Net client
software on the SQL Server box and define a Oracle Net alias, and then
use the DTS wizard to set up the data transfer.

I guess I should have added that we don't "own" the SQL Server database
- we've been given an account and granted select privileges on certain
tables, but no more. *Getting the admins of the SQL Server databaseto
install/configure anything is probably a non-starter. *So, whatever
solution we implement needs to be at the Oracle end only (where we can
install & configure pretty much anything we want)

//Walt

As has been stated, I found that pushing to Oracle from SQLServer via
DTS to be a much more viable option, but, given your description, you
may need to use heterogeneous services. * Here is a good place to
start: *http://docs.oracle.com/cd/B19306_01/...232/gencon.htm

A quick google search will turn up some examples of how to configure
heterogeneous services to pull data from MSS.

If you take the Heterogeneous Services route you must keep in mind
that you will not be able to do INSERT...SELECT with a dblink, you
will have to do it row by row with a cursor.

HTH.

Cheers.

Carlos.
Oooops!

Sorry, I misread the question.

This was only if you want to insert into SQLServer from Oracle an not
vice-versa.

Cheers.

Carlos.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.