【PostgreSQL】パフォーマンスチューニング(できるようになるための知識) - Qiita

コマンドEXPLAIN文実行計画を確認したいSQLの前に「EXPLAIN」をつけることで、実行計画を表示できる。[test_db=# explain select * from sample_…