Skip to content

Set up PMM Server

  1. Check system requirements.

    Disk

    Approximately 1 GB of storage per monitored database node with data retention set to one week. By default, retention is 30 days.

    Tip

    Disable table statistics to decrease the VictoriaMetrics database size.

    Memory

    A minimum of 2 GB per monitored database node. The increase in memory usage is not proportional to the number of nodes. For example, data from 20 nodes should be easily handled with 16 GB.

    Architecture

    Your CPU must support the SSE4.2 instruction set, a requirement of ClickHouse, a third-party column-oriented database used by Query Analytics. If your CPU is lacking this instruction set you won’t be able to use Query Analytics.

  2. Configure your network.

  3. Decide how you want to run PMM Server. Choose from:

  4. Authenticating using API keys.

    While adding clients to the PMM server, you use the admin user. However, if you change the password for the admin user from the PMM UI, then the clients will not be able to access PMM. Also, due to multiple unsuccessful login attempts Grafana will lock out the admin user. The solution is to use API key for authentication. You can use API keys as a replacement for basic authentication.


Last update: 2022-05-23