Answer the question
In order to leave comments, you need to log in
How to properly tune database configs, allocate resources?
I got a little confused with the configs, or rather with the distribution of resources.
There is a server with 32GB of RAM, 4 cores at 3.2GHz, 2TB HDD in the raid
Installed: PHP-FPM, MySQL, Postgresql, Nginx
I read about configs on ruhighload
Let's start with Postgresql:
shared_buffers:
should be set to 15..25% of all available RAM
should be set to 50%...75% of all available RAM
should be set to 70% ... 80% of all available memory
Answer the question
In order to leave comments, you need to log in
Here, according to the instructions, all 100% of RAM is allocated only for Postresql, such a config is only suitable if the server only has postgres running and no more.
start by understanding how much data and in which databases you have. And then you will start giving memory to Postgres, storing the main data in the Muscle.
the muscle has a separate song - engines. You write about innodb - do you store it in it?
In short, the first step is to collect statistics.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question