Multi-GTM for Postgres XC

Five years ago, I was interested in Postgres-XC , currenty called Postgres-X2, and made a multi-GTM (global transaction manager) system for it.

Though I had forgotten this work for a long time, I found its executable files from my old PC a month ago (unfortunately the source code of them was lost). They perfectly run, so I provide a Vagrant box to run my old program on your PC.

Read full post gblog_arrow_right

Fast Explain Analyze2

TL;DR

  • lite-rowcount reduces the overhead of EXPLAIN (ANALYZE, TIMING OFF) from 25% to 6%, with no measurable impact on ordinary SELECT statements.

Introduction

EXPLAIN ANALYZE executes a query and reports, for every plan node, the number of rows it actually returned. With TIMING OFF it collects nothing else, so you would expect it to be almost free. In PostgreSQL it is not: in my benchmark the query runs about 25% slower.

Read full post gblog_arrow_right