使用 onstat -g dic 命令显示共享内存字典中高速缓存的每张表的一行信息。如果指定了表名,那么打印表的内部 SQL 信息。
图: onstat -g dic 命令输出
Dictionary Cache: Number of lists: 31, Maximum list size: 10 list# size refcnt dirty? heapptr table name -------------------------------------------------------- 1 3 1 no 14b5d890 wbe@oninit_shm:gbasedbt.t0010url 1 no 14cbb820 wbe@oninit_shm:gbasedbt.t9051themeval 0 no 14b63c20 wbe@oninit_shm:gbasedbt.t0060hits 2 2 0 no 14b97420 wbe@oninit_shm:gbasedbt.t0120import 1 no 14b6c820 wbe@oninit_shm:gbasedbt.t9110domain 3 3 0 no 14bce020 wbe@oninit_shm:gbasedbt.t0150url 0 no 14d3d820 contact@oninit_shm:gbasedbt.wbtags 0 no 14c87420 wbe@oninit_shm:gbasedbt.wbtags 4 1 0 no 14b7a420 drug@oninit_shm:abcdef.product .. Total number of dictionary entries: 36
有关 onstat -g dic 命令的更多信息,请参阅 GBase 8s 性能指南。