문제

I was wondering if compressing a windows drive holding MyISAM tables will produce any performance enhancements for MySQL queries.

도움이 되었습니까?

해결책

It can produce better performance for SELECT queries (as it will read fewer bytes) but generally will slow down writes. Actually you can achieve the same with the ARCHIVE storage engine, which also compresses the data

다른 팁

Negative. Lemple Ziv compression of large files, assumes if you are to read a large file, it shall not be random-access based. But that is what exactly MySQL does - finds a pointer to the data through (cached) keys and reads the row from large data file.

As pointed out by @Darhazer, it is better to use MySQL archiving features.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top