"trading_jacks" <MA**********@gmail.comwrote in
news:11*********************@v33g2000cwv.googlegro ups.com:
I need some help with my website. I will need to write a boolean
value every 5 minutes for 100 users. that is about 28,000 writes per
day.
Really?
This data must be kept for at least a month. Can I simply write
this to a db as a new record each time? Should I write once per hour
with 12 columns? Or should I try to find a way to use some sort of
compress the data... such as some sort of algorithm?
If you are accomplished enough to use bit operations you could write an
16 character string, or four doubles or whatever and write just once.
>
This just seems like a lot of activity for an access db. Please let
me know what you think.
It's unlikely that you have persisitent connections to your DB if you are
operating from a website, so each write can connect, do its work and
disconntect. A connect, write, disconnect should actually be connected to
the JET DB for a very small fraction of a second. One hundred of these
every five minutes should be trivial.
Of course, if you can do the 100 inserts or updates on the same connect,
you will very, very slightly increase the time of the write, but have
only one every five minutes.
Here in CDMA we often think of persistent connections. Access is cursed
with the notion of persistent connections; I expect because some genius
in the previous century decided it would be agood idea to mix procedures
and data in the same file. This underlies many unique Access problems.
But we don't have to use persistent connections, and, TTBOMK, on a
website, we don't. And when we don't use perisistent connections we use
the JET db without the Access millstone around its neck; and then it is
really JET-like.
Thanks,
Mark
--