473,394 Members | 1,774 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,394 software developers and data experts.

My query is too slow/freezes on first page.

53
Hi guys,

I'm attempting to run a query that I made and it is running way too slow. Everything seems to work fine until I add in a table (dbo_INIH) and a field from that table (TAKBY). The reaction I get when I add those fields is weird. Within 2 minutes the first page of the query will show, which is normal for my queries. I suppose Access decided that it will be easier to show the first page and then load the rest of the records, so at this point I would attempt to click the button that takes me to the last record. However, when the first page loads, it kind of freezes and when I move the mouse around the screen, the cursor doesn't change and when I try and click a button, it won't click because it is frozen. Again, this only happens when I add that field into the query (and the field is essential).

Any suggestions on how to speed this up?

Thanks in advance,

Raza
Mar 17 '08 #1
2 3030
cori25
83
This is occurring because there is so much data. It will go to the last record if you let it finish. If you have already pulled in your data based on specific criteria so that it will not pull in everything, then the only other option is to make it "Group By". This may speed things up a little.

Otherwise, it may be the table you are adding in(dbo_INIH). Instead of bringing this in directly, create another query and pull in this table (dbo_INIH) and all the fields, now select "Make table query" and run it.

Now, instead of bringing in the original table(dbo_INIH), bring in the table you created off of this. In some instances this speeds things up.

Let me know if this helps.

Thanks
Mar 17 '08 #2
RZ15
53
This is occurring because there is so much data. It will go to the last record if you let it finish. If you have already pulled in your data based on specific criteria so that it will not pull in everything, then the only other option is to make it "Group By". This may speed things up a little.

Otherwise, it may be the table you are adding in(dbo_INIH). Instead of bringing this in directly, create another query and pull in this table (dbo_INIH) and all the fields, now select "Make table query" and run it.

Now, instead of bringing in the original table(dbo_INIH), bring in the table you created off of this. In some instances this speeds things up.

Let me know if this helps.

Thanks

The Make table query worked beautifully, thank you very much.
Mar 17 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Tim Fountain | last post by:
We've recently enabled slow query logging on a server and it's proving interesting seeing which queries are bogging things down. This one is puzzling me a little: SELECT articleid, type,...
5
by: Jason | last post by:
The following stored procedure is taking too long (in my opinion). The problem seems to be the SUM line. When commented out the query takes a second or two. When included the response time climbs...
3
by: krystoffff | last post by:
Hi I would like to paginate the results of a query on several pages. So I use a query with a limit X offset Y to display X results on a page, ok. But for the first page, I need to run the...
10
by: John | last post by:
Hi When I open a new outlook email from vb.net, sometimes outlook is very slow to appear or occasionally outlook freezes completely. I am targeting mixed office2000/xp environments so I am...
0
by: Baiju | last post by:
Hello We have a web application which has a page to select value from three drop down lists. The first list box is populated when the page is loaded. The second one is loaded based on the...
8
by: Howard, Steven | last post by:
I have created a web app that stores and displays all the messages from my database maintenance jobs that run each night. The web app uses Java servlets and has PostgreSQL 7.0 as the back end. ...
4
by: leegold | last post by:
I use "core" styles from w3. But at the time of this email time W3 is down ie. i cannot connect via browser to w3.org and any web page the uses the core styles will freeze/hang. Is there a way...
3
by: Richard Hollenbeck | last post by:
I hope this isn't too confusing. The following query runs pretty fast by itself, but when I want to use it in a report (pasted below the query), it takes at least fifteen seconds to run! Then I...
2
by: existential.philosophy | last post by:
This is a new problem for me: I have some queries that open very slowly in design view. My benchmark query takes about 20 minutes to open in design view. That same query takes about 20 minutes...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.