Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading