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/innobase/include/srv0srv.h | |
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/innobase/include/srv0srv.h')
-rw-r--r-- | storage/innobase/include/srv0srv.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h index b4bb9c09ef6..ac264a7d597 100644 --- a/storage/innobase/include/srv0srv.h +++ b/storage/innobase/include/srv0srv.h @@ -111,6 +111,8 @@ struct srv_stats_t { ulint_ctr_64_t page_compression_trim_sect4096; /* Number of index pages written */ ulint_ctr_64_t index_pages_written; + /* Number of non index pages written */ + ulint_ctr_64_t non_index_pages_written; /* Number of pages compressed with page compression */ ulint_ctr_64_t pages_page_compressed; /* Number of TRIM operations induced by page compression */ @@ -236,12 +238,6 @@ use simulated aio we build below with threads. Currently we support native aio on windows and linux */ extern my_bool srv_use_native_aio; -/* Is page compression used only for index pages */ -extern my_bool srv_page_compress_index_pages; - -/* Frequency of trim operations */ -extern long srv_trim_pct; - /* Use trim operation */ extern my_bool srv_use_trim; @@ -901,6 +897,8 @@ struct export_var_t{ by page compression */ ib_int64_t innodb_index_pages_written; /*!< Number of index pages written */ + ib_int64_t innodb_non_index_pages_written; /*!< Number of non index pages + written */ ib_int64_t innodb_pages_page_compressed;/*!< Number of pages compressed by page compression */ ib_int64_t innodb_page_compressed_trim_op;/*!< Number of TRIM operations |