This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Re: Obvious questions

Posted by: Anonymous [ip: 66.151.59.138] on July 17, 2008 04:18 AM
Are you serious? A database is the best thing for datamining,
but can never beat a properly tuned disk unless you have it
running on a beefy server with lots of ram.

Lets do some math:
Overhead of database + overhead of disk !< overhead of disk

One of the best things you can do is prefix the logfile location with a "-" such as:
*.* -/var/log/all.log

That prevents syslogs from calling sync() and flushing every write to disk. It also means there is
a chance of loosing some syslog lines, but it gives you much less disk writes.

Feel free to flame:
http://www.digitalprognosis.com/blog

#

Return to Improve system performance by moving your log files to RAM