category

PostgreSQL

132 posts

PostgreSQL

Nearest Big City

In this article, we want to find the town with the greatest number of inhabitants near a given location. A very localized example We first need to find and import some …

PostgreSQL

Bulk Replication

In the previous article here we talked about how to properly update more than one row at a time, under the title Batch Update. We did consider performances, including …

PostgreSQL

Batch Update

Performance consulting involves some tricks that you have to teach over and over again. One of them is that SQL tends to be so much better at dealing with plenty of rows …

PostgreSQL

HyperLogLog Unions

In the article from yesterday we talked about PostgreSQL HyperLogLog with some details. The real magic of that extension has been skimmed over though, and needs another …

PostgreSQL

PostgreSQL HyperLogLog

If you’ve been following along at home the newer statistics developments, you might have heard about this new State of The Art Cardinality Estimation Algorithm …

PostgreSQL

Inline Extensions

We’ve been having the CREATE EXTENSION feature in PostgreSQL for a couple of releases now, so let’s talk about how to go from here. The first goal of the …