db2 tablespaces table bufferpools reorgs

通过快照查看表空间 表 缓冲池信息

db2 get snapshot for tablespaces on teps > tablespace.info
db2 get snapshot for tables on teps > tables.info
db2 get snapshot for bufferpools on teps > buffer.info
查看详细的表空间和容器信息
list tablespaces [show detail]
list tablespace containers for 2 [show detail]

db2pd -db dbname -tablespaces -bufferpools 

db2top -db dbname 

查看缓冲池信息
db2 "select * from syscat.bufferpools"

查看那个缓冲池被分配给那个表空间
db2 "select tbspace,bufferpoolid from syscat.tablespaces"

查看reorgs信息

db2pd -db dbname -reorg -index

猜你喜欢

转载自www.cnblogs.com/dahaoran/p/9256946.html
db2
今日推荐