/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
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.
3.6 parsecs

Travel
| |
| | 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.
4.1 parsecs

Travel
| |
| | 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
4.3 parsecs

Travel
| |
| | newvick.com

Tables with polymorphic associations can be quite annoying to query. Use views to make it much easier.
26.6 parsecs

Travel
|