数据仓库服务 GAUSSDB(DWS)-PGXC_DISK_CACHE_PATH_INFO:示例

时间:2024-06-19 14:33:02

示例

查询文件缓存所使用的硬盘的信息:

1
2
3
4
5
6
7
8
9
SELECT * FROM pgxc_disk_cache_path_info order by 1;
   path_name    |  node_name   | cache_size | disk_available |  disk_size   |  disk_use_ratio
----------------+--------------+------------+----------------+--------------+------------------
 dn_6001_6002_0 | dn_6001_6002 |      19619 |   137401716736 | 160982630400 | .146481105479564
 dn_6001_6002_1 | dn_6001_6002 |      35968 |   137401716736 | 160982630400 | .146481105479564
 dn_6003_6004_0 | dn_6003_6004 |      27794 |   121600655360 | 160982630400 | .244634933235629
 dn_6003_6004_1 | dn_6003_6004 |      26158 |   121600655360 | 160982630400 | .244634933235629
 dn_6005_6006_0 | dn_6005_6006 |      24533 |   134394839040 | 160982630400 | .165159379579873
 dn_6005_6006_1 | dn_6005_6006 |      31065 |   134394839040 | 160982630400 | .165159379579873
support.huaweicloud.com/devg-dws-v3/dws_16_0025.html