InterDB Blog Written by Hironobu Suzuki
    Homepage Author
  • Mysql
  • Postgres
  • Tech
  • Tips

Reduce EXPLAIN ANALYZE overhead for row counting

This is a blog that combined and re-edited version of the two related blogs: The 3 Steps to a Faster EXPLAIN ANALYZE and Two More Steps to a Faster EXPLAIN ANALYZE.

Read full post gblog_arrow_right
Dec 20, 2025 9 min read postgres

Model Checking pgpool-II with SPIN

I recalled performing model verification for pgpool-II (a PostgreSQL replication tool) using SPIN in 2010, so I’m sharing some of the results.

Read full post gblog_arrow_right
Nov 5, 2025 10 min read postgres

Mathematical Approaches for Selectivity Error Correction

In previous posts, post1 and post2, I demonstrated that it’s possible to continuously count the actual rows from EXPLAIN ANALYZE with an overhead of about 2.0%.

The next step is to examine methods for correcting the selectivity (or cardinality) estimation results.

Read full post gblog_arrow_right
Oct 18, 2025 30 min read postgres

Two More Steps to a Faster EXPLAIN ANALYZE

Based on the improvements shown in this blog post, I will show the results of further optimizations.

In this blog, I’ll challenge conventional wisdom and explore methods to reduce overhead as much as possible. To that end, I will first discuss data types before explaining the specific improvements.

Read full post gblog_arrow_right
Sep 7, 2025 13 min read postgres

The 3 Steps to a Faster EXPLAIN ANALYZE

1-Line Abstract: Cut the overhead of EXPLAIN ANALYZE by roughly 77 [%].

Read full post gblog_arrow_right
Aug 16, 2025 17 min read postgres

Autovacuum tip

I show a tip of autovacuum management.

As frequently mentioned, the table bloat problem is one of the most annoying things in managing PostgreSQL. Several things can cause that problem, and Autovacuum is one of them.

Read full post gblog_arrow_right
Jul 1, 2023 2 min read postgres Tips

pg_plan_inspector

I’ve just released pg_plan_inspector that is a framework to monitor and improve the performance of PostgreSQL using Machine Learning methods.

One movie is worth a thousand words. Watch this movie.

Read full post gblog_arrow_right
Jul 28, 2021 1 min read postgres

SHUTDOWN DATABASE in PostgreSQL

I made a PostgreSQL’s module called shutdown_db using weekend time.

This module emulates the Oracle’s shutdown commands by controlling access for each DB.

Read full post gblog_arrow_right
May 30, 2020 2 min read postgres

How to install and use pgindent

pgindent maintains the uniform layout style of postgresql related source code.

Read full post gblog_arrow_right
Dec 12, 2019 1 min read postgres Tips

My first Chinese book

My first Chinese book has been published on 1st June.

Read full post gblog_arrow_right
Jun 1, 2019 3 min read postgres
Page 1 of 3
NEXT gblog_keyboard_arrow_right
Built with Hugo
Back to top