{"id":15501147,"url":"https://github.com/envek/puppet-pgtune","last_synced_at":"2025-12-11T21:39:19.696Z","repository":{"id":33023189,"uuid":"36658016","full_name":"Envek/puppet-pgtune","owner":"Envek","description":"Puppet module for configuring PostgreSQL installations for optimal performance.","archived":false,"fork":false,"pushed_at":"2016-10-10T11:55:20.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-05T10:02:14.260Z","etag":null,"topics":["optimization","performance","pgtune","postgresql","puppet","tuning"],"latest_commit_sha":null,"homepage":null,"language":"Puppet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Envek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-01T12:03:03.000Z","updated_at":"2016-10-10T11:04:24.000Z","dependencies_parsed_at":"2022-09-17T10:20:38.419Z","dependency_job_id":null,"html_url":"https://github.com/Envek/puppet-pgtune","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Envek/puppet-pgtune","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Envek%2Fpuppet-pgtune","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Envek%2Fpuppet-pgtune/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Envek%2Fpuppet-pgtune/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Envek%2Fpuppet-pgtune/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Envek","download_url":"https://codeload.github.com/Envek/puppet-pgtune/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Envek%2Fpuppet-pgtune/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265049471,"owners_count":23703537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["optimization","performance","pgtune","postgresql","puppet","tuning"],"created_at":"2024-10-02T09:02:36.653Z","updated_at":"2025-12-11T21:39:19.624Z","avatar_url":"https://github.com/Envek.png","language":"Puppet","readme":"# PgTune\n\n[![Puppet\nForge](http://img.shields.io/puppetforge/v/Envek/pgtune.svg)](https://forge.puppetlabs.com/Envek/pgtune) [![Build Status](https://travis-ci.org/Envek/puppet-pgtune.png)](https://travis-ci.org/Envek/puppet-pgtune) [![Puppet Forge\nDownloads](http://img.shields.io/puppetforge/dt/Envek/pgtune.svg)](https://forge.puppetlabs.com/Envek/pgtune/scores)\n\nPuppet module for configuring PostgreSQL installations for optimal performance.\n\nHeavily based on web version of [PgTune] utility by Alexey Vasiliev aka @le0pard. _Note: not all functionality is implemented yet._\n\nPlease note that such autoconfiguration is not absolutely optimal in every case and should be considered as \"quick start\" solution. Most probably at some point of time you will stop use this module and will pick `postgresql::server::config_entry` definitions from its `init.pp` with values optimal for you.\n\n\nInstallation\n------------\n\n### Using [librarian-puppet] _(recommended)_\n\nPlace in your `Puppetfile`\n\n\tmod 'Envek-pgtune'\n\nAnd execute\n\n\tlibrarian-puppet install\n\n### Just to install\n\nType on your Puppet master command:\n\n\tpuppet module install Envek-pgtune\n\nUsage\n-----\n\nTo configure by default:\n\n```puppet\ninclude pgtune\n```\n\nTo limit memory for PostgreSQL by a half of installed RAM:\n\n```puppet\nclass { \"pgtune\":\n\tavailable_memory_mb =\u003e $memorysize_mb / 2,\n}\n```\n\nTo specify database purpose and desired connection limit:\n\n```puppet\nclass { 'pgtune':\n\tmax_connections =\u003e 150,\n\tdb_type         =\u003e 'web',\n}\n```\n\n### Available DB types\n\n * `web`     - Web applications\n * `oltp`    - Online transaction processing systems\n * `dw`      - Data warehouses\n * `desktop` - Desktop applications\n * `mixed`   - Mixed type of applications (this is default)\n\n\nFound a mistake? Have a question?\n----------------------------------\n\nSearch for an (or open new) issue here: https://github.com/Envek/puppet-pgtune/issues or send a pull request!\n\n\nContributing\n------------\n\n 1. Fork it (\u003chttps://github.com/Envek/puppet-pgtune/fork\u003e)\n 2. Create your feature branch (`git checkout -b my-new-feature`)\n 3. Make your changes\n 4. Write tests for them, make sure that `rake test` passes\n 5. Commit your changes (`git commit -am 'Add some feature'`)\n 6. Push to the branch (`git push origin my-new-feature`)\n 7. Create a new Pull Request\n\n\n[PgTune]: http://pgtune.leopard.in.ua/\n[librarian-puppet]: http://librarian-puppet.com/\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvek%2Fpuppet-pgtune","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenvek%2Fpuppet-pgtune","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenvek%2Fpuppet-pgtune/lists"}