A PostgreSQL block range index, or BRIN, can help you to significantly reduce the amount of disk space required for high performance queries on big data.
WITH queries, aka common table expressions, aka CTEs, are a very powerful but often misused feature in PostgreSQL. The upcoming PostgreSQL 12 introduces the ability to inline WITH queries with can provide a huge performance optimization to how developers use CTEs.
Your PostgreSQL data model directly affects how much data is stored on disk. Additionally, your ingest rate and retention could affect whether you require 10TB or 100TB of storage! This deep dive can help you save orders of magnitude of disk space before using sharding or other distributed models.
Learn how to prevent transaction ID wraparound in PostgreSQL through some simple monitoring and prevent TXID wraparound from ever becoming a problem!
A guide to building an active-active PostgreSQL cluster to help meet high-availability requirements of keeping your PostgreSQL database always up and available
The latest release of the Crunchy PostgreSQL Operator brings significant improvements to the high-availability and disaster recovery features needed to run PostgreSQL in large-scale, production enterprise environments.
A solid disaster recovery plan for your PostgreSQL clusters combined with pgBackRest and the Crunchy PostgreSQL Operator will help you manage your backups across thousands of PostgreSQL instances with only a few commands.
For most major upgrades using a utility such as pg_upgrade or a replication tool such as pglogical will be the best solution. However if these options are not available, pg_dumpall can be used to safely perform a major upgrade of your PostgreSQL database.
Many location aware applications need to find things are people that are close to a specific location. The KNN-GiST functionality of PostgreSQL helps developers to create high performance queries to quickly find neighbors, with applications in mapping and proximity searches.
Covering indexes in PostgreSQL are an incredibly helpful feature that can help improve the performance of your application when used correctly. This article demonstrates how an application that collects time-series and geospatial data is able to use covering indexes to boost performance.
This CIS PostgreSQL Benchmark, co-authored by Crunchy Data and the Center for Internet Security, is a detailed guide with best practices and recommendations for securing your PostgreSQL clusters. This guide teaches you how to use the CIS PostgreSQL Benchmark to secure your database.
The Crunchy PostgreSQL Operator helps to automate many typical database administration tasks at scale and leverages Kubernetes Deployments to flexibility in building environments that feature high-availability, configurable resource management, and seamless upgrades.
A practical guide to detecting if your PostgreSQL replicas are out-of-sync and how to restore them efficiently without a base backup.
Here is a case study for how to efficiently upgrade major versions of PostgreSQL with almost zero-downtime using pglogical
The Crunchy PostgreSQL for Kubernetes Operator makes it easy to maintain a high-availability database cluster by making failover from a primary to a replica database as simple as one command.
COPY is also incredibly helpful for ingesting data such as JSON or CSV into a PostgreSQL table, especially if there is a lot of it. Learn how to use COPY to optimize your data loading performance in PostgreSQL.
This article provides an easy recipe for creating a PostgreSQL primary-replica cluster using Docker Swarm.
This guide shows how to use PostgreSQL schemas with multiple users in your database. It also demonstrates the issues highlighted by CVE-2018-1058 and how to audit and protect your PostgreSQL databases.