Performance when a query references another querie

J

Jay Oken

I have a SQL query which references three other queries. The form that is
tied to the SQL query opens rather slow. Will I improve performance if I
change the SQL query to pull from the 3 data sources directly. (right now I
only have about 12 sample records in my DB)
 
S

Stefan Hoffmann

hi Jay,

Jay said:
I have a SQL query which references three other queries. The form that is
tied to the SQL query opens rather slow. Will I improve performance if I
change the SQL query to pull from the 3 data sources directly. (right now I
only have about 12 sample records in my DB)
Rather slow with twelve records normally indicates that there is
something weired going on.

Are your referenced tables are in a local stored .mdb or on a network
drive?
Do you use a split application (front-end/back-end .mdb)?
Do you use some user defined VBA functions in your queries?
Do you create Cartesian products (which means in your actual case
12x12x12=1728 records)?
Do you use indexed fields for your join conditions?
What do you mean exactly with "3 data sources" - local tables or linked
tables or anything else?


mfG
--> stefan <--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top