473,395 Members | 1,468 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Query runs much faster in MS Access via ODBC?!!

Ben
I have a query that takes over a minute to run with the mysql client. The
same query takes seconds in MS Access via ODBC.

I have no clue what is going on. Can someone kindly shed some light on
this.

I am using:
mysql Ver 12.18 Distrib 4.0.12, for Win95/Win98 (i32)
mysqld-nt Ver 4.0.12-nt for NT on i32

Thanks.
Jul 19 '05 #1
2 2178

Hi, Ben:

We'll need more information otherwise it's impossible to tell.

What is your table structure? What are the indexes and primary keys?

Are you sure your structures are exactly the same in MS Access as they
are in MySql?

Are both tables loaded with about the same amount of data?

Finally, what is the SQL statement you are running (post both versions
if not identical under both DBs)?

-John
Ben wrote:
I have a query that takes over a minute to run with the mysql client. The
same query takes seconds in MS Access via ODBC.

I have no clue what is going on. Can someone kindly shed some light on
this.

I am using:
mysql Ver 12.18 Distrib 4.0.12, for Win95/Win98 (i32)
mysqld-nt Ver 4.0.12-nt for NT on i32

Thanks.

Jul 19 '05 #2

Hi, Ben:

We'll need more information otherwise it's impossible to tell.

What is your table structure? What are the indexes and primary keys?

Are you sure your structures are exactly the same in MS Access as they
are in MySql?

Are both tables loaded with about the same amount of data?

Finally, what is the SQL statement you are running (post both versions
if not identical under both DBs)?

-John
Ben wrote:
I have a query that takes over a minute to run with the mysql client. The
same query takes seconds in MS Access via ODBC.

I have no clue what is going on. Can someone kindly shed some light on
this.

I am using:
mysql Ver 12.18 Distrib 4.0.12, for Win95/Win98 (i32)
mysqld-nt Ver 4.0.12-nt for NT on i32

Thanks.

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Steve | last post by:
I normally use MySQL with PHP, but I'm delving into connecting to Access with ODBC (for a database that I already have set up at work), and I'm running into a couple of errors. I'm just trying to...
3
by: Paradigm | last post by:
I am using Access 2K as a front end to a MYSQL database. I am trying to run a Union query on the MYSQL database. The query is (much simplified) SELECT as ID from faxdata UNION SELECT as ID ...
4
by: MLH | last post by:
I apologize in advance to forum readers noticing this somewhat redundant post. I fear that my Subject Heading was ill-chosen in earlier post I made on this topic. Am hoping that a clearer Subject...
2
by: Mattyboy | last post by:
Guys I have built a database with saved queries that runs fine in Access but when I call it from the web using ASP, an exception occurs. I have tried multiple ways of testing the databases with...
3
by: Mike Ridley | last post by:
I am running Access 97 on a Windows XP system. I run a query on an ODBC connected file that selects records for a particular date. I can hard code the selection criteria eg #25/03/2004# or get it...
2
by: jmarr02s | last post by:
I am creating a Pass Through Query. Here is my code: SELECT MDSDBA_CINTAKE.RECVDATE, MDSDBA_CINTAKE.CMPSRC, Count(MDSDBA_CINTAKE.CMPSRC) AS CountOfCMPSRC FROM MDSDBA_CINTAKE WHERE...
5
by: jonceramic | last post by:
Hi All, I started developing in Access, and people took notice and so we're starting to migrate into our corporate's bigger Oracle system. I'll still be using my developed Access front ends,...
11
by: funky | last post by:
hello, I've got a big problem ad i'm not able to resolve it. We have a server running oracle 10g version 10.1.0. We usually use access as front end and connect database tables for data extraction....
6
by: Nano | last post by:
I have created ASP file from MS Access. It has the following Code. But it gives an error at: rs.Open sql, conn, 3, 3 The Error is: Error Type: Microsoft OLE DB Provider for ODBC Drivers...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.