9. Optimize Agora

9.1. Database

To achieve good database performance, it is important to have adequate settings.

  1. Run gtagora db tune --storage-type ssd 8192 to supply the database with up to 8192 MB RAM and set the storage type to SSD.

  2. Execute gtagora rebuild to rebuild the docker-compose config

  3. Execute gtagora start to restart Agora

Important

Use -d/--dry-run to check the new parameters without writing them to the configuration.

Run gtagora db tune --help to see all different parameters of the db tune command.