Back to directory

Developer Tools · Build & Deployment

Bytebase

Database governance for change control, access, and compliance

Bytebase is an open-source database governance platform for developers, DBAs, platform engineers, and security teams. Its repository combines MIT-licensed code with enterprise-licensed directories and feature, permission, role, and plan controls. Community is free for self-hosting or Cloud, while Pro Cloud costs $20 per user per month and Enterprise pricing is custom.

Key facts

License
MIT with enterprise-licensed portions
Main language
Go, TypeScript
Maintainer
Bytebase
First released
2021
Latest release
3.23.1, October 8, 2026
GitHub stars
14.6k, October 2026
Hosted option
Community Cloud free, Pro Cloud $20/user/month

What Bytebase is

Bytebase is a database governance platform for reviewing changes and controlling access across databases. The repository identifies Tianzhou Chen as Tianzhou and lists Bytebase as maintainer; the funding announcement describes Tianzhou as the founder and says the team built database tooling at Google Cloud and Ant Group. GitHub lists 14,616 stars, 1,007 forks, and 10 named top contributors plus Renovate Bot. The repository was created in January 2021, and the company says it open-sourced version 0.1 in July 2021. Bytebase announced a $3 million seed round in November 2021, led by Matrix Partners China, with participation from PingCAP co-founder and CTO Dongxu Huang.

How it works

Bytebase organizes database work around reviewed changes and controlled access. A typical workflow connects an instance, creates a project, submits a schema or data change, runs plan checks and SQL review, obtains approval, and deploys through the web console. The README lists GUI-based request, review, deployment, and rollback workflows, GitHub and GitLab integrations, and more than 200 SQL lint rules. The product also includes a web SQL Editor, query history, saved queries, data browsing, query-plan visualization, Terraform support, and an API. Access controls include workspace and project roles, time-boxed grants, dynamic masking, and audit logging. MCP policies can restrict agent sessions to disabled, read-only, or read-write modes.

Architecture and recent releases

Bytebase is primarily implemented in Go and TypeScript, with JavaScript and C# also present in the repository. It runs as a web application and documents Docker and Helm deployment, storing application data under /var/opt/bytebase in the Docker example. The README lists PostgreSQL, MySQL, SQL Server, Oracle, MongoDB, Redis, MariaDB, TiDB, Snowflake, ClickHouse, Spanner, OceanBase, and other engines. Release 3.22.0 on August 28, 2026 added saved queries, project-scoped instances, Data Explorer, login-attempt lockout, and operational metrics. Release 3.23.0 on September 24 added MCP access policies, arbitrary OIDC workload identities, inline plan comments, and query-plan visualization. Release 3.23.1 followed on October 8.

License and pricing

Bytebase uses a split licensing model. Code outside enterprise directories and code controlling feature, permission, role, and plan enablement is under the MIT Expat license, which permits commercial use, modification, distribution, sublicensing, and sale subject to its notice requirements. Enterprise portions use LICENSE.enterprise. The Community plan is free for up to 20 users and 10 database instances, with self-hosted and Cloud availability. Pro is Cloud-only at $20 per user per month and includes 10 database instances. Enterprise pricing is custom, supports custom instance counts, and includes controls such as dynamic masking, OIDC, LDAP, SCIM, 2FA, audit logs, and custom approval. High availability is an Enterprise add-on.

Limitations and how it compares

Bytebase combines migration workflows, SQL access, approval controls, policy management, and audit records, but that breadth creates more administration than a focused migration utility. The split license also requires teams to identify which directories and controls use enterprise terms. Liquibase is a closer migration-focused alternative, while DBeaver concentrates on database access and development rather than organization-wide approvals. CloudBeaver offers browser-based database access with an open-source foundation, but it does not present the same documented change-governance scope. Bytebase should be selected by teams that need reviewed database changes, controlled access for people and agents, audit records, and a choice between Cloud and self-hosted deployment.

Main features

  • Change Management. Users request, review, deploy, and roll back database changes through a web console with controlled approval workflows.
  • GitOps Integration. GitHub and GitLab integrations support database-as-code workflows alongside Terraform, APIs, and release automation through the platform’s documented configuration and deployment interfaces.
  • SQL Review. More than 200 lint rules check SQL before deployment and enforce documented SQL standards and best practices.
  • Access Control. Workspace and project roles, time-boxed grants, and permissions control database access for users and agents.
  • Data Masking. Enterprise controls apply column-level dynamic masking according to user roles during database queries through the platform’s documented configuration and deployment interfaces.
  • Audit Logging. Audit records identify actors, database activities, and refused calls for operational and compliance review through the platform’s documented configuration and deployment interfaces.
  • MCP Access. An MCP server connects agents and IDEs while workspace policies limit sessions to disabled, read-only, or read-write modes.

Self-hosting Bytebase

Bytebase documents Docker and Helm installation. The Docker image publishes port 8080 and stores application data at /var/opt/bytebase. Docker 20.10.24 or newer is required, and published images support linux/amd64 and linux/arm64. The documentation describes transferring images into air-gapped environments and warns against running multiple containers on one data directory. Administrators should back up metadata before upgrades because in-place downgrade is unsupported. Community self-hosting is free for up to 20 users and 10 database instances; larger self-hosted deployments require Enterprise licensing. The published installation documentation does not specify minimum CPU or memory.

Strengths

  • It combines change management, SQL review, access control, masking, and audit logging in one application.
  • The supported database list covers relational, document, analytical, and distributed database systems.
  • Docker, Helm, Cloud, private-network, and air-gapped deployment paths are documented.
  • Recent releases added MCP controls, workload identities, saved queries, and project-scoped instances.

Drawbacks

  • The repository combines MIT code with enterprise-licensed portions, complicating license evaluation.
  • Pro is Cloud-only, while larger self-hosted deployments require an Enterprise license.
  • The broad feature set creates more administration overhead than a focused migration tool.

What teams replace with it

Teams usually evaluate Bytebase when they want to move off Liquibase, Flyway, DataGrip, DBeaver.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Bytebase

  • Liquibase
  • Flyway
  • DBeaver
  • CloudBeaver
  • SchemaHero

Frequently asked questions

Is Bytebase free?

Yes. The Community plan is free for up to 20 users and 10 database instances, with self-hosted and Cloud availability. Pro Cloud costs $20 per user per month. Enterprise pricing is custom. Self-hosted deployments beyond the Community limits require an Enterprise license.

Can Bytebase be used commercially?

Most Bytebase source code is under the MIT Expat license, which permits commercial use, modification, distribution, sublicensing, and sale subject to the license notice. Enterprise directories and code controlling features, permissions, roles, and plans use LICENSE.enterprise. Teams should inspect file locations and applicable notices before redistributing enterprise portions.

How do I self-host Bytebase, and what are the system requirements?

The documented installation methods are Docker and Helm. Docker 20.10.24 or newer is required, and published images support linux/amd64 and linux/arm64. Docker deployments use port 8080 and store data under /var/opt/bytebase. The documentation does not publish minimum CPU or memory requirements. Back up metadata before upgrades because in-place downgrade is unsupported.

How does Bytebase compare with Liquibase?

Liquibase focuses on database migration workflows, while Bytebase combines migrations with a web SQL Editor, approvals, access management, audit logging, masking, Git integrations, and MCP policies. Liquibase may fit teams focused on migration versioning. Bytebase fits teams that need governance around database users, agents, approvals, and operational access across multiple database engines.

Can Bytebase keep database data private?

Yes. Bytebase documents self-hosting in private networks, VPCs, on-premises environments, and air-gapped deployments. Self-hosting keeps the application on the organization's infrastructure. Enterprise adds controls including OIDC, LDAP, SCIM, two-factor authentication, audit logging, dynamic masking, and custom approval. Administrators remain responsible for securing the host, metadata, database connections, and credentials.

Similar projects to compare

Sources

Last updated 2026-10-22.