diff --git a/src/observer/virtual_table/ob_all_disk_stat.cpp b/src/observer/virtual_table/ob_all_disk_stat.cpp index 2d742e6184c350093bfa78742acde5205afb75e9..3ecfc374d9321a8dfcd7846b40247d1f76ea0bb0 100644 --- a/src/observer/virtual_table/ob_all_disk_stat.cpp +++ b/src/observer/virtual_table/ob_all_disk_stat.cpp @@ -87,7 +87,7 @@ int ObInfoSchemaDiskStatTable::inner_get_next_row(ObNewRow*& row) } case TOTAL_SIZE: { cells[cell_idx].set_int( - OB_FILE_SYSTEM.get_total_macro_block_count() * OB_FILE_SYSTEM.get_macro_block_size()); + OB_FILE_SYSTEM.get_total_macro_block_max_count() * OB_FILE_SYSTEM.get_macro_block_size()); break; } case USED_SIZE: {