compact_compressed test is too slow in debug builds

Bug #1213102 reported by Alexey Kopytov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Medium
Alexey Kopytov
2.1
Fix Released
Medium
Alexey Kopytov
2.2
Fix Released
Medium
Alexey Kopytov

Bug Description

The compact_compressed test is too slow in debug builds 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%.

Related branches

tags: added: low-hanging-fruit
summary: - compact_compressed test is too slow
+ compact_compressed test is too slow in debug builds
description: updated
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-658

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.