Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1379
  • Last Modified:

dg4odbc vs dg4msql

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
futureDBA
Asked:
futureDBA
  • 2
1 Solution
 
Praveen Kumar ChandrashekatrDatabase Analysist Senior Commented:
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
 
futureDBAAuthor Commented:
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
 
slightwv (䄆 Netminder) Commented:
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
 
futureDBAAuthor Commented:
figured it out, thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now