From 317748b2e1474bae71fb3a42e6f8761438dc3a26 Mon Sep 17 00:00:00 2001 From: dimitr Date: Fri, 28 Sep 2007 19:43:06 +0000 Subject: [PATCH] Added MON$STAT_GROUP into the statistics tables. This allows to join backwards from a particular statistics record. --- src/include/gen/ids.h | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/include/gen/ids.h b/src/include/gen/ids.h index 93426a1aaa..55157a2568 100644 --- a/src/include/gen/ids.h +++ b/src/include/gen/ids.h @@ -420,18 +420,20 @@ const USHORT f_mon_io_stat_id = 0; - const USHORT f_mon_io_page_reads = 1; - const USHORT f_mon_io_page_writes = 2; - const USHORT f_mon_io_page_fetches = 3; - const USHORT f_mon_io_page_marks = 4; + const USHORT f_mon_io_stat_group = 1; + const USHORT f_mon_io_page_reads = 2; + const USHORT f_mon_io_page_writes = 3; + const USHORT f_mon_io_page_fetches = 4; + const USHORT f_mon_io_page_marks = 5; const USHORT f_mon_rec_stat_id = 0; - const USHORT f_mon_rec_seq_reads = 1; - const USHORT f_mon_rec_idx_reads = 2; - const USHORT f_mon_rec_inserts = 3; - const USHORT f_mon_rec_updates = 4; - const USHORT f_mon_rec_deletes = 5; - const USHORT f_mon_rec_backouts = 6; - const USHORT f_mon_rec_purges = 7; - const USHORT f_mon_rec_expunges = 8; + const USHORT f_mon_rec_stat_group = 1; + const USHORT f_mon_rec_seq_reads = 2; + const USHORT f_mon_rec_idx_reads = 3; + const USHORT f_mon_rec_inserts = 4; + const USHORT f_mon_rec_updates = 5; + const USHORT f_mon_rec_deletes = 6; + const USHORT f_mon_rec_backouts = 7; + const USHORT f_mon_rec_purges = 8; + const USHORT f_mon_rec_expunges = 9;