10gen: M101 MongoDB for Developers - class notes
Python JavaScript
Switch branches/tags
Nothing to show
Latest commit e3156f6 Dec 8, 2012 @mrdougwright Pymongo Replicaset
Permalink
Failed to load latest commit information.
views
.gitignore
README
aggregate_ex.js
bottle_ex.py
create_student_collection.js
grades.js
grades_5-3.js
hello.py
hello_world.py
homework_2_2.py
homework_3_1.py
hw5.js
mongo_exception.py
pymongo_getting_started.py
pymongo_to_replicaset.py
read_reddit.py
reddit.json
saving_data.py
using_dot_notation.py
using_find.py
using_find_and_modify.py
using_find_gt.py
using_find_with_selector.py
using_gridfs.py
using_insert.py
using_limit_skip_sort.py
using_regex.py
using_update.py
using_upsert.py
zips.json

README

Below is the README file for MongoDB. This repository contains programs and notes from the 10gen MongoDB course for developers. Enjoy.

MongoDB README

Welcome to MongoDB!

COMPONENTS

  bin/mongod - The database process.
  bin/mongos - Sharding controller.
  bin/mongo  - The database shell (uses interactive javascript).

UTILITIES

  bin/mongodump         - MongoDB dump tool - for backups, snapshots, etc..
  bin/mongorestore      - MongoDB restore a dump
  bin/mongoexport       - Export a single collection to test (JSON, CSV)
  bin/mongoimport       - Import from JSON or CSV
  bin/mongofiles        - Utility for putting and getting files from MongoDB GridFS
  bin/mongostat         - Show performance statistics

RUNNING

  For command line options invoke:

    $ ./mongod --help

  To run a single server database:

    $ mkdir /data/db
    $ ./mongod
    $
    $ # The mongo javascript shell connects to localhost and test database by default:
    $ ./mongo 
    > help

DRIVERS

  Client drivers for most programming languages are available at mongodb.org.  Use the 
  shell ("mongo") for administrative tasks.

DOCUMENTATION

  http://www.mongodb.org/

MAIL LISTS AND IRC

  http://dochub.mongodb.org/core/community

32 BIT BUILD NOTES

  MongoDB uses memory mapped files.  If built as a 32 bit executable, you will
  not be able to work with large (multi-gigabyte) databases.  However, 32 bit
  builds work fine with small development databases.