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

05-11 22:51