/explore
|
You are here |
boringsql.com | ||
| | | | |
akorotkov.github.io
[AI summary] A technical deep dive into PostgreSQL's statistics gathering for indexed expressions and a workaround to improve query planning accuracy for complex expressions. |
|
| | | | | ||
| | | | |
www.crunchydata.com
Adding extended statistics can add information about how columns are related. Louise has some real life example queries and tips for working with extended table stats that can dramatically improve query performance. |
|
| | | | | ||
| | | | |
phiresky.github.io
Did you know that PostgreSQL stores statistics about your data that can also be pretty useful not just for the query planner? Say you have a table users (id bigint, created timestamptz, category text): This information is a bit hard to interpret, so let's just let AI give us a nice visualization of |
|
| | | | | ||
| | | | |
newvick.com
Tables with polymorphic associations can be quite annoying to query. Use views to make it much easier. |
|
| | | |||