REINDEX
ing
This article outlines how to rebuild indexes with REINDEX
. As an example, we will deliberately corrupt an index for a column that uses a custom ENUM
column.
By Christoph Schiessl on PostgreSQL
Learn how to generate random numbers in PostgreSQL whose distribution follows the uniform, exponential, or normal probability distribution.
By Christoph Schiessl on PostgreSQL
ENUM
Type Columns and ORDER BY
Learn how custom ENUM
types in PostgreSQL can affect SELECT
queries and ORDER BY
clauses. Be mindful of indexing and typecasting.
By Christoph Schiessl on PostgreSQL
Learn how to manipulate PostgreSQL's query planner to force it to use your indexes while working on optimizing the performance of your queries.
By Christoph Schiessl on PostgreSQL
libpq
Learn how to remove LDAP support from PostgreSQL packages to remove indirect dependencies, thereby making your programs smaller for Docker images.
By Christoph Schiessl on DevOps, PostgreSQL, and Docker
MATERIALIZED VIEW
s
Learn how to use PostgreSQL's MATERIALIZED VIEW
s to improve performance of complex queries. Persist query results and refresh them manually or automatically.
By Christoph Schiessl on PostgreSQL
I send two weekly emails on building performant and resilient Web Applications with Python, JavaScript and PostgreSQL. No spam. Unscubscribe at any time.