diff --git a/src/include/gen/ids.h b/src/include/gen/ids.h index e66eb9ab64..11d478c532 100644 --- a/src/include/gen/ids.h +++ b/src/include/gen/ids.h @@ -315,7 +315,7 @@ enum fids { f_mon_db_forced_writes, f_mon_db_res_space, f_mon_db_created, - f_mon_db_size, + f_mon_db_pages, f_mon_db_cur_mem, f_mon_db_max_mem, f_mon_db_page_reads, diff --git a/src/jrd/DatabaseSnapshot.cpp b/src/jrd/DatabaseSnapshot.cpp index 8eb7156bbe..e908c66e83 100644 --- a/src/jrd/DatabaseSnapshot.cpp +++ b/src/jrd/DatabaseSnapshot.cpp @@ -311,7 +311,7 @@ void DatabaseSnapshot::putDatabase(Database* dbb, RecordBuffer* buffer) putField(record, f_mon_db_created, &dbb->dbb_creation_date.value()); // database size temp_int64 = PIO_act_alloc(dbb); - putField(record, f_mon_db_size, &temp_int64); + putField(record, f_mon_db_pages, &temp_int64); // current memory usage temp_int64 = dbb->dbb_memory_stats.get_current_usage(); putField(record, f_mon_db_cur_mem, &temp_int64);