select gp_segment_id,count(*) from table_name group by gp_segment_id;

相关文章: