diff options
author | Jan Lindström <jplindst@mariadb.org> | 2014-03-12 14:47:38 +0200 |
---|---|---|
committer | Jan Lindström <jplindst@mariadb.org> | 2014-03-12 14:47:38 +0200 |
commit | 3ea72a2ba9deb9e3da7efe57a74ce9b34b346dfd (patch) | |
tree | 96475ae723e31e5fd44f76e136b05d01d277284d /storage/xtradb/fil | |
parent | e7df30b8dd704adf569744612504ef38905418fb (diff) | |
download | mariadb-git-3ea72a2ba9deb9e3da7efe57a74ce9b34b346dfd.tar.gz |
Removed options innodb_compress_index_pages and innodb_trim_pct. Both are
unnecessary. There is a lot more index pages than there is normal pages.
Earlier all pages were compressed and this provided best performance and
compression ratio. Added status variable to show how many non index pages
are written.
Diffstat (limited to 'storage/xtradb/fil')
-rw-r--r-- | storage/xtradb/fil/fil0fil.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/xtradb/fil/fil0fil.cc b/storage/xtradb/fil/fil0fil.cc index b38b80d9ef2..8e788e71983 100644 --- a/storage/xtradb/fil/fil0fil.cc +++ b/storage/xtradb/fil/fil0fil.cc @@ -5488,6 +5488,8 @@ _fil_io( srv_stats.data_written.add(len); if (fil_page_is_index_page((byte *)buf)) { srv_stats.index_pages_written.inc(); + } else { + srv_stats.non_index_pages_written.inc(); } } |