Under-indexing | Postgres.FM 069 |

Опубликовано: 02 Октябрь 2024
на канале: PostgresTV 💙💛
375
20

[ 🇬🇧_🇺🇸 Check out the subtitles – we now edit them, ChatGPT+manually! You can also try YouTube's auto-translation of them from English to your language; try it and share it with people interested in Postgres!]

Nikolay and Michael discuss under-indexing — how to tell if this applies to you, some general and specific cases, as well as some tricky ones.

Here are some links to things they mentioned:

* Indexes (docs) https://www.postgresql.org/docs/curre...
* random_page_cost https://postgresqlco.nf/doc/en/param/...
* Sequential scans https://www.pgmustard.com/docs/explai...
* pg_stat_user_tables https://pgpedia.info/p/pg_stat_user_t...
* pg_stat_statements https://www.postgresql.org/docs/curre...
* auto_explain https://www.postgresql.org/docs/curre...
* Our episode on slow queries https://postgres.fm/episodes/slow-que...
* Our episode on query macro analysis https://postgres.fm/episodes/macro-qu...
* Running 10 Million PostgreSQL Indexes In Production (And Counting) https://www.heap.io/blog/running-10-m...
* Faceting large result sets in PostgreSQL https://www.cybertec-postgresql.com/e...
* Our episode on over-indexing https://postgres.fm/episodes/over-ind...


~~~


What did you like or not like? What should we discuss next time? Let us know in the comments, or by tweeting us on @samokhvalov   / samokhvalov   and @michristofides   / michristofides  


~~~


Postgres FM is brought to you by:
- Nikolay Samokhvalov, founder of Postgres.ai https://postgres.ai/
- Michael Christofides, founder of pgMustard https://pgmustard.com/


~~~


This is the uncut version, with video. Check out https://Postgres.fm to find audio-only podcast episodes, edited for convenient listening.