Generate ALTER SYSTEM commands
See original GitHub issueHi, thx for great tool.
After postgresql 9.4 you can use ALTER SYSTEM SET to change individual options. IMO it will be good that those statements are also generated. This way you can very easy change configuration.
So that you get something like this:
ALTER SYSTEM SET max_connections = '16';
ALTER SYSTEM SET shared_buffers = '4GB';
ALTER SYSTEM SET effective_cache_size = '12GB';
ALTER SYSTEM SET work_mem = '256MB';
ALTER SYSTEM SET maintenance_work_mem = '1GB';
ALTER SYSTEM SET min_wal_size = '1GB';
ALTER SYSTEM SET max_wal_size = '2GB';
ALTER SYSTEM SET checkpoint_completion_target = '0.7';
ALTER SYSTEM SET wal_buffers = '16MB';
ALTER SYSTEM SET default_statistics_target = '100';
br
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
ALTER SYSTEM
Use the ALTER SYSTEM statement to dynamically alter your Oracle Database instance. The settings stay in effect as long as the database is...
Read more >Documentation: 15: ALTER SYSTEM - PostgreSQL
ALTER SYSTEM is used for changing server configuration parameters across the entire database cluster. It can be more convenient than the traditional method...
Read more >ALTER SYSTEM - Apache Drill
Use the ALTER SYSTEM SET command to permanently set Drill query planning and execution options per cluster. Options set at the system level...
Read more >Granting ALTER SYSTEM KILL SESSION to users
To do this, simply create a packaged procedure which kills sessions, and grant execute privileges on that. Again, I would not grant alter...
Read more >alter system kill session - Oracle Base
The basic syntax is similar to the KILL SESSION command with the addition of the POST_TRANSACTION clause. The SID and SERIAL# values of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@josuamarcelc let’s read for example
shared_buffers
setting from official dochttps://www.postgresql.org/docs/14/runtime-config-resource.html
Same for
max_worker_processes
And many other params.
So your proposal will not work.
Released new version with “ALTER SYSTEM” commands