Logo
Explore Get Started
openstack/devstack
Code Issues Proposed changes
Files
master
devstack/tools/dbcounter/pyproject.toml

3 lines
98 B
TOML
Raw Permalink Normal View History

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-04-28 12:34:38 -07:00
[build-system]
requires = ["sqlalchemy", "setuptools>=42"]
build-backend = "setuptools.build_meta"
Copy Permalink
Powered by Gitea Version: v1.25.4 Page: 61ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API