提交 de332566 authored 作者: Thomas Mueller's avatar Thomas Mueller

INFORMATION_SCHEMA.SETTINGS: now the current page count can be queried using…

INFORMATION_SCHEMA.SETTINGS: now the current page count can be queried using select * from information_schema.settings where name = 'info.PAGE_COUNT'.
上级 ac9c5321
...@@ -877,6 +877,7 @@ public class MetaTable extends Table { ...@@ -877,6 +877,7 @@ public class MetaTable extends Table {
add(rows, "info.FILE_WRITE_TOTAL", "" + store.getWriteCountTotal()); add(rows, "info.FILE_WRITE_TOTAL", "" + store.getWriteCountTotal());
add(rows, "info.FILE_WRITE", "" + store.getWriteCount()); add(rows, "info.FILE_WRITE", "" + store.getWriteCount());
add(rows, "info.FILE_READ", "" + store.getReadCount()); add(rows, "info.FILE_READ", "" + store.getReadCount());
add(rows, "info.PAGE_COUNT", "" + store.getPageCount());
add(rows, "info.CACHE_MAX_SIZE", "" + store.getCache().getMaxMemory()); add(rows, "info.CACHE_MAX_SIZE", "" + store.getCache().getMaxMemory());
add(rows, "info.CACHE_SIZE", "" + store.getCache().getMemory()); add(rows, "info.CACHE_SIZE", "" + store.getCache().getMemory());
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论