Solved

dg4odbc vs dg4msql

Posted on 2012-12-24
4
1,207 Views
Last Modified: 2013-01-08
I was using a direct database link to an mssql using dg4odbc..

because of performance issues i started looking for alternatives and installed transparent gateway with dg4msql

performance is unchanged. there is no difference in querying time

eg

select * from rmordp@"dblink" where ORDITMNUM = 89129 and ordordqty = 48 and ordseqnum = 24 and ordprcgrp = 8242;

takes 9.351 seconds over the database link.

if i run that same query from the mssql server, it takes less than half a second..


can someone tell me what I am doing wrong or how i should go about getting remote data via oracle in a timely fashion?
0
Comment
Question by:futureDBA
  • 2
4 Comments
 
LVL 12

Expert Comment

by:praveencpk
ID: 38718910
when you are querying remotely it also depends on the network bandwidth which you have to communicate between the servers.

please check what is your bandwidth.
0
 

Author Comment

by:futureDBA
ID: 38718928
its not a bandwidth issue, when i use TOAD for SQL Server to query the sql server directly (without having oracle as a middle man)

my execution times are pretty fast, i am doing this from the same machine that I have sql developer on
0
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 38721954
I'm not a Toad user but I've seen posts that Toad buffers data.  How are you timing the Toad runs?  If it is from the first data you see, that could be the issue.  You are seeing the first few rows brought back not all of them.
0
 

Author Closing Comment

by:futureDBA
ID: 38755330
figured it out, thanks
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now