Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

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, 20: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, 22:43
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 13,556
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

pre-order my book Simply SQL from Amazon
Reply With Quote
  #3 (permalink)  
Old 10-21-07, 04: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

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