Several JSON collection files to practice in MongoDB

512 views
Skip to first unread message

Hakan

unread,
May 3, 2015, 2:00:01 PM5/3/15
to mongod...@googlegroups.com
Hi,

For those who may want to practice the aggregation framework of MongoDB or other techniques using data in MongoDB, here is the repository that you can add new ones and find several samples 

Stephen Steneker

unread,
May 6, 2015, 6:04:05 AM5/6/15
to mongod...@googlegroups.com
On Monday, 4 May 2015 04:00:01 UTC+10, Hakan wrote:
For those who may want to practice the aggregation framework of MongoDB or other techniques using data in MongoDB, here is the repository that you can add new ones and find several samples 


Hi Hakan,

Thanks for sharing.

For those wanting some aggregation queries to try, the zip code examples in the manual might be an interesting starting point:

Regards,
Stephen

FredE Smit

unread,
May 6, 2015, 5:00:51 PM5/6/15
to mongod...@googlegroups.com
Thanks ,

I use the zip file to load my DB ,   I can I get started printing out the contents  - or modify it ?   I would to use it as a unit test to backup/restore a snapshot .

Stephen Steneker

unread,
May 7, 2015, 2:03:08 AM5/7/15
to mongod...@googlegroups.com, ste...@mongodb.com
Hi,

Just realised I forgot to mention a related approach, which would be to generate some test data which might be more representative for your use cases.

There are a number of tools which will create JSON documents (or in some cases, insert directly into MongoDB), eg

That's not a canonical list .. mostly the results of a quick search on "generate JSON data" ;-).

Regards,
Stephen
Reply all
Reply to author
Forward
0 new messages