WEB开发网
开发学院数据库DB2 DB2 9.5 中多线程架构的工作原理 阅读

DB2 9.5 中多线程架构的工作原理

 2008-11-07 16:32:47 来源:WEB开发网   
核心提示: 使用 SQL清单 5. 使用 SQL 示例$ db2 "select * from table(admin_get_dbp_mem_usage())"DBPARTITIONNUM MAX_PARTITION_MEMCURRENT_PARTITION_MEM PEAK_P

使用 SQL

清单 5. 使用 SQL 示例

$ db2 "select * from table(admin_get_dbp_mem_usage())"
DBPARTITIONNUM MAX_PARTITION_MEM  CURRENT_PARTITION_MEM PEAK_PARTITION_MEM
-------------- -------------------- --------------------- --------------------
       0     14330507264       340590592      340852736
 1 record(s) selected.

使用 db2mtrk

清单 6. db2mtrk -a 示例

$ db2mtrk -a
Tracking Memory on: 2008/02/29 at 15:51:00
Application Memory for database: SAMPLE
  appshrh
  128.0K
 Memory for application 546
  apph    other
  64.0K    192.0K
 Memory for application 545
  apph    other
  64.0K    192.0K
 Memory for application 544
  apph    other
  64.0K    320.0K
 Memory for application 543
  apph    other
  64.0K    576.0K
 Memory for application 547
  apph    other
  64.0K    192.0K

清单 7. db2mtrk -p 示例

$ db2mtrk -p
Tracking Memory on: 2008/02/29 at 15:51:37
Memory for agent 6463
  other
  192.0K
Memory for agent 6206
  other
  192.0K
Memory for agent 5949
  other
  320.0K
Memory for agent 2094
  other
  576.0K
Memory for agent 6720
  other
  192.0K

上一页  2 3 4 5 6 7 8 9 10  下一页

Tags:DB 线程 架构

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接