Skip to content
Presentation materials for the Annotated.Conf Tutorial
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
annotated.csv
edit.csv Added PDF version of the presentation. Added parallel query tuning to… Mar 26, 2018
extra.10.conf
guc_tutorial_10.odp
guc_tutorial_10.pdf
gucs.pgdump Upload for GUCS tutorial at SCALE 16x Mar 8, 2018
gucs.sql
postgresql.10.simple.conf

README.md

annotated.conf

This repo contains materials for the GUCS tutorial from SCALE 16x.

More importantly, it contains annotations of all 269 postgresql.conf settings for PostgreSQL 10.

Here's all the contents:

  • annotated.csv: a spreadsheet file of all 269 options ordered by category and subcategory, with recommendations and comments for your reference.
  • guc_tutorial_10.odp/pdf: the slides for the tutorial.
  • postgresql.10.simple.conf: a sample PostgreSQL 10 configuration file, with the 18 or so most common settings for users to alter called out.
  • extra.10.conf: an additional configuration file with another 24 options called out.
  • gucs.pgdump: a PostgreSQL 10 backup file, containing a database.
  • gucs.sql: a text-mode database dump

Load gucs.pgdump using pg_restore into a PostgreSQL 10 database:

createdb gucs
pg_restore -d gucs -x -O -U postgres gucs.pgdump

You can then query it to get ideas for specific settings, or maybe to even write a tuning tool of your own. The important tables are annotated which joins to the built-in pg_settings table, and the view annotated_report.

If you don't have PostgreSQL 10 on your desktop, then you can use an earlier version with the SQL file:

createdb gucs
psql -U postgres -f gucs.sql

... and ignore the messages about missing users etc. However, installing the gucs database onto an older version of Postgres will mean that new settings will be missing from the annotated_report, and some older ones may show up with no recommendations.

Corrections, Changes, and Arguments

See something missing? See something you disagree with? Issues noticed, and pull requests accepted.

Particularly, if someone wants to take on creating a formatted report based on the annotated_report, that would be lovely.

LICENSE

All of this material is licensed Creative Commons Share-Alike 4.0. Full text of license here

You can’t perform that action at this time.