srs (AT) perfectionsoftware (DOT) com wrote:
Quote:
....
Short of purging data from the file, which is an option but I don't
want to do it because it is good data, what strategy should I use to
make this file more manageable?
Steve |
I suppose you could split the data by attributes into different smaller
files.
Look at your reports and updates & see if there are groups of
attributes that are used together.
You say your files tracks changes for costs & prices for stores.
Your fields might be ...
Store
date
time
product
old cost
new cost
old bulk1 cost (for qtys >100)
new bulk1 cost (for qtys >100)
old bulk2 cost (qtys >1000)
new bulk2 cost (qtys >1000)
old bulk3 cost (qtys >5000)
new bulk3 cost (qtys >5000)
old price
new price
old promo price
new promo price
old disc1 price (discount regular cust)
new disc1 price (discount regular cust)
old disc2 price (discount large cust)
new disc2 price (discount large cust)
old disc3 price (discount Huge cust)
new disc3 price (discount Huge cust)
So your files could become
StorePriceChg master
Store
Date
time
Sequential key
CostChg (by Seq Key)
old cost
new cost
Bulk1CostChg (by Seq key)
old Bulk1 cost
new Bulk1 cost
and so on...
Means quite a lot of programing changes when building the files
But Access listings need not change because you can change the
dictionaries on the master file to translate to the other files.
Then you could f_resize the smaller files one by one, each one would be
smaller, less disk thrashing. Resizing sound like something youll be
doing a lot of as the data is going to build and build.
I've probably been as guilty as anyone of just adding another field to
the file when some analysis of how the data is used might sugest
information could be kept in seperate files, but with the same key.
This has to weighed against the ability to read everything in one hit
that is Picks big effiency advantage over 1NF type databases.
Jeremy Thomson