Speed problem with mssql 2000 and ado
From: Sascha Schroeder (sascha.schroeder_at_e-pro.de)
Date: 03/26/04
- Next message: Terry: "Re: row cannot be located"
- Previous message: Richard: "Re: Server Cursor with Joined Tables"
- Next in thread: Vitali Kalinin: "Re: Speed problem with mssql 2000 and ado"
- Reply: Vitali Kalinin: "Re: Speed problem with mssql 2000 and ado"
- Reply: Arnie Mauer: "Re: Speed problem with mssql 2000 and ado"
- Reply: Brian Bushay TeamB: "Re: Speed problem with mssql 2000 and ado"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Mar 2004 15:23:44 +0100
We are evaluating ado with delphi 7. Our application uses the bde to connect
to
mssql and oracle. Now we are using nvarchar and ntext in our mssql database
to
store unicode data. if we connect to this database with ado and select some
data we receive
the data very slow. we have a select
SELECT FIELD1, FIELD2 FROM TABLE1 WHERE ID = :Id)
FIELD1 = nvarchar(255)
FIELD2 = ntext
Id = integer
which is executed one thousand times in a loop. The complete loop takes
about 70 seconds!!!
with bde it takes 7 seconds. if we connect to a database without nvarchar it
takes about 12
seconds with the bde.
What can we do to increase the performance with ado?
With Oracle we have no speed problems.
Thank you very much for your help,
Sascha
- Next message: Terry: "Re: row cannot be located"
- Previous message: Richard: "Re: Server Cursor with Joined Tables"
- Next in thread: Vitali Kalinin: "Re: Speed problem with mssql 2000 and ado"
- Reply: Vitali Kalinin: "Re: Speed problem with mssql 2000 and ado"
- Reply: Arnie Mauer: "Re: Speed problem with mssql 2000 and ado"
- Reply: Brian Bushay TeamB: "Re: Speed problem with mssql 2000 and ado"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|