The database is used to store pending builds.
Having an external database as a dependency is fragile - it's not monitored and configuration and setup is done manually.
sqlite should easily be able to handle the load from one single-threaded process.
From postmortem: https://docs.google.com/document/d/187LmN11xtMc5EzyovSZNlKYjWklP0x5Ywbpl3DRbJ0c/edit
Chris will add some instrumentation to buildbot's db code in build/third_party/buildbot_8_4p1/buildbot/db/*.py.
Look in buildbot/status/web/baseweb.py for an example, and http_metrics.py in infra/packages/infra_libs.
We want:
Query count
Query response (success/failure)
Rows touched/returned
Duration
Fields:
SQL verb (SELECT/UPDATE/...)
Table
Comment 1 by dsansome@chromium.org
, Jun 16 2016