Has anyone considered using this to compress logs > X days, in addition
to the logrotate stuff?

http://sunsite.mff.cuni.cz/MIRRORS/ftp.mysql.com/doc/en/myisampack.html

myisampack is used to compress MyISAM tables, and pack_isam is used to
compress ISAM tables. Because ISAM tables are deprecated, we will only
discuss myisampack here, but everything said about myisampack should
also be true for pack_isam.

myisampack works by compressing each column in the table separately. The
information needed to decompress columns is read into memory when the
table is opened. This results in much better performance when accessing
individual records, because you only have to uncompress exactly one
record, not a much larger disk block as when using Stacker on MS-DOS.
Usually, myisampack packs the datafile 40%-70%.

MySQL uses memory mapping (mmap()) on compressed tables and falls back
to normal read/write file usage if mmap() doesn't work.

Please note the following:

    * After packing, the table is read-only. This is generally intended
(such as when accessing packed tables on a CD). Also allowing writes to
a packed table is on our TODO list but with low priority.
    * myisampack can also pack BLOB or TEXT columns. The older pack_isam
(for ISAM tables) can not do this. 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Php-syslog-ng-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/php-syslog-ng-support

Reply via email to