BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bad performance to insert using DataSetProvider

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier)
View previous topic :: View next topic  
Author Message
mqe@tj.pr.gov.br
Guest





PostPosted: Mon May 16, 2005 3:45 pm    Post subject: Bad performance to insert using DataSetProvider Reply with quote



Hi for all.
I'm using delphi7 interprise, ClientDataSet/DataSetProvider,
TADOQuery, ODBC and Database Intersystems Caché.

I'm with a bad performance using inserts.

I did a test using only TADOQuery (without TDataSetProvider), and it's
10 times more fast.

The delay is in:

function TADOCommand.Execute(var RecordsAffected: Integer;
const Parameters: OleVariant): _Recordset;

using only TADOQuery - ~15ms (time)
using TDatasetProvider - ~170ms (time)


I saw the ODBC Log, and using TDataSetProvider, the ADO request to the
Database all datatypes in each insert.

Can anyone help me?

Sorry for my bad english.

Thanks for all.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Multi-Tier) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.