Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lesuisse/repro-issue-percona-high-cpu-usage-select-for-update


https://github.com/lesuisse/repro-issue-percona-high-cpu-usage-select-for-update

Last synced: 16 days ago
JSON representation

Awesome Lists containing this project

README

        

# Quick (& dirty) reproduction scenario of high CPU usage when running `SELECT ... FOR UPDATE` queries on Percona

You can start the stack using Docker Compose with `docker compose up`.
2 DB servers running the [same workload](./repro.php) will be started:
* one is using the `percona` image and consumes more resources than expected
* the other is using the `mysql` image

## Flamegraph

On my initial Rocky Linux 9 environment I generated flamegraphes of MySQL and Percona running the same workload.

Percona: ![Flamegraph issue Percona](./flamegraph-percona.svg)

MySQL: ![Flamegraph issue MySQL](./flamegraph-mysql.svg)