33 docs tagged with "beginner"
View All TagsAd-hoc monitoring
// I post a new PostgreSQL "howto" article every day. Join me in this journey – subscribe, provide feedback, share!
How to analyze heavyweight locks, part 1
How to benchmark
Benchmarking is a huge topic. Here, we cover minimal steps that are required for a Postgres benchmark to be informative,
How to compile Postgres on Ubuntu 22.04
How to deal with long-running transactions (OLTP)
Identify and handle long-running transactions that can impact OLTP system performance
How to enable data checksums without downtime
How to find query examples for problematic pg_stat_statements records
// I post a new PostgreSQL "howto" article every day. Join me in this journey – subscribe, provide feedback, share!
How to find redundant indexes
How to find unused indexes
How to format SQL (SQL style guide)
How to format text output in psql scripts
How to generate fake data
How to help others
How to make "" work in psql on a new machine ("editor/nano/vi not found")
How to NOT get screwed as a DBA (DBRE)
How to perform initial / rough Postgres tuning
How to plot graphs right in psql on macOS (iTerm2)
How to reduce WAL generation rates
How to troubleshoot and speed up Postgres stop and restart attempts
Some very popular reasons affecting the duration of the shutdown attempt:
How to troubleshoot long Postgres startup
or:
How to troubleshoot Postgres performance using FlameGraphs and eBPF (or perf)
Today we'll discuss how to understand what exactly a Postgres backend is doing inside CPU on a Linux machine (in-CPU analysis).
How to tune Linux parameters for OLTP Postgres
How to use Docker to run Postgres
How to use lib_pgquery in shell to normalize and match queries from various sources
How to use subtransactions in Postgres
Understand subtransactions, savepoints, and their impact on database performance
How to work with metadata
How to work with pg_stat_statements, part 1
Two branches of query optimization
Index maintenance
Over-indexing
psql shortcuts
Rough configuration tuning (80/20 rule; OLTP)
Understanding how sparsely tuples are stored in a table
Today, we'll discuss tuples and their locations in pages – this is quite entry-level material but useful in many cases.