GP - Database Configuration History
To list out down segment(s) from configuration history table
SELECT
h.time AS "Time",
h.time AS "Time",
h.dbid||':'||content||':'||hostname||':'||port||':'||preferred_role AS "dbid:content:hostname:port:role",
"desc" AS "Description"
FROM gp_configuration_history h, gp_segment_configuration c
WHERE "desc" LIKE '%DOWN%'
AND c.dbid=h.dbid
ORDER BY time DESC
LIMIT 10;
LIMIT 10;
Comments
Post a Comment