You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hawq.apache.org by Raghu Vemuri <rv...@zaloni.com> on 2017/03/30 14:29:19 UTC

gp_dist_random

Hi,

As per this monitoring recommendations in the Hawq Documentation I'm
running this query but I get only one row back.  All 5 of my segments are
up.

SELECT gp_segment_id, count(*)
FROM gp_dist_random('pg_class')
GROUP BY 1;

Any suggestions?  There's not much documentation about gp_dist_random
function either.

-- 

Best Regards,
Raghu