Cut the number of required PostgreSQL server round-trips by up to 50% using the AND CHAIN
parameter of the COMMIT
and ROLLBACK
statements.
By Christoph Schiessl on PostgreSQL
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 use PostgreSQL's built-in RANDOM()
function to generate pseudo-random numbers, which are uniformly, exponentially, or normally distributed.
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 more portable across systems.
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
Software Engineering is often driven by fashion, but swimming with the current is rarely the best choice. In addition to knowing what to do, it's equally important to know what not to do. And this is precisely what my free Web App Reverse Checklist will help you with.
Subscribe below to get your free copy of my Reverse Checklist delivered to your inbox. Afterward, you can expect one weekly email on building resilient Web Applications using Python, JavaScript, and PostgreSQL.
By the way, it goes without saying that I'm not sharing your email address with anyone, and you're free to unsubscribe at any time. No spam. No commitments. No questions asked.