Which tables should be auto vacuumed or auto analyzed?

Recently I was in a situation where autovacuum couldn’t keep up with changes. To solve the problem I finally decided to manually vacuum analyze all tables (manual vacuum/analyze is faster than one ran by autovacuum daemon). But it irritated me that I didn’t have ready way to check which tables are waiting for autovacuum to … Continue reading “Which tables should be auto vacuumed or auto analyzed?”

How to play with upcoming, unreleased, PostgreSQL?

Lately reader of my blog asked about some detail, and then in next comment said that he doesn’t have PostgreSQL 12 (which is currently developed version of Pg) available. Well, I answered the original question, but I figured that if someone is reading my Waiting for … series, then it would make sense that such … Continue reading “How to play with upcoming, unreleased, PostgreSQL?”

Wait for program(s) in tmux panes to end…

I am doing quite a lot of work inside tmux. I especially love that I can start multiple windows/panes and use them to run the same thing across multiple servers, while still having normal shell access between steps. This thing was greatly improved when I wrote tmux_send_to_many, but one thing was missing – waiting for … Continue reading “Wait for program(s) in tmux panes to end…”