By default, Studio 3T (formerly MongoChef) loads the first 50 documents of a collection (i.e. dbCursor.find({}).limit(50)) when first opening a collection view.  As MongoDB documents can be up to 16MB in size, this can amount to serious traffic in some circumstances.

With version 1.7.2, we are now introducing a convenient way of limiting that initial number of documents manually. In the MongoChef’s preferences, you’ll now find a “Collection View” tab. Here, you can globally define the initial number of documents to load whenever a collection view is opened.

MongoChef: Limit number of documents to load

For more fine-grained control, for example, for collections with exceptionally large documents, Studio 3T now lets you specify the initial number of documents loaded in an ad-hoc manner as well. Simply right-click on the collection you would like to open in the open-connections tree in the left pane, and you will be given the option to “Open Collection View…”. This will first prompt you to enter the number of documents you would like to load initially.

MongoChef: Limit the number of documents to load (ad-hoc mode)