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

Hive Tutorial 24 : MR vs Tez execution engines in Hive

Unix Tutorial 12 : Loop Types

Unix Tutorial 17 : Advance Unix