Introducing the New Compose Data Browser


We'd like to announce the new Compose Data Browser, our database and data viewer, is now running for all Compose customers. When you are on the Compose dashboard and you click on a deployment, that's when Data Browser takes over. It's what lets you create and query MongoDB collections, view collection, database and index sizes, add and drop users, create new documents, and remove existing ones.

Screenshot 2015-01-14 20.11.21

On the surface and on first glance, Data Browser looks like our old tools. But behind the scenes there's been a complete rewrite so we can bring you new features to your Compose database management faster.

Data Browser

Top of the list of features is performance; we've made Data Browser run faster than ever and with less network traffic so it's as responsive as a desktop tool. We're also giving better visibility to database size information with the Admin view showing data size, index size and file size. You can also see the overall allocated size of each database in the deployment view.

Data Browser

If you've used the collection query builder to browse your data, you may have noticed the newly added hint() option which lets you override which indices your query uses. We've also allowed you to raise your limit() limits when querying because our performance has improved; we still default the limit() to ten and give you the ability to page through your results though to keep things manageable. If your MongoDB database is version 2.6 or later, we've also added a safety net for your queries by setting maxTimeMS to 20 seconds – which means if your query takes longer than 20 seconds, it will automatically stop the query executing.

When you've got your results, you can click into them to edit the documents in place. With the new Data Browser, we've made sure our BSON support is comprehensive by adding support for Binary and NumberLong types and safe encoding. We've made the editor a little safer too so that if you've put non UTF8 documents in your database, they'll be displayed in read-only mode.

Screenshot 2015-01-14 20.20.16

Adding a database now has a simple pseudo-command interface. Just enter the name of a new database after use and hit return to create it. You'll be able to start creating collections in that database almost immediately - and that also uses the same interface for createCollection().

Screenshot 2015-01-14 20.13.09

We've also added progress reports when you create new indexes to make life even easier when you ask MongoDB to build a more complex or larger index.

All these changes are just the start though. We'll be enhancing the Compose Data Browser for MongoDB over the coming months and expanding its availability over other Compose deployments.

Dj Walker-Morgan
Dj Walker-Morgan is Compose's resident Content Curator, and has been both a developer and writer since Apples came in II flavors and Commodores had Pets. Love this article? Head over to Dj Walker-Morgan’s author page and keep reading.