Know your migration's lock time before you merge
DBGorilla tests every GitHub and GitLab pull request against replayed production traffic on a production-like clone.
Every new account gets Pro free for 30 days, then it moves to our free tier if a credit card is not added.
On a populated orders table, PostgreSQL's regular CREATE INDEX blocks inserts, updates, and deletes until the build finishes. If this migration will run against live traffic, consider CREATE INDEX CONCURRENTLY and verify that the migration runner permits it outside a transaction.
What it catches in real pull requests
DBGorilla has been reviewing production pull requests for months. These are the problems it keeps catching:
Queries that ignore the tenant
A lookup accepts a tenant ID and never uses it, so one customer sees another customer's rows.
One query per row
A page loads child rows one parent at a time, so a page of 100 orders runs 101 queries.
Foreign keys with no index
A new foreign key has no index on the child column, so deleting a parent row scans the whole child table.
Setup
- Sign up and connect GitHub or GitLab.
- Open a pull request. The first review arrives in about two minutes.
- Add a read-only collector to your database. From then on, each pull request is tested on a production-like clone.
SQL Server
- PostgreSQL
- MySQL
- ClickHouse
- Apache Cassandra
Managed services
Azure SQL Database
Amazon RDS
Amazon Aurora
Cloud SQL
AlloyDB
Azure Database for PostgreSQL
Instaclustr
If you can connect to your managed database, so can the collector.
Coming soon
- MongoDB
- Apache Kafka
- OpenSearch
Questions
Not ready to add a read-only collector to your database?
DBGorilla still reviews the pull request using the diff and the repository's files. Collector setup is in the docs.
Does it work with GitHub and GitLab?
GitHub: install the DBGorilla app on your repositories. GitLab: add the DBGorilla bot to your group. Bitbucket is coming soon. Setup steps are in the GitHub guide and the GitLab guide.
What does the free tier include?
A set number of pull request reviews each month. You need no credit card to start.
Where is the security detail?
In the Security FAQ: every control, and what is enforced today.
migrations/002_orders_status_index.sqlline 1