Current time: 05-04-2024, 07:04 PM Hello There, Guest! (LoginRegister)


Post Reply 
domain_traffic table growing huge
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #8
RE: domain_traffic table growing huge
I prefer a file-based logging solution for multiple reasons:

1. Logs can be stored with the users data (/var/www/virtual/user), counting on disk quota and easing backups.
2. It gives better performance.
3. No network-related errors (mysql server could be down, you could severly drain bandwidth, raise latency, etc.)
4. Almost everything is logged the same way

I think that your proposal is better for a grid of a couple machines, but not on a single one (wich I guess is the most used configuration of ispcp as of now).

What would you think about file logging and (optional) file-to-sql feeding with aggresive rotation. This way you get the best of both worlds...
05-16-2008 04:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: domain_traffic table growing huge - kilburn - 05-16-2008 04:53 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)