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

Help with parallel processing

I'm running Access 2003, and I've got a CPU intensive application that takes hours (or more) to run. Fortunately, I can logically split up the task so it can run in smaller pieces independently.

I've got a dual core (4 CPU) processor, and if I copy my application manually, I can run up to four of these copies in parallel using 100% of my CPU's capacity. On the coolness scale, this rates as "very cool".

I'd like to take this to the next level, and that's where I need some guidance. In short, is it possible for me to use Access to open and run different instances of the same Access application at the same time? And if so, would they run on different threads so my OS can assign them to different processors? And how might I go about this?

Cheers,

R.
May 30 '08 #1
4 4096
PianoMan64
374 Expert 256MB
I've got a CPU intensive application that takes hours (or more) to run. Fortunately, I can logically split up the task so it can run in smaller pieces independently.

I've got a dual core (4 CPU) processor, and if I copy my application manually, I can run up to four of these copies in parallel using 100% of my CPU's capacity. On the coolness scale, this rates as "very cool".

I'd like to take this to the next level, and that's where I need some guidance. In short, is it possible for me to use Access to open and run different instances of the same Access application at the same time? And if so, would they run on different threads so my OS can assign them to different processors? And how might I go about this?

Cheers,

R.
RKlawton,

My first question to you is, is the backend of the application an MS Access tables? or is it on another backend like MS SQL or Oracle?

If the answer is that it's on a MS Access Backend, it is very possible, but also very dangerous to do. You run an extremly high risk of data curruption, and even database damage when you start to overload the Process of the one machine that has the Backend database.

If you are currently just moving part of the data to each instance and then running it separatly, then you'll have to create a way that you can combine the data again without loosing referencial integerety between all the data tables. That's a tall order to say the least, but it is very possible.

Let me know how you have yourself setup currently and how you want to take it to the next level.

Thanks,

Joe P.
May 30 '08 #2
Hi Joe,

Yes, the backend is Access. I'm not sure what you mean by overloading. When I run one instance, one of the processors maxes out. When I run two instances (at present, I create a copy of my database and run both copies), then two processors max out. Since I have four processors, I would probably stop at three so that I have one processor free to run other applications like e-mail, web browsing, etc.. I've tried it with four instances with good results, too, but this effectively left me without a computer for the duration. Though I admit it was fun to see my CPU screaming at 100%.

All this processing merely creates new records in a new table. Therefore, combining the results from each instance should be as simple as merging these new records.

Thoughts?

R.
May 30 '08 #3
Running X instances of your FE on separate processors on a single machine, is the same as running X instances of your FE on X other machines.
In my company, we have one BE and about 9 users that use the same FE(for security reasons) on their machine. This is not a problem for Access 97 and not for Access 2007.
So it shouldn't make a difference.

Let me know if you have split a single process on a single FE onto more processors. Then you might run into difficulties. Because Access wasn't build for this purpose.

HTH:D
Jun 1 '08 #4
I'm wondering if it might work out simply by creating new workspaces via VBA and opening a different instance of the same application in each workspace. That is, would the OS think of this as a single thread or a separate thread per workspace? If so, then I might be in luck. Anyone with any experience using multiple workspaces in this way?
Jun 4 '08 #5

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

Similar topics

0
by: charles hamm | last post by:
Okay, I'm trying to synchronize two threads using CEvent and CMultilock. What I need to achieve here is that they can execute in parallel until they reach a succession of "barriers" (borrowing a...
4
by: Mark D Powell | last post by:
SQL Server 2000 SP3A Last week one of our processes starting issuing or suffering deadlock detected errors every 15 minutes or so. I have read several articles at MS on the subject. I set a...
14
by: Dave Booker | last post by:
I'm doing some analysis that is readily broken up into many independent pieces, on a multicore machine. I thought it would be best to just queue like 1000 of these pieces in the ThreadPool, and...
4
by: sesling | last post by:
I currently use an SQL command line that utilizes parallel threads. ex. select /*+ PARALLEL (ACCOUNT 20) */ Account_ID, Customer_Name, Add_Date from Customer_Info. By running this query using...
43
by: parallelpython | last post by:
Has anybody tried to run parallel python applications? It appears that if your application is computation-bound using 'thread' or 'threading' modules will not get you any speedup. That is because...
5
by: George Sakkis | last post by:
I'm looking for any existing packages or ideas on how to implement the equivalent of a generator (in the Python sense, i.e. http://www.python.org/dev/peps/pep-0255/) in a parallel/distributed way....
1
by: ssndk123 | last post by:
Hi, Using the UserPort program that changes permissions in XP so that I am able to write directly to the parallel port using assembler.. I'm trying to send out square wave pulses for x number...
26
by: Prime Mover | last post by:
Hello all, I have got the pseudo-code below that I would like to convert to c language. The algorithm calculates Pi value. I am somewhat familiar with C language, but I am just starting to learn...
3
by: John | last post by:
I have a program that needs to run on a regular basis that looks at a queue table in my database. If there are items in the queue database I need to grab the data from the database and pass it to...
3
by: divinginthesky | last post by:
My question is to know how sophisticated is C for programming in parallel, all what I know is that C is sequential until know. Do you know if there have been some attends or versions of C to program...
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: 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
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?
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.