MongoDB Tutorial 21 : Increasing Shell batch Size

By default Mongo prints out first 20 documents IIRC. If you want more you can define new value to batch size in Mongo shell, e.g.
DBQuery.shellBatchSize = 100

Comments

Popular posts from this blog

Sqoop tutorial 7 : File Formats

Sqoop tutorial 14 : Incrementally Importing Mutable Data

Sqoop tutorial 15 : Free-Form Query