The standard for database governance
open coreMITself-hostablefreeMCP
Bytebase is a web platform for governing how people and AI agents change and query databases. Schema and data changes go through SQL review rules, risk-based approval flows and staged rollouts across environments, or through GitOps from GitHub, GitLab, Bitbucket or Azure DevOps; a shared SQL editor replaces passing around database passwords, with role-based and time-bound access, data masking and an audit log. It works with PostgreSQL, MySQL, Oracle, SQL Server, MongoDB, Snowflake and about 20 more engines, and offers an API, a Terraform provider and a built-in MCP server. The core is MIT licensed and self-hosts with Docker; Enterprise features need a licence, and Bytebase Cloud is the hosted version.
Problems it solves
- every schema migration goes straight to production with nobody reviewing the SQL first
- lint our database migration scripts against rules before a human approves them
- require a DBA's approval for risky schema changes in production but not in staging
- roll out the same schema change across hundreds of tenant databases in one batch
- developers share the production database password in Slack and we need to stop that
- give engineers temporary read access to a production database that expires automatically
- mask customer emails and card numbers when developers query production data
- keep an audit trail of every query and change made against our databases
- apply database changes from SQL files merged in GitHub or GitLab pull requests
- undo an accidental UPDATE or DELETE that changed the wrong rows in production
- one web SQL editor for Postgres, MySQL, Oracle, SQL Server and MongoDB with access control
- let AI agents query our databases with the same permissions, masking and audit as engineers
- define database approval flows and masking policies as code in Terraform
- track which schema version each environment's database is on
- classify sensitive columns and drive data access policies from the classification
- run database change management on our own servers because our databases are in a private VPC
- our compliance team needs a database change tool with SOC 2 Type II and a HIPAA BAA
- sign in to the database change tool with our company's OIDC or LDAP directory
- manage Snowflake, BigQuery and ClickHouse schema changes with the same review process as Postgres
Features
- change review with 100+ SQL review rules
- multi-step, risk-based approval flows per environment
- batch changes across fleets of databases
- data rollback for unintended UPDATE or DELETE statements
- GitOps with GitHub, GitLab, Bitbucket and Azure DevOps
- web SQL editor
- role-based and just-in-time, time-bound data access
- dynamic data masking and data classification (Enterprise)
- audit log: 7 days on Pro, unlimited on Enterprise
- API and built-in MCP server under the same access controls
View 6 more
- Terraform provider for approval, access, masking and SQL review policies
- supports MySQL, PostgreSQL, Oracle, SQL Server, MariaDB, TiDB, CockroachDB, Spanner, MongoDB, Redis, Snowflake, BigQuery, ClickHouse and more
- Google or GitHub sign-in on Pro; SSO through OAuth 2.0, OIDC or LDAP on Enterprise
- air-gapped self-hosted deployment
- HIPAA BAA and high availability as add-ons
- free Community plan for up to 20 users and 10 database instances
Limitations
- Doesn't support SAML single sign-on: SSO uses OAuth 2.0, OpenID Connect or LDAP1
- Bytebase Cloud is hosted only in the US: on Google Cloud's us-central region23
Ways to run it
Bytebase Cloud
Community free; Pro $20/user/month34
Only in this edition
- the Pro plan
- automatic maintenance on Google Cloud in the US
Not included
- the Enterprise plan, which the docs list as coming soon for Cloud3
Bytebase Community (self-hosted)
Only in this edition
- databases on private networks, VPCs or on premises
- air-gapped deployment
Not included
You arrange
- Docker 20.10.24 or later on linux/amd64 or linux/arm64
- a data volume for Bytebase's data
- network access from the server to your databases
- upgrades
Bytebase Enterprise (self-hosted)
contact sales (14-day free trial)3457
Only in this edition
- the Enterprise plan
- SSO through OAuth 2.0, OIDC or LDAP
You arrange
- Docker 20.10.24 or later on linux/amd64 or linux/arm64
- a data volume for Bytebase's data
- network access from the server to your databases
- upgrades
- an Enterprise licence
Capabilities
| Has an API | plan not known |
|---|---|
| Has an MCP server | plan not known |
| Has single sign-on | Every plan, priced by sales14 |
