Announcement

Introducing MongoDB Support in Bytebase

Candy
2 min read

Why MongoDB

MongoDB is a popular document-oriented database with the scalability and flexibility that you want with the querying and indexing that you need. MongoDB stores data records as documents (specifically BSON documents) which are gathered together in collections. A database stores one or more collections of documents.

As the DB-Engines ranking shows, MongoDB is the only NoSQL database in the top 5. db-rank-3

Some Bytebase customers also have MongoDB besides MySQL/PostgreSQL, and they ask us if Bytebase can support MongoDB so they can manage all transactional database changes via Bytebase. Before MongoDB, Bytebase only supports databases having SQL interface. But the customers' request is reasonable, so the Bytebase team accepts the challenge and today we are excited to announce the MongoDB support.

Manage MongoDB Changes

With Bytebase 1.11.0, you can add an instance to connect to a MongoDB deployment, then you can:

  • Create an issue to create, update and delete documents in UI workflow and GitOps workflow. See the screenshot below to insert documents into the collection “student”.

insert-doc

  • Explore the migration history in the database details page.

migration-his

  • Run mongosh commands in SQL Editor admin mode.

admin-mode

Try MongoDB Yourself

Bytebase supports MongoDB 4.0, 5.0, and 6.0. Please follow installation guide to try it out. You can also join our discord to discuss all things Bytebase, share your feedback, and get help from the community.