Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
Working with Oracle
»
OraOLEDB.Oracle vs. MSDAORA, SQL 32 bit, 64...
OraOLEDB.Oracle vs. MSDAORA, SQL 32 bit, 64 bit
Rate Topic
Display Mode
Topic Options
Author
Message
scogeb
scogeb
Posted Tuesday, October 23, 2012 9:11 AM
Valued Member
Group: General Forum Members
Last Login: Today @ 2:18 PM
Points: 64,
Visits: 316
After upgrading to SQL 2008 R2 on a new 64 bit server, linked queries are running 3 to 4 times as long. On the old 32 bit SQL 2005 system using MSDAORA, the below query takes 7 seconds. On the new 64 bit SQL 2008 R2 system using OraOLEDB.Oracle, it takes 23 seconds.
All of the searches I've done and articles I've read so far, suggest that this slow down is normal. Considering I just upgraded everything and everything else on the server is 2 to 3 times faster, this bothers me. Does anyone here have a solution or idea on how to deal with this?
SELECT *
FROM OPENQUERY(TEST,'Select ku_id, TOT_DATE from SIIY where TOT_DATE > 12252012')
Post #1376126
Jo Pattyn
Jo Pattyn
Posted Tuesday, October 23, 2012 11:45 AM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 3:34 PM
Points: 1,331,
Visits: 4,310
What version of oracle oledb did you install?
Latest can be found here
Apparently there is a networksetting "TCP window scaling" that might be the culprit:
See Oracle support document Oledb and Odbc 64 Bit On Windows 2008 and Windows Vista Have Bad Performances [ID 1264980.1]
or
Intermittent Slow Oracle Net from Windows 7/Vista/2008 machines
Not a solution, but what time takes
Select ku_id, TOT_DATE from SIIY where TOT_DATE > 12252012 on the oracle side?
Is TOT_DATE a date or a number? If date I would expect where TOT_DATE > to_date('12252012','MMDDYYYY')
in openquery you have to double the '
*added version of oledb, networksetting TCP Windows Scaling
Post #1376188
scogeb
scogeb
Posted Tuesday, October 23, 2012 3:00 PM
Valued Member
Group: General Forum Members
Last Login: Today @ 2:18 PM
Points: 64,
Visits: 316
Thanks Jo, I have 11.2.0 installed. TOT_DATE is actually a number. Do you have a link to that Oracle support file? I don't have an account with them and even after I created one, I still can't find it or don't have access. It looks very relavant though.
Post #1376254
Jo Pattyn
Jo Pattyn
Posted Tuesday, October 23, 2012 3:08 PM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 3:34 PM
Points: 1,331,
Visits: 4,310
I can't copy or link the oracle support doc as you need an active account.
Check the blog above, it contains the command below
netsh interface tcp set global autotuninglevel=disabled
Other possible culprits: TCP chimney ofloading (see reference Server 2008 Slow Logon Network Access – TCP Offload & TCP Autotuning )
Post #1376259
PaulB-TheOneAndOnly
PaulB-TheOneAndOnly
Posted Wednesday, October 24, 2012 6:38 PM
SSCrazy
Group: General Forum Members
Last Login: Today @ 3:12 PM
Points: 2,988,
Visits: 4,409
scogeb (10/23/2012)
I don't have an account with them and even after I created one, I still can't find it or don't have access.
Account has to be with Metalink. Oracle's knowledge base and customer support system. If you have Oracle (legally) you have the right to have an account. Once you have your Metalink account just search for the ID Jo has listed.
_____________________________________
Pablo (Paul) Berzukov
Author of
Understanding Database Administration
available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Post #1376737
scogeb
scogeb
Posted Thursday, October 25, 2012 2:39 PM
Valued Member
Group: General Forum Members
Last Login: Today @ 2:18 PM
Points: 64,
Visits: 316
Thanks all. I did get the article. It looks like a reboot is required after setting the interface so I will have to wait and test during the next approved outage.
Post #1377295
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.