A friend of mine who runs a newsagent has asked me to create a 'Newspaper Delivery database'.
Whist it seems straight forward enough there is one major problem...the sheer number of records that will accumilate in the transactions table.
There are approx 300 customers who say have a paper every day (there could also be weekly, monthly mags etc).
This would amount to some 9000+ records a month if I do it the correct(?) way and as his harware is a good few years old, I'm not sure it could handle such large amounts of data.
Trans Table
Round/RouteID
CustomerID
PeriodicalID
QTY
Cost
DeliveryDate
(Delivery charge will probably be added as a 'line item')
As a customer's 'order' is fairly static is there any other way that I can change the design of the above trans table to reduce the number of records.
Problems are...
Price changes from day to day (sometimes newspaper publishers run 'special offers' for one day/week only)
Record history for audit/historical reasons.
Some customers like to pay their bill weekly although the norm is monthly which could cause billing problems with certain periodicals.....
i.e. weekly, fortnightly, monthly, quarterly and maybe even annually mags.
Any ideas for a simpler/better way?
Many Thanks
Whist it seems straight forward enough there is one major problem...the sheer number of records that will accumilate in the transactions table.
There are approx 300 customers who say have a paper every day (there could also be weekly, monthly mags etc).
This would amount to some 9000+ records a month if I do it the correct(?) way and as his harware is a good few years old, I'm not sure it could handle such large amounts of data.
Trans Table
Round/RouteID
CustomerID
PeriodicalID
QTY
Cost
DeliveryDate
(Delivery charge will probably be added as a 'line item')
As a customer's 'order' is fairly static is there any other way that I can change the design of the above trans table to reduce the number of records.
Problems are...
Price changes from day to day (sometimes newspaper publishers run 'special offers' for one day/week only)
Record history for audit/historical reasons.
Some customers like to pay their bill weekly although the norm is monthly which could cause billing problems with certain periodicals.....
i.e. weekly, fortnightly, monthly, quarterly and maybe even annually mags.
Any ideas for a simpler/better way?
Many Thanks