If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > ADO + MySQL: performance problem opening a table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-25-05, 03:53
caradepedra caradepedra is offline
Registered User
 
Join Date: Sep 2004
Posts: 3
ADO + MySQL: performance problem opening a table

Hi,
first the test environment: WinXP-Client (myODBC 2.50.39.0, ADO 2.81.1117.0), MySQL-Database on server (quite small, 130000 entries, 25MB), VC++.
The problem: I'm opening a table like this
"Recset->Open(tablename,Connection,adOpenStatic,adLockOpti mistic,adCmdTableDirect);" with a client side cursor.
The performance of this command is normal when I'm connecting to a MS-SQL oder Oracle database via ADO or to MySQL/MS-SQL/Oracle via BDE (with a BDE function of course). The one combination that makes trouble is MySQL via ADO. I'm loosing about 10 seconds. I have the impression that the real length of each data field is counted.
Changing the cursortype, locktype and option has no effect.

Any idea???
bye and thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On