Comment 0 for bug 1213102

Revision history for this message
Alexey Kopytov (akopytov) wrote : compact_compressed test is too slow

The compact_compressed test is too slow with most time spent in page_zip_validate(). Which is called twice per each row inserted, and does a lot of things including decompressing a page.

One way to fix this would be to disable UNIV_ZIP_DEBUG for debug XtraBackup builds. But that would remove validation for all tests.

Another way would be to disable compact_compressed for debug builds, which doesn't look good either.

A more acceptable solution seems to be to only call page_zip_validate() once per row (i.e. after inserting the row, but not before). Which would still provide good enough validation for all tests, but decrease compact_compressed execution time by ~50%.