Slow query - How to speed up?
The table does have 945k records in it and is housed in a back end DB. I realize that is a lot of records, but this seems to be running abnormally slow.
Here is why I ask.I have a form that provides a search function which is based on this query. The query is not called upon until the user needs to search for an employee.
However, for some reason unknown to me the query runs every time the form is opened. I DO NOT have the query running at the open/load of the form. The only time the query is to run is when the user clicks on a search button.
Thank you for taking the time to report an issue.
What's wrong... Please write below.
When I query the data, particularly when I join two large tables, or even one small table with one large table, Access can take up to several minutes to process the query.
I don't understand why Access is so slow in processing the query when the tables are linked; I thought linking tables would reduce network traffic and speed database performance.
Could someone please provide suggestions for how I may be able to speed up the performance of my queries?
The database itself is only 1.56 MB in size (it’s only a test database as I’m in the early stages of development. But if the database is this slow not, I can only imagine when I start adding forms and reports).
that are related
(one by one). So I have floated between queries with slow speed.
For this result if have made 3 queries that are related.
1- First query for finding max rev of the list.(group and aggregate function)
2- Second query for finding max date that has been made with relating first query and list with joining (doc no, rev)
3- Third query for finding max transmittal , that has been made with relating second query and list .
So slow of third query that has my result is slow (some times around 17 second) , please help how I can make better query
What can I try to speed it up
When I execute the query, it takes less than a minute to run.
If I create a "make table query" with the same, I.e. I just want to store the results of the query in a permanent table, it takes forever (been running for 30 mins, looks like Access is frozen).
I've indexed most of the join fields to speed up the query.
I Have A Access Program Split
2 Pc's One With Fe And Back End
The Other Just Front End Link But The Speed Is Not Good On The Split.
Tried Mapping Still Slow
Multiple Windows 7 workstations are all slow and all Windows XP machines run the query quickly.
I even used JetShowPlan on both workstations to compare and the plans are identical. Two tables are involved with rushmore used on the first and a full scan on the second table of about 150,000 records.
Even in XP Mode on the Windows 7 machine the query still takes only about 10 seconds. Anyone have any ideas why Access/Jet on Windows 7 can be so slow?
The queries take around 2.5 minutes to open! This is too slow.
I have imported the tables into the DB and the same Queries run on imported (not linked) tables take around 5 seconds to open. So huge difference.
The Problem is that those Tables are in the other DB's for a reason and they need to stay there.
Is there anything I can do to improve speed of queries that are based on Linked Tables from other Databases?
it talks about setting the Subdatasheet Name property to [NONE].