Knowledge base · Studio 3T Desktop IDE

How to Tell Your MongoDB Production and Test Databases Apart

By Kathryn Vargas · Updated

One of our users’ favorite features is the ability to color-code collections and databases. It makes differentiating MongoDB production databases from test databases easier and prevents accidents from mixing up the two.

For example, you can color-code your production database red by right-clicking on the database and selecting Choose Color > Red.

Watch the video on YouTube

Note that this will color-code all the folders and collections within the database. If you want to color-code a specific collection, simply right-click that collection instead of the database.

Choose your databases's color

Now that the production data is clearly marked red, we can go ahead and color-code our test database green.

Choose the color for your test database

Now, you can open your MongoDB production and test collections side by side and conveniently switch back and forth between them.

You can have your test and production collections open side by side too

Work with MongoDB collections and databases sans sweaty palms with Studio 3T’s color-coding feature. It makes everything clear in one glance, and you can rest assured you won’t make the mistake of accidentally updating your live database.

Once you’re all set up, learn a few shortcuts and discover the three ways to view your MongoDB data.

With your consent, we and third-party providers use cookies and similar technologies on our website to analyse your use of our site for market research or advertising purposes, including personalized advertising (“performance”), to provide you with additional functions (“functional”), and to show content from social media platforms, such as embedded videos (“social media”). This may result in the creation of pseudonymous usage profiles and the transfer of personal data to third countries, including the USA, which may have no adequate level of protection for the processing of personal data. Please choose for which purposes you wish to give us your consent and store your preferences by clicking on “Accept selected”. You can find further information in section 9 of our Privacy Policy.

Manage consent preferences