Newbie: Data storage and manipulation speed
- From: "steve" <try@xxxxxxxx>
- Date: Tue, 16 May 2006 19:01:52 -0400
Hi,
I am developing a small program that reads some data and then calculates
some parameters based on the data:
-----------------------------------
- Read data from txt file
- Store data (where?)
Year X Y
(i read and need to perform calculations on around (depending on user
selections) 1-3 million records)
- Perform calculations and store in appropriate tuple
Year X Y Result1 Result2 .......... Result20
- Filter/graph/display part of the results
-------------------------------------
Two questions:
1) No matter my choice of storage, i need a way for the program to "breath".
I dont care much about the time it takes to calculate.
I noticed that wether i use an Access (ADO) Table or an array the program
becomes almost irresponsive. (if i try to click on it, there is a msg at the
top saying Program is not responding") but then if i let it finish it's ok.
It doesnt hang. ** I AM using WithEvents **. Any other trick that i dont
know about ?
2) Its too long to explain the calculations that need to be performed but
SQL would be too hard and too complex I believe. Take my word on that! We
have to jump and read a whole bunch of different tuples (Year,X,Y) to
calculate the various Result(s) .
When I try to read and write records using MyRecordset.Move or
AbsolutePosition , I have the same response problem i mentioned above.
What would be my best choice for sacrificing space and gaining in
responsiveness and time ?
- Pagefile = Memory , RAM would soon be filled up , especially in older
256MB systems? This means pagefile acces ....
- Access Table through ADO manipulations.
-Binary txt file, with Get and Put ?
Your suggestions are greatly appreciated! I have been struggling with this
for a while now. Maybe i should go to RentACoder but I would really like to
solve it myself.
Thanx again!
steve
.
- Follow-Ups:
- Re: Newbie: Data storage and manipulation speed
- From: Desi
- Re: Newbie: Data storage and manipulation speed
- From: Larry Serflaten
- Re: Newbie: Data storage and manipulation speed
- Prev by Date: Re: ActiveX.exe notification fails
- Next by Date: How to change rows in a file to a colum in another
- Previous by thread: WebBrowser Control - How to read text inside tags
- Next by thread: Re: Newbie: Data storage and manipulation speed
- Index(es):
Relevant Pages
|