提交 9a5ed683 authored 作者: Thomas Mueller's avatar Thomas Mueller

The page size of a persistent database can now be queries using: select * from…

The page size of a persistent database can now be queries using: select * from information_schema.settings where name = 'info.PAGE_SIZE'
上级 2954c3cd
...@@ -890,6 +890,7 @@ public class MetaTable extends Table { ...@@ -890,6 +890,7 @@ public class MetaTable extends Table {
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.PAGE_COUNT", "" + store.getPageCount());
add(rows, "info.PAGE_SIZE", "" + store.getPageSize());
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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论