Guides for the people who run the database.
Longer answers to the questions that come up when a database is yours to keep healthy and its numbers are yours to report: maintenance, monitoring and getting results to the people who need them.
- Postgres VACUUM: what it does and how to tell autovacuum is behindVACUUM removes the dead row versions that UPDATE and DELETE leave behind, so the space can be reused and queries stay fast. Autovacuum runs it for you, and you only need to step in when the dead-tuple count keeps growing. This guide shows how to check, which settings matter, and when VACUUM FULL is worth its lock.
- Database monitoring tools: the categories, and what each one costs to ownDatabase monitoring tools fall into five groups: full observability suites, engine-specific analyzers, open source metrics stacks, uptime checks and scheduled-query tools. They answer different questions and cost different amounts of work to run. Pick by the question you need answered, not by the longest feature list.
- How to send a SQL report automatically every weekTo send a SQL report every week you need four things: a read-only database login, a query, a scheduler and a way to deliver the result. You can build that with cron, a script and a mailer, or use a tool that already has the scheduler, the formats and the channels. Both work. The difference is who maintains it a year from now.
- Send SQL query results to Slack, e-mail and Google SheetsEach destination has its own way in: Slack takes an incoming webhook, e-mail goes through SMTP or a mail API, and Google Sheets is written through the Sheets API with a service account. Pick the format by what the reader does next, and send only when something matches if the message is an alert. This guide covers all three, and how DataRunner handles each.