Search code examples
How to make Postgres use an index for a set of values?...


postgresqlindexingsql-execution-planpostgresql-performancepostgresql-12

Read More
How to fetch parent data and all it's children, then aggregate to array?...


sqlpostgresqlgreatest-n-per-grouppsqlpostgresql-performance

Read More
How to LIMIT the number of parent values, but return all children for each?...


sqlpostgresqlgreatest-n-per-grouppostgresql-performance

Read More
Filter out rows in 1:N LEFT JOIN where any row in child table fails condition...


sqlpostgresqlpostgresql-performance

Read More
Running PostgreSQL in memory only...


postgresqlunit-testingpostgresql-performance

Read More
How to force evaluation of subquery before joining / pushing down to foreign server...


sqlpostgresqlsql-execution-planpostgresql-performanceforeign-data-wrapper

Read More
How to improve or speed up Postgres query with pg_trgm?...


postgresqlpostgresql-performancepg-trgm

Read More
How to search for the acronym of a string column in an indexable way...


sqlpostgresqlindexingpattern-matchingpostgresql-performance

Read More
Select count query very slow on cold cache...


postgresqlpostgresql-performance

Read More
Efficient self-join on column value being the prefix of join column...


sqlpostgresqlpattern-matchinglookup-tablespostgresql-performance

Read More
Performance loss introducing lateral join in Postgres query...


sqlpostgresqlfunctionpostgresql-performancelateral-join

Read More
PostgreSQL autovacuum causing significant performance degradation...


postgresqlgoogle-cloud-sqlpostgresql-performanceautovacuum

Read More
Optimize query on partitioned table without partitioning key in the WHERE clause...


postgresqlindexingpartitioningpostgresql-performancepostgresql-14

Read More
How to make a query with ILIKE filters on multiple columns in two tables?...


sqlpostgresqlsearchpostgresql-performance

Read More
How to use date_trunc() with timestamptz in an index to support a join?...


postgresqlindexingpostgresql-performancevolatility

Read More
Better way than multiple SELECT statements?...


sqlpostgresqlselectcommon-table-expressionpostgresql-performance

Read More
Partition pruning based on check constraint not working as expected...


sqlpostgresqlpostgresql-9.3database-partitioningpostgresql-performance

Read More
Add datetime constraint to a PostgreSQL multi-column partial index...


postgresqlindexingtimestamppostgresql-performance

Read More
Query on json / jsonb column super slow. Can I use an index?...


jsonpostgresqljsonbpostgresql-performance

Read More
Optimizing query to filter many-to-many relationship on row-count...


djangopostgresqlindexingmany-to-manypostgresql-performance

Read More
Why is Bitmap Scan faster than Index Scan when fetching a moderately large percentage of the table i...


postgresqlindexingpostgresql-performance

Read More
Keep PostgreSQL from sometimes choosing a bad query plan...


databaseperformancepostgresqlsql-execution-planpostgresql-performance

Read More
PostgreSQL Hash Join vs Nested Loop and hash index...


postgresqlquery-optimizationsql-execution-planpostgresql-performance

Read More
Optimize query for columns with distinct values per ID...


sqlpostgresqlpostgresql-performance

Read More
Why is a LATERAL JOIN faster than a correlated subquery in Postgres?...


sqlpostgresqlquery-optimizationpostgresql-performancelateral-join

Read More
Indexing strategy for filters including a JSONB property...


postgresqlpaginationsequelize.jsjsonbpostgresql-performance

Read More
Terrible performance joining a view to a fast subquery / CTE in PostgreSQL...


postgresqlquery-optimizationsql-execution-planpostgresql-performance

Read More
Intersection of SQL statements efficiently...


sqlpostgresqlintersectionpostgresql-performance

Read More
Prevent usage of index for a particular query in Postgres...


sqlpostgresqlindexingquery-optimizationpostgresql-performance

Read More
Compound index with date function doesn't allow index-only scans?...


sqlpostgresqlindexingquery-optimizationpostgresql-performance

Read More
BackNext