跟列
Greenplum常用SQL总结
Greenplum常⽤SQL总结Greenplum常⽤SQL总结查看表在各个segment的数据分布=# SELECT gp_segment_id,count(*)FROM table_name GROUP BY gp_segment_id;查看分区表在各个segment的数据分布=# SELECT gp_segment_id,tableoid::regclass,count(*)FROM par...
Greenplum常⽤SQL总结Greenplum常⽤SQL总结查看表在各个segment的数据分布=# SELECT gp_segment_id,count(*)FROM table_name GROUP BY gp_segment_id;查看分区表在各个segment的数据分布=# SELECT gp_segment_id,tableoid::regclass,count(*)FROM par...