GP - Error related to pg_aocsseg

Error:
gp_relation_node(x) has more entries than pg_aocsseg(1) for relation tblname (aocssegfiles.c:1917) (seg# slice# xx.xx.xx.xx:port# pid=#) (cdbdisp.c:254)

Identify table which is affected
Try to run select count(*) on the same, this is done to see if it errors.
This is consider to be a catalog issue. - For which we are in need to get in touch with Pivotal

Log collection:
  1. Master/Segment logs
  2. metadata of affected table
  3. Transaction logs
  4. Invisible row count of table from affected segment(s)
  5. Collect gp_transaction_log and gp_distributed_log from both master and affected segment(s)
  6. Run offline gpcheckcat on affected database
  7. With all above said logs raise a case with Pivotal
Work around to fix:
  1. Rename affected table, Create a new table and load data.
  2. Truncate and Reload affect table - This is a quick fix if you can't wait for Pivotal intervention

Comments

Popular posts from this blog

How to set Optimizer at database level in greenplum

Changing the gpmon Password

IPMI Tool | IPMI Cheatsheet