2. /usr/bin/whoami
• Russell Smith
• Consultant for UKD1 Limited,
• External consultant for 10gen
• Help with code, architecture, infrastructure, devops, sysops, capacity
planning, etc
• <3 MongoDB, MySQL, Redis, Gearman, Neo4j, Kohana, Riak, PHP,
Debian, AWS, etc
3. What is MongoDB
• A scalable, high-performance, open source, document-oriented
database.
• Stores JSON like documents
• Commercially backed by 10gen
11. Indexes
• It’s usually a good idea to index your collections
• How and which columns depends on what you are doing
• explain
> db.test.ensureIndex({hello:1})
14. Questions / Further
• Come and ask me questions
• Updates can also push, set, increment, decrement, etc
http://bit.ly/gEfKOr
• Indexes can be across multiple keys, 2D (geo) and ASC / DESC
http://bit.ly/hpK68Q
• SQL -> Mongo chart
http://bit.ly/ig1Yfj