Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
tutorial:adm:server_preparation_tmp [2020/03/11 09:50] urbanl [Database server installation - CentOS8 -!CHANGED] |
tutorial:adm:server_preparation_tmp [2020/03/11 10:05] urbanl [DB server configuration] |
||
---|---|---|---|
Line 187: | Line 187: | ||
systemctl enable postgresql | systemctl enable postgresql | ||
</ | </ | ||
- | ==== DB server configuration ==== | + | ==== DB server configuration |
First of all, enable the password authentication. | First of all, enable the password authentication. | ||
- | In the file ''/ | + | In the file ''/ |
< | < | ||
host all | host all | ||
Line 204: | Line 204: | ||
Now we can do DB sizing. We presume the system has 3GB dedicated for the db. We can also log the queries logging (those over 200ms). **For particular sizing, use a [[https:// | Now we can do DB sizing. We presume the system has 3GB dedicated for the db. We can also log the queries logging (those over 200ms). **For particular sizing, use a [[https:// | ||
- | In a file ''/ | + | In a file ''/ |
< | < | ||
max_connections = 100 # (change requires restart) | max_connections = 100 # (change requires restart) | ||
Line 223: | Line 223: | ||
</ | </ | ||
- | Restart DB: '' | + | Restart DB: '' |
For Debian installation, | For Debian installation, |