Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

locally processing large queries...can't alt-tab

Status
Not open for further replies.

HarryStamper

Programmer
Jul 24, 2006
15
US
I often link to DB2 tables via ODBC... sometimes the tables are large and the queries can be slow.
I understand that the query is being processed locally and all that...many times I can't even alt-tab to do something else. I don't care if the query takes some time to process, its sitting there idle waiting for it to continue.
I am adding 1 MB RAM ...hopefully that will work.
 


I see four statements.

Is there a question lurking in there, somewhere???

Skip,

[glasses] [red][/red]
[tongue]
 
I am adding [!]1 MB[/!] RAM ...hopefully that will work
Not sure ... ;-)
 
Question 1...Is that behavior normal, where I cant even alt tab...
Q2..Will 1 more MB help?
 


I dont' believe that the major issue is necessarily ODBC, or the amount of memory you have on your client.

If you are running a client-side database application, all the data is coming across the "wire" to your PC, BEFORE any criteria are applied, I do believe.

A server-side DB application would do the work on the remote server.

Skip,

[glasses] [red][/red]
[tongue]
 
Problem is I work for a department...we have a large IT dept but they can't and don't have the resources to give the business area the info they need...so they bring in a programmer (me) and we use access via ODBC...which works very well...most of the time.
 
Just out of curiosity ... how do you add just 1 MB of RAM? Doesn't it come in increments of something like 256 MB? Did you mean 1 GB?

A dual-core processor may help. Windows can take advantage of that architecture to run other applications on one side of the processor while the other side is maxed out running your query.
 
oops...yes I meant 1 GB. I try to use pass-thru queries when I can, but when the Managing director needs results for a meeting in 1 hour, i don;t have time to fiddle around writing native language SQL...I simply use the Access Query tool and away we go....
The frustrating part, is when something is processing, I can't open another access session, and if i realize something in the query is wrong, if I press ctrl-break, I get the hour glass cursor for what seems like an eternity.
I wish I can find someone out there with a dual core that does large queries locally.

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top