PGXC_AIO_RESOURCE_POOL_STATS
PGXC_AIO_RESOURCE_POOL_STATS queries the status of the asynchronous I/O resource pool usage for all nodes in the cluster. This includes the node name, the name of the asynchronous I/O resource type, the number of asynchronous I/O resources in use, and the number of idle asynchronous I/O resources. This view is supported only by 9.1.0.100 and later cluster versions.
Column |
Type |
Description |
---|---|---|
node_name |
Text |
Node name. |
resource_name |
Text |
Asynchronous I/O resource type. The options are:
|
busy_num |
bigint |
Number of asynchronous I/O resources in use. |
idle_num |
bigint |
Number of idle asynchronous I/O resources. |
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
postgres=# select * from PGXC_AIO_RESOURCE_POOL_STATS; node_name | resource_name | busy_num | idle_num --------------+---------------------------------------------------------+----------+---------- cn_5001 | ASYNC_CONTEXT_TYPE | 0 | 1 cn_5001 | DISK_CACHE_CACHE_BLOCK_TYPE | 0 | 0 cn_5001 | DISK_CACHE_PATH_MANAGER_TYPE | 24 | 0 cn_5001 | FUTURE_STATE_TYPE | 0 | 2 cn_5001 | FUTURE_TYPE | 0 | 1 cn_5001 | OBS_GET_IO_SCHEDULER_PERIODIC_STATS_SYSTEM_MESSAGE_TYPE | 0 | 0 cn_5001 | OBS_IO_REQUEST_TYPE | 0 | 1 cn_5001 | OBS_IO_STATS_SYSTEM_MESSAGE_TYPE | 0 | 0 cn_5001 | OBS_MANAGE_PRIORITY_SYSTEM_MESSAGE_TYPE | 0 | 0 cn_5001 | OBS_SYSTEM_MESSAGE_TYPE | 0 | 0 cn_5001 | OBS_VFILE_TYPE | 0 | 0 cn_5001 | READ_SEGMENT_TYPE | 0 | 0 cn_5001 | SHARED_OBS_HANDLE_TYPE | 0 | 0 cn_5001 | SHARED_VAR_AUTO_GUARD_TYPE | 0 | 0 dn_6001_6002 | ASYNC_CONTEXT_TYPE | 0 | 1 dn_6001_6002 | DISK_CACHE_CACHE_BLOCK_TYPE | 719 | 0 dn_6001_6002 | DISK_CACHE_PATH_MANAGER_TYPE | 25 | 1 dn_6001_6002 | FUTURE_STATE_TYPE | 719 | 2 dn_6001_6002 | FUTURE_TYPE | 0 | 39 dn_6001_6002 | OBS_GET_IO_SCHEDULER_PERIODIC_STATS_SYSTEM_MESSAGE_TYPE | 0 | 0 dn_6001_6002 | OBS_IO_REQUEST_TYPE | 0 | 3 dn_6001_6002 | OBS_IO_STATS_SYSTEM_MESSAGE_TYPE | 0 | 0 dn_6001_6002 | OBS_MANAGE_PRIORITY_SYSTEM_MESSAGE_TYPE | 0 | 0 dn_6001_6002 | OBS_SYSTEM_MESSAGE_TYPE | 0 | 0 dn_6001_6002 | OBS_VFILE_TYPE | 0 | 16 dn_6001_6002 | READ_SEGMENT_TYPE | 0 | 2 dn_6001_6002 | SHARED_OBS_HANDLE_TYPE | 0 | 1 dn_6001_6002 | SHARED_VAR_AUTO_GUARD_TYPE | 0 | 1 dn_6003_6004 | ASYNC_CONTEXT_TYPE | 0 | 1 dn_6003_6004 | DISK_CACHE_CACHE_BLOCK_TYPE | 715 | 0 dn_6003_6004 | DISK_CACHE_PATH_MANAGER_TYPE | 25 | 1 dn_6003_6004 | FUTURE_STATE_TYPE | 715 | 2 dn_6003_6004 | FUTURE_TYPE | 0 | 39 dn_6003_6004 | OBS_GET_IO_SCHEDULER_PERIODIC_STATS_SYSTEM_MESSAGE_TYPE | 0 | 0 dn_6003_6004 | OBS_IO_REQUEST_TYPE | 0 | 3 dn_6003_6004 | OBS_IO_STATS_SYSTEM_MESSAGE_TYPE | 0 | 0 dn_6003_6004 | OBS_MANAGE_PRIORITY_SYSTEM_MESSAGE_TYPE | 0 | 0 dn_6003_6004 | OBS_SYSTEM_MESSAGE_TYPE | 0 | 0 dn_6003_6004 | OBS_VFILE_TYPE | 0 | 16 dn_6003_6004 | READ_SEGMENT_TYPE | 0 | 2 dn_6003_6004 | SHARED_OBS_HANDLE_TYPE | 0 | 1 dn_6003_6004 | SHARED_VAR_AUTO_GUARD_TYPE | 0 | 1 (42 rows) |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot