Skip to content

Instantly share code, notes, and snippets.

@alekseyl
Created November 24, 2017 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alekseyl/2055a33b4f16eadbf2dcea381997dfcf to your computer and use it in GitHub Desktop.
Save alekseyl/2055a33b4f16eadbf2dcea381997dfcf to your computer and use it in GitHub Desktop.
EXPLAIN ANALYZE SELECT * FROM words WHERE word = 'test';
QUERY PLAN
--------------------------------------------------------------------------------------------------------------------------
Index Scan using index_words_word on words (cost=0.42..8.44 rows=1 width=440) (actual time=1.628..1.631 rows=1 loops=1)
Index Cond: ((word)::text = 'test'::text)
Planning time: 0.269 ms
Execution time: 1.686 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment