dbTalk Databases Forums  

Dev to prod switch with ORacle database...

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Dev to prod switch with ORacle database... in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jéjé
 
Posts: n/a

Default Dev to prod switch with ORacle database... - 03-15-2005 , 03:56 PM






Hi,

I have developped a lot of DTS packages on an SQL Server database.
1 of our client use Oracle instead-of SQL server for the same database (same
schema)

I want to use a linked server + views in an SQL Server database:

create view MyTable
as
select * from ORACLESERVER...MyTable

So my SQL Server database contain only views with the same names as the
Oracle table names.
This works.
So my DTS packages could use this "fucky" SQL Server database and I dont
have to change the SQL syntaxes.
But I want to know the performance impact and the known limitations using
complex queries (10 tables with sub-query joins, outer join etc...) .

1 of my queries could return more then 1 000 000 rows (1million)
Does it better to rewrite the query in an Oracle statement and change my DTS
package?

Thanks for your guides.

Jerome.



Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Dev to prod switch with ORacle database... - 03-17-2005 , 05:42 AM






If you really want to knwo then try it. In my experience, using joins, or
predicates though linked servers is just asking for trouble. I would
re-write and point the DataPump directly at Oracle. The SQL shouldn't be
that different to just grab some data.

--
Darren Green
http://www.sqldts.com
http://www.sqlis.com


"Jéjé" <willgart_A_ (AT) hotmail_A_ (DOT) com> wrote

Quote:
Hi,

I have developped a lot of DTS packages on an SQL Server database.
1 of our client use Oracle instead-of SQL server for the same database
(same
schema)

I want to use a linked server + views in an SQL Server database:

create view MyTable
as
select * from ORACLESERVER...MyTable

So my SQL Server database contain only views with the same names as the
Oracle table names.
This works.
So my DTS packages could use this "fucky" SQL Server database and I dont
have to change the SQL syntaxes.
But I want to know the performance impact and the known limitations using
complex queries (10 tables with sub-query joins, outer join etc...) .

1 of my queries could return more then 1 000 000 rows (1million)
Does it better to rewrite the query in an Oracle statement and change my
DTS
package?

Thanks for your guides.

Jerome.





Reply With Quote
  #3  
Old   
Jéjé
 
Posts: n/a

Default Re: Dev to prod switch with ORacle database... - 03-17-2005 , 07:32 AM



the syntax is somewhat so different this cause rewriting the SQL statement
is not a simple copy/paste, but the entire query must be rewritten.

but from my first tests, the performance is really different between linked
server and direct Oracle SQL, so... I'll convert my queries.


"Darren Green" <darren.green (AT) reply-to-newsgroup-sqldts (DOT) com> wrote

Quote:
If you really want to knwo then try it. In my experience, using joins, or
predicates though linked servers is just asking for trouble. I would
re-write and point the DataPump directly at Oracle. The SQL shouldn't be
that different to just grab some data.

--
Darren Green
http://www.sqldts.com
http://www.sqlis.com


"Jéjé" <willgart_A_ (AT) hotmail_A_ (DOT) com> wrote in message
news:%23o4mdnaKFHA.3864 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
Hi,

I have developped a lot of DTS packages on an SQL Server database.
1 of our client use Oracle instead-of SQL server for the same database
(same
schema)

I want to use a linked server + views in an SQL Server database:

create view MyTable
as
select * from ORACLESERVER...MyTable

So my SQL Server database contain only views with the same names as the
Oracle table names.
This works.
So my DTS packages could use this "fucky" SQL Server database and I dont
have to change the SQL syntaxes.
But I want to know the performance impact and the known limitations using
complex queries (10 tables with sub-query joins, outer join etc...) .

1 of my queries could return more then 1 000 000 rows (1million)
Does it better to rewrite the query in an Oracle statement and change my
DTS
package?

Thanks for your guides.

Jerome.







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.