Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MongoDB Compass displaying documents 20 limit

I want to able Compass show more than 20 documents per 'page' e.g. 1-100 of 400

Screen of problem:

enter image description here

Already tried: View more than 20 most recent documents in MongoDB Compass from Schema I don't need to limit all results

How to print out more than 20 items (documents) in MongoDB's shell? On this step i want see results in Compass itself. DBQuery.shellBatchSize = 300 do nothing - tried in shell and restart mongo+compass both

like image 909
Mega Proger Avatar asked Apr 08 '19 08:04

Mega Proger


People also ask

How many documents can a MongoDB collection handle?

If you specify the maximum number of documents in a capped collection with create 's max parameter, the value must be less than 2 31 documents. If you do not specify a maximum number of documents when creating a capped collection, there is no limit on the number of documents.

How do I limit the number of files in MongoDB?

Set Documents to Return To specify the limit: In the Query Bar, click Options. Enter an integer representing the number of documents to return into the Limit field. Click Find to run the query and view the updated results.

How does MongoDB define maximum number of documents in collection?

Unless you create a capped collection, there is no limit to the number of documents in a collection. There is a 16MB limit to the size of a document (use gridfs in this situation) and limits in the storage engine for the size of the database and data.

Does MongoDB have a limit?

The maximum size an individual document can be in MongoDB is 16MB with a nested depth of 100 levels. Edit: There is no max size for an individual MongoDB database.


1 Answers

Basically, you can export data to json or csv without paging limit by using menu Collection->Export Collection and then 'Export Full Collection'

http://docs.mongodb.com/compass/master/import-export/

like image 174
Pavel Avatar answered Oct 18 '22 16:10

Pavel