Query Sql Server faster than Oracle [message #577841] |
Thu, 21 February 2013 02:49 |
|
ltubio
Messages: 1 Registered: February 2013
|
Junior Member |
|
|
Hi all, thanks for your time I comment my problem I have a query optimized as to it indexes and others runs immediately when the answer is few records in SQL Server such as Oracle, however when the result is large eg 20,000 records all data access times are very diferent. The query returns many fields (about 20) and some of them are of type Varchar 250 and some of 2000 I understand here may be the problem, but not is because for similar results (20,000 records) sql run in 2 seconds and Oracle but it responds little to have full data takes around 30 seconds. The problem is really in bringing information to all these fields since if the inquiry it also but only returning a numeric field is done in 2 seconds. Tests I've done them both through ODBC, in the Toad as in the own Oracle console on the server, so it is not problem Driver or flow of data through the network, I would like to think that this is some of the settings I think there is as much difference between Oracle and Sql. Do me can you help? PD. The databases are ORACLE 10 and SQL Server 2008
|
|
|
|