What determines the memory that used by key cache??

2012-06-18 Thread mich.hph
Dear all! In my cluster, I found every key needs 192bytes in the key cache.So I want to know what determines the memory that used by key cache. How to calculate the value. Thanks in advance.

How commitlog_sync affect the performance??

2012-06-13 Thread mich.hph
Hi All?? Is there anybody has ever done some testing about the commitlog_sync mode? and how it affect the performance??