ReinDBby Bandlei

ReinDB · MySQL · also for PostgreSQL · SQL Server · Oracle

MySQL and MariaDB performance monitoring that shows what changed

MySQL and MariaDB performance monitoring on performance_schema digests: hour-of-day baselines, query regression flags, rows examined vs returned, and online ALTER fix scripts with undo. Works on RDS. First database free.

Start free   Try the demo

Built on performance_schema

ReinDB reads statement digests from performance_schema with a read-only user that has SELECT on it: rows examined against rows returned, full scans and joins, on-disk temp tables and lock time per statement. It explains a sample statement and reads index usage and waits when they are enabled, and the connection test gives you the exact my.cnf line or parameter-group setting for anything that's off.

MySQL 5.7 to 9.7 and MariaDB 10.5+. Tested on Amazon RDS for MySQL.

What it flags

Every hour (or every 30 or 15 minutes) ReinDB measures each statement's time and reads since the last run and compares them with the median and spread for the same hour of the day over the last 14 days. Monday 9 AM is judged against other 9 AMs, not against 3 AM, so the batch peak is normal and a real regression stands out.

Ask in plain English (“load over the last 3 days”, “what flags fired this week?”) and the chart and caption come from the stored measurements.

Fix scripts a DBA can test

For the worst regressions ReinDB explains why the statement is slow (missing indexes found in the plan, full scans, on-disk temp tables, rows examined per row returned, N+1 patterns) and writes the fix as a script for change control: ALTER TABLE … ALGORITHM=INPLACE, LOCK=NONE, invisible indexes before a drop, every line commented out and every step with its undo. It never runs by itself. On RDS the fix names the parameter group setting to change and the aws rds command.

Deadlocks come with their tables, both statements and the one that was rolled back, from InnoDB status.

Prove the fix, then watch it

Beside a fix script, download a test kit for its index and statistics steps: prerequisite checks, before and after runs, go live, rollback and cleanup. Compare reads the two result files and shows times, reads, plans, a results checksum and a verdict. After the change, mark the fix and ReinDB compares the statement's time and reads before and after, and flags a new plan or the regression coming back.

Hosted, on-premises or air-gapped

Use it hosted (nothing to install; ReinDB connects over TLS with a read-only user from one fixed address), on your own Linux or Windows server for databases that never leave your network, including air-gapped ones, or deployed into your own AWS or Google Cloud account. See deployment options and pricing: your first database is free, with no time limit.

Start free   Try the demo

Read more

Or check a database once first, with no account: the free database health check.