473,395 Members | 1,863 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.

Better multitasking when running queries?

Access tends to take over my machine when I run long queries. The
queries in question are Append queries.

Some of the jobs we're talking about run 45 minutes to an hour...so
the loss in productivity is significant.

When I pop TaskManager, it looks like it's only running 10-20%
capacity - so I'm guessing the horsepower is there but other apps just
aren't getting their shots at the CPU.

Any suggestions for remedying the situation besides
Start|Settings|Control Panel|System|Advanced|Performance
Options|Optimize performance for Applications?
Nov 12 '05 #1
5 3197
On 15 Apr 2004 05:00:59 -0700, Go**********@FatBelly.com
(PeteCresswell) wrote:

After all these years, multitasking in Windows is still a joke. Not
much you can do about that. You can optimize the app, but you likely
already did that. Still it would perhaps help to show your
implementation to another strong Access developer and discuss
alternatives. You can shell out $1000 and buy a new computer just to
run these queries on. You'll easily gain it back in increased
productivity.

-Tom.

Access tends to take over my machine when I run long queries. The
queries in question are Append queries.

Some of the jobs we're talking about run 45 minutes to an hour...so
the loss in productivity is significant.

When I pop TaskManager, it looks like it's only running 10-20%
capacity - so I'm guessing the horsepower is there but other apps just
aren't getting their shots at the CPU.

Any suggestions for remedying the situation besides
Start|Settings|Control Panel|System|Advanced|Performance
Options|Optimize performance for Applications?


Nov 12 '05 #2
Go**********@FatBelly.com (PeteCresswell) wrote in message news:<74**************************@posting.google. com>...
Access tends to take over my machine when I run long queries. The
queries in question are Append queries.


Are these Jet SQL? You might try doing the process in code. While it
may seem counter-intuitive, I've found situations where a code (DAO)
solution actually runs faster than a SQL one. Pretty rare but depends
on the query and the attributes of the box it runs on and your
environment.
Nov 12 '05 #3
Go**********@FatBelly.com (PeteCresswell) wrote in message news:<74**************************@posting.google. com>...
Access tends to take over my machine when I run long queries. The
queries in question are Append queries.

Some of the jobs we're talking about run 45 minutes to an hour...so
the loss in productivity is significant.

When I pop TaskManager, it looks like it's only running 10-20%
capacity - so I'm guessing the horsepower is there but other apps just
aren't getting their shots at the CPU.

Any suggestions for remedying the situation besides
Start|Settings|Control Panel|System|Advanced|Performance
Options|Optimize performance for Applications?


Re-write the query using VBA code where you have a little more control
over the processer. The append process may be slower (or maybe not). A
little experimentation is required....
Nov 12 '05 #4
mi****@execpc.com (almish) wrote in message news:<95**************************@posting.google. com>...
Go**********@FatBelly.com (PeteCresswell) wrote in message news:<74**************************@posting.google. com>...
Access tends to take over my machine when I run long queries. The
queries in question are Append queries.

Some of the jobs we're talking about run 45 minutes to an hour...so
the loss in productivity is significant.

When I pop TaskManager, it looks like it's only running 10-20%
capacity - so I'm guessing the horsepower is there but other apps just
aren't getting their shots at the CPU.

Any suggestions for remedying the situation besides
Start|Settings|Control Panel|System|Advanced|Performance
Options|Optimize performance for Applications?


Re-write the query using VBA code where you have a little more control
over the processer. The append process may be slower (or maybe not). A
little experimentation is required....


Although I'm no expert, I strongly agree with this suggestion. I had a similar
situation with a SQL statement that tried to do too much. The query took 45
minutes to run. I changed the form so that it wrote basic information to a
temporary table instead. The code behind the form handled the logic that
required IIF statements in SQL. Then I changed the report to use the temporary
table as a Record Source. The new implementation took 45 seconds to run so no
new computers were needed :-). I wasn't running an append query, but you
can probably expect a significant speed increase by using VBA.

Pete, who seems to be quite proficient in VBA, should look into changing the
design of any query that takes 45 minutes. I remember when using Access 2.0
(has it been 10 years already?) I used to redesign any query that took longer than
two seconds to run.

James A. Fortune
Nov 12 '05 #5
mi****@execpc.com (almish) wrote in message news:<95**************************@posting.google. com>...
Go**********@FatBelly.com (PeteCresswell) wrote in message news:<74**************************@posting.google. com>...
Access tends to take over my machine when I run long queries. The
queries in question are Append queries.

Some of the jobs we're talking about run 45 minutes to an hour...so
the loss in productivity is significant.

When I pop TaskManager, it looks like it's only running 10-20%
capacity - so I'm guessing the horsepower is there but other apps just
aren't getting their shots at the CPU.

Any suggestions for remedying the situation besides
Start|Settings|Control Panel|System|Advanced|Performance
Options|Optimize performance for Applications?


Re-write the query using VBA code where you have a little more control
over the processer. The append process may be slower (or maybe not). A
little experimentation is required....


Although I'm no expert, I strongly agree with this suggestion. I had a similar
situation with a SQL statement that tried to do too much. The query took 45
minutes to run. I changed the form so that it wrote basic information to a
temporary table instead. The code behind the form handled the logic that
required IIF statements in SQL. Then I changed the report to use the temporary
table as a Record Source. The new implementation took 45 seconds to run so no
new computers were needed :-). I wasn't running an append query, but you
can probably expect a significant speed increase by using VBA.

Pete, who seems to be quite proficient in VBA, should look into changing the
design of any query that takes 45 minutes. I remember when using Access 2.0
(has it been 10 years already?) I used to redesign any query that took longer than
two seconds to run.

James A. Fortune
Nov 12 '05 #6

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

Similar topics

0
by: Plymouth Acclaim | last post by:
Hi guys, We have a problem with Dual AMD64 Opteron/MySQL 4.0.18/Mandrake 10 for a very high volume site. We are evaluating the performance on our new server AMD64 and it seems it's slow compared...
3
by: NeilAnderson | last post by:
I'm a fairly new user of access & I've never had any training, so I'm wondering if I'm doing the right thing here, or if it matter at all. I'm building a database for room booking purposes and I'm...
4
by: PeteCresswell | last post by:
Access tends to take over my machine when I run long queries. The queries in question are Append queries. Some of the jobs we're talking about run 45 minutes to an hour...so the loss in...
10
by: Willem | last post by:
Looking for some opinions on alternatives to programming with Access. I find that quite often I need to loop through my recordsets (first to last) performing calculations and was wondering if...
4
by: deko | last post by:
I'm a little nervous about slamming my database with a dozen Update queries in a loop that all modify RecordSources of open forms. Will the use of DoEvents and/or a Sleep function ameliorate any...
15
by: Wilfried Mestdagh | last post by:
Hi, After various question (here and on other places) it seems prremtive multitasking is the way to go with .NET. But wat about coorporative multitasking ? While this was so powerfull and easy...
10
by: Bob | last post by:
Okay, I've done this for years but now I'm going to question it just because this idea has been at the back of my head since I started using DotNet... My WinForms app queries a database every 60...
6
by: Mat N | last post by:
Hello access friends, (Originally posted on access.formsprogramming which I think was the wrong place) I'm precalculating a bunch of data for my clients as per a profile I have for each of...
11
Niheel
by: Niheel | last post by:
http://bytes.com/images/howtos/information_overloaded.jpgPaul Graham wrote an interesting article a few months back about how the internet is leading to information overload for information workers...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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.