Find me all the things in set "A" that are not in set "B". Paul has some suggestions of when to use the anti-join pattern in queries with some impressive results.
Terraform brings IaC practices to our fully managed cloud service, Crunchy Bridge. Find out how to get started with our Terraform provider.
Rekha offers a step-by-step guide for deploying Varnish Cache for pg_tileserv using Kustomize and the Postgres Operator for Kubernetes on OpenShift.
Partitioning is a handy tool for managing size and performance as your database scales. Elizabeth offers a tutorial of native partitioning and pg_partman using a sample IoT dataset. This tutorial contains the sql and steps for you to try out partitioning yourself with Postgres.
Wondering about how to choose between BRIN and BTree indexes? Read about the best cases for BRIN indexes with some testing against BTree.
Paul does a deep dive on number data types. Read about how to choose a number type that's most efficient for your data and storage requirements.
Logical replication means you can take your data wherever you need it - for reporting, analytics, or testing. This is a tutorial on the basics of setting up logical replication.
Seeing locks in your Postgres monitoring but don't know what it means? David takes a look at locks and what to take into consideration.
For customers using Postgres Operator for Kubernetes, Brian details the steps to create storage snapshots using pgBackRest delta restores for non-production use cases. This solves the need for frequent data copies combined with minimizing storage and thin provisioning.
Paul looks under the covers at Postgres query plans, indexes, filters, and statistics.
Brian offers a quick and efficient way to compare data between two different Postgres sources using the Postgres Foreign Data Wrapper (postgres_fdw).
When it comes to database performance, many think they are solving technical problems, but are solving a money problem. There are 2 phases to database-cost management, and understanding which phase you are in will help you understand your options for growth.
A review of PGO 5.1 features including rolling database restarts, pod disruption budgets, and manual switchovers/failovers.
Crunchy Data is excited to release a new open source tool, Exporter2Perfdata. This connects Prometheus Exporters with Icinga2/Nagios. This also allows pgMonitor users to connect monitoring information from Prometheus to Icinga2 and Nagios.
David optimizes a slow query by splitting up a left join into two calls and using UNION ALL to combine them. The proof is in the pudding.
Use your spatial data with this lightweight web server to make an instant heatmap! Paul sets up a demo using locations, name data, and our new container apps feature to run the pg_featureserv right inside the database.
Which of my applications ran this SQL statement? Use SQL comments to track which application ran which queries.
Keith offers a high level review of the vectors of attack on databases and database encryption types including Data-At-Rest, Data-In-Transit, and Data-In-Use.
For developers, databases are basically magic. Like Penn & Teller, this blog post is set to break the illusion. Databases are just like any other code, they have algorithms and processes. These algorithms and processes are meant to improve performance, but can cause limitations if they are not expected.
Need a GUI for your Postgres cluster? PGO 5.1 introduces a new feature to let you create a pgAdmin 4 pod alongside your other database services managed by the Kubernetes Operator.