22 Feb 2012

Tmpfs with IO_Direct

bad idea..

tmpdir..
..on tmpfs

upgrade..
..to 5.5

default engine..
..innodb

create..
..temp tables statements

optimizing my.cnf...
..io_direct sounds good..

tmpfs..
..and io_direct
do not..
..play well together

..lucky...
..just slave..
..had backup

4 comments:

Pawel said...

Do you have any benchmarks?

Jonathan said...

I think you are referring to error log output.

If you are looking for benchmarks, there has been many many on planet mysql recently.

Céd said...

Do you have this problem with libaio installed and asynchronous I/O ?

Jonathan Levin said...

Yes, I believe the problem was using the native AIO with tmpfs.