~akopytov/percona-xtrabackup/bug1095249-2.0

Viewing all changes in revision 491.

  • Committer: Alexey Kopytov
  • Date: 2013-01-07 06:17:40 UTC
  • Revision ID: akopytov@gmail.com-20130107061740-h8pu4j4e9ixoswzu
Bug #1095249: Built-in compression does inefficient I/O

The problem was the xtrabackup --compress did unbuffered writes to the
destination file or stream in very small chunks.

Fixed by:

- backporting datasink_buffer from the compact backups branch
- inserting it between datasink_compress and the destination datasink
- using a 1M buffer for output similar to the uncompressed backup

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: