all AI news
Setting and Displaying Patroni's Max Connection Count
Sept. 27, 2023, 1:21 p.m. | Doğukan Eren
DEV Community dev.to
Patroni configuration are mainly stored in patroni.yaml. Find the path of that yaml.
Not: Patroni configurations are primarily stored in patroni.yaml. Find the path to that YAML file.
This command lists Patroni clusters and hosts.
patronictl -c /etc/patroni.yml list
To edit PostgreSQL settings in Patroni, you can use the 'edit-config' command.
patronictl -c /etc/patroni.yaml edit-config
Modify the 'max_connections' line within 'postgresql.parameters', and create it if it does not already exist.
.
postgresql
parameters
max_connections: 200
.
To display …
beginners command count database edit etc linux list lists max path postgres postgresql yaml
More from dev.to / DEV Community
Jobs in AI, ML, Big Data
AI Research Scientist
@ Vara | Berlin, Germany and Remote
Data Architect
@ University of Texas at Austin | Austin, TX
Data ETL Engineer
@ University of Texas at Austin | Austin, TX
Lead GNSS Data Scientist
@ Lurra Systems | Melbourne
Data Science Analyst
@ Mayo Clinic | AZ, United States
Sr. Data Scientist (Network Engineering)
@ SpaceX | Redmond, WA