summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/srv0mon.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/include/srv0mon.h')
-rw-r--r--storage/xtradb/include/srv0mon.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/storage/xtradb/include/srv0mon.h b/storage/xtradb/include/srv0mon.h
index 2d90f47eefe..3d9e16b19f9 100644
--- a/storage/xtradb/include/srv0mon.h
+++ b/storage/xtradb/include/srv0mon.h
@@ -2,6 +2,7 @@
Copyright (c) 2010, 2013, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2012, Facebook Inc.
+Copyright (c) 2013, SkySQL Ab. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -163,6 +164,8 @@ enum monitor_id_t {
MONITOR_OVLD_BUF_POOL_PAGES_FREE,
MONITOR_OVLD_PAGE_CREATED,
MONITOR_OVLD_PAGES_WRITTEN,
+ MONITOR_OVLD_INDEX_PAGES_WRITTEN,
+ MONITOR_OVLD_NON_INDEX_PAGES_WRITTEN,
MONITOR_OVLD_PAGES_READ,
MONITOR_OVLD_BYTE_READ,
MONITOR_OVLD_BYTE_WRITTEN,
@@ -305,6 +308,21 @@ enum monitor_id_t {
MONITOR_PAD_INCREMENTS,
MONITOR_PAD_DECREMENTS,
+ /* New monitor variables for page compression */
+ MONITOR_OVLD_PAGE_COMPRESS_SAVED,
+ MONITOR_OVLD_PAGE_COMPRESS_TRIM_SECT512,
+ MONITOR_OVLD_PAGE_COMPRESS_TRIM_SECT1024,
+ MONITOR_OVLD_PAGE_COMPRESS_TRIM_SECT2048,
+ MONITOR_OVLD_PAGE_COMPRESS_TRIM_SECT4096,
+ MONITOR_OVLD_PAGE_COMPRESS_TRIM_SECT8192,
+ MONITOR_OVLD_PAGE_COMPRESS_TRIM_SECT16384,
+ MONITOR_OVLD_PAGE_COMPRESS_TRIM_SECT32768,
+ MONITOR_OVLD_PAGES_PAGE_COMPRESSED,
+ MONITOR_OVLD_PAGE_COMPRESSED_TRIM_OP,
+ MONITOR_OVLD_PAGE_COMPRESSED_TRIM_OP_SAVED,
+ MONITOR_OVLD_PAGES_PAGE_DECOMPRESSED,
+ MONITOR_OVLD_PAGES_PAGE_COMPRESSION_ERROR,
+
/* Index related counters */
MONITOR_MODULE_INDEX,
MONITOR_INDEX_SPLIT,