9. Optimize Agora¶
9.1. Database¶
To achieve good database performance, it is important to have adequate settings.
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.Execute
gtagora rebuild
to rebuild the docker-compose configExecute
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.