Link to home
Start Free TrialLog in
Avatar of ALSO_DB
ALSO_DB

asked on

SQL Server Linked Oracle Server

I have in my SQL environment a  linked Oracle Server.

If I run a query against my linked Oracle Server the query doesn't use the Oracle Indexes. So the duration of the query tooks very long. On the Oracle server direct the Query took only seconds.

How could I made the right setup?

Avatar of RiteshShah
RiteshShah
Flag of India image

no matter you are executing query from linked server or directly from oracle server, Index is going to be used I guess. Network may be culprit in your case.
Avatar of ALSO_DB
ALSO_DB

ASKER

the network isnt the culpirt!!!!!
Avatar of ALSO_DB

ASKER

I looked with the oracle analyser and saw that sql made a full table scan!
See if the attached webpage helps. Seems like there is a bug.
Please change the extension to .htm after you have downloaded the file.
P.

How-Improve-Linked-Server-Perfro.txt
Hi ALSO_DB,
how are you doing
try check the following in the Linked server setup for Oracle Provider for OLE DB
"Dynamic Parameters"
"Allow InProcess"
thanks
Avatar of ALSO_DB

ASKER

Dear mSharfi

"Dynamic Parameters" and "Allow InProcess" activated, but still slow like a snake...
ASKER CERTIFIED SOLUTION
Avatar of Mohed Sharfi
Mohed Sharfi
Flag of Sudan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial