Files
devstack/lib
Dan Smith fe52d7f0a8 Change DB counting mechanism
The mysql performance_schema method for counting per-database queries
is very heavyweight in that it requires full logging (in a table) of
every query. We do hundreds of thousands in the course of a tempest
run, which ends up creating its own performance problem.

This changes the approach we take, which is to bundle a very tiny
sqlalchemy plugin module which counts just what we care about in
a special database.

It is more complex than just enabling the features in mysql, but it
is a massively smaller runtime overhead. It also provides us the
opportunity to easily zero the counters just before a tempest run.

Change-Id: I361bc30bb970cdaf18b966951f217862d302f0b9
2022-05-12 07:55:02 -07:00
..
2022-05-12 07:55:02 -07:00
2020-07-08 14:11:18 +00:00
2019-02-05 11:21:39 -05:00
2021-08-17 09:41:33 +02:00
2022-02-08 11:05:14 +01:00
2022-03-26 14:22:23 +08:00
2017-06-20 14:09:30 -04:00
2020-10-28 13:06:52 +00:00
2022-02-21 20:04:23 +01:00
2019-03-29 11:20:19 -07:00
2022-03-11 20:28:39 +00:00