Code Monkey home page Code Monkey logo

annotated.conf's Introduction

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

annotated.conf's People

Contributors

jberkus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.