Topic awaiting preservation: Server Logs vs Database for tracking stats.... |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: Australia |
posted 03-30-2005 02:31
Hi all, i know i posted a question about tracking site stats not long back, and someone said to use the logs. I did some calculations and worked out that database size wouldnt be an issue if you were to do it that way. |
Bipolar (III) Inmate From: United States |
posted 03-30-2005 05:48
Do you need the raw data itself, or could you just compile a webpage from the logs and cut it off monthly, yearly, or whatnot? |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 03-30-2005 06:00
I'd talk to your hosting provider. Normally log files don't count against your server space. And should be cleaned automatically. |
Bipolar (III) Inmate From: Australia |
posted 03-30-2005 14:53
So i guess if i do that i might as well just collect data straight into the database? Essentially its doing the same thing.. |
Bipolar (III) Inmate From: United States |
posted 03-30-2005 16:29
There a few things I would do in this case. I would try to establish a cron job (if you have shell access or a good panel) to dump your log file folder to a different (maybe home) server each day/week/etc. Then you could have an additional script compile the data once daily so noone would ever have to deal with low bandwidth. |
Bipolar (III) Inmate From: Australia |
posted 03-31-2005 05:16
Yeh, well im pretty happy with this host for the most part - even tho i often go over the limit they dont seem to care so it hasnt been a real problem. |