ru Русский

Reticularium

NETWORKS PLACE

This and a bit more here

With graphs!

Everybody knows that LOAD DATA INFILE is fast, many did benchmarks, but nobody cared to publish results with graphs, so that others could use them to illustrate the approach :) Thanks a lot, Kevin

Pretty easy:


mysql -u<username> -p<password> <dbname> -B -e "select * from <tablename>" | sed 's/\t/","/g;s/^/"/;s/$/"/;s/\n//g' > <filename.csv>

Change to db directory and type: myisamchk -r -S -a *.MYI

If you ever set up a popular bunch of Postfix + Amavisd-new + PostgreSQL/MySQL with virtual domains support, you probably were disappointed by the fact that by default all messages filtered out by anti-spam and anti-virus filters go to the system’s quarantine folder.

Read the article