数据仓库服务 GAUSSDB(DWS)-GaussDB(DWS)列存表的常用信息查询:查询某一有数据分布DN上分区P1所对应的cudesc和delta表名称

时间:2024-06-21 18:00:23

查询某一有数据分布DN上分区P1所对应的cudesc和delta表名称

1
2
3
4
5
6
EXECUTE DIRECT ON (dn_6003_6004) 'select a.relname from pg_class a, pg_partition b where (a.oid=b.reldeltarelid or a.oid=b.relcudescrelid) and b.relname=''my_table_p1''';
       relname
----------------------
 pg_delta_part_60317
 pg_cudesc_part_60317
(2 rows)
support.huaweicloud.com/dws_faq/dws_03_2104.html