category

PostgreSQL

140 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 …

PostgreSQL

Prefixes and Ranges

It’s been a long time since I last had some time to spend on the prefix PostgreSQL extension and its prefix_range data type. With PostgreSQL 9.2 out, some users …

PostgreSQL

PostgreSQL 9.3

PostgreSQL 9.2 is released! It’s an awesome new release that I urge you to consider trying and adopting, an upgrade from even 9.1 should be very well worth it, as …

PostgreSQL

Clean PGQ Subconsumers

Now that you’re all using the wonders of Cooperative Consumers to help you efficiently and reliably implement your business constraints and offload them from the …