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 > MySQL and MS Access integration and performance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-20-07, 19:54
paulspratley paulspratley is offline
Registered User
 
Join Date: Oct 2007
Posts: 4
MySQL and MS Access integration and performance

Hi,

Perhaps I trying to shoot a dead horse, but I would like to see if there is any advice on getting better performance from my application.

At the moment, the data resides in an MySQL 5.0 database and I use MS Access to provide a User interface (complex VBA etc). However, the performance is far worse then if the data resides within the MS Access application.

Can anyone suggest techniques of improving the performance between the two databases?

I simply use an ODBC driver - via Access to connect the two databases using linked tables.

Also I get an error "[MySQL][ODBC 3.51 Driver][mysqld-5.0.45-community-nt] you have an error in your SQL syntax......" when trying to run a query. The query using specific MS Access SQL - "where exists in (Select....... ) = false" is this the problem?

thanks for the help

Paul
Reply With Quote
  #2 (permalink)  
Old 10-20-07, 21:43
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,534
Quote:
Originally Posted by paulspratley
The query using specific MS Access SQL - "where exists in (Select....... ) = false" is this the problem?
yes it is

that syntax is invalid in both databases

the correct syntax is
Code:
where not exists (Select....... )
performance depends on indexes -- have you defined the proper indexes in mysql?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 10-21-07, 03:45
paulspratley paulspratley is offline
Registered User
 
Join Date: Oct 2007
Posts: 4
Thanks

Doh! - yes it would help if I set indexes on the MySQL!!!

Cheers

Paul
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