diff --git a/README.md b/README.md index 174ecab..96609ea 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,13 @@ $ export MYSQL_DSN='user:pass@tcp(host:3306)/performance_schema?tls=skip-verify& $ ps-top ``` +A second use case of the `MYSQL_DSN` setting is to avoid the golang +driver executing some statements using prepare and close statement +steps. This adds a tiny bit of extra latency for queries sent to +the backend database. Adding the additional setting +`interpolateParams=true` to the DSN will avoid these stages thus +reducing the number of round trips made when making queries. + #### MySQL/MariaDB configuration The `performance_schema` database **MUST** be enabled for `ps-top` to work.