how to find the column name in Postgres that needs an index?

后端 未结 0 737
伪装坚强ぢ
伪装坚强ぢ 2020-11-28 12:06
  relname,
  seq_scan - idx_scan AS too_much_seq,
  CASE
    WHEN seq_scan - coalesce(idx_scan, 0) > 0 THEN \'Missing Index ?\'
    ELSE \'OK\'
  END,
  pg_relati         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题