MongoDb

  • Scalable
  • Indexing
  • Geo-spatial indexing, finding objects by location, proximity
  • Auto Sharding (version 1.7 onwards) – scaling by division
    • Queries can be run in parallel across all shards
  • Storage – disk based, using BSON (Binary serialized JSON)
  • Supports binary large objects, images, videos
  • Database replication
    • support of replication clusters
    • Automatic fail-over
    • Master slave(s) configuration

Concepts/Terms MongoDB==Relational DB

  • Documents == records/objects
  • Collections == tables
    • A collection may have heterogeneous set of documents
    • No need to pre-define columns or fields within a collection
  • query == cursor
  • Index == indexes
  • embedding and linking == Join
  • Queries return cursor not collections (for performance reasons)
  • Drawbacks

  • No Transaction support
  • No data integrity
  • MongoDB – Installation and First Steps

    MongoDb Interactive shell – basic commands

    MongoDb Interactive shell – searching records

    Advertisements

    Tags: ,

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out /  Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out /  Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out /  Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out /  Change )

    Connecting to %s


    %d bloggers like this: