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 > Foxpro MyODBC and MYSQL Performance Issue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-30-04, 09:54
James A R Brown James A R Brown is offline
Registered User
 
Join Date: Jun 2004
Posts: 3
Foxpro MyODBC and MYSQL Performance Issue

We recently decided to take our dated Foxpro 3 system and restructure.

Started with MYSQL 4 on a W2k3 server and uploaded a table with 30000 records.

Using MySQL-Front we can issue
"select * from parts" which returns a all records in about 3 seconds. Quite acceptable for 30k records.

Using Foxpro 5 or even 9 and MyODBC with an SQL pass through
conn=sqlconnect("Genesys SQL","user","pass")
=sqlexec(conn,"select * from parts","tempcursor")

it takes over a minute to create tempcursor. There is no logging/tracing active. You can actually see Foxpro slowly grabing records in batches of 100.

Anyone have any ideas why we are experiencing such bad performance with this setup?

Thanks
Reply With Quote
  #2 (permalink)  
Old 07-02-04, 12:22
James A R Brown James A R Brown is offline
Registered User
 
Join Date: Jun 2004
Posts: 3
Found Solution

On further study we found when performing a select command from Foxpro the CPU useage hit 100% and stayed there.

Ironically the solution was to DE-install XP service Pack 1. There is a patch (we don't know what) within XP SP1 that is creating this problem.

Any ideas are greatly welcomed.
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