Upgrade to Pro — share decks privately, control downloads, hide ads and more …

An Evening with MongoDB - Toronto 2012: Welcome...

mongodb
August 02, 2012
230

An Evening with MongoDB - Toronto 2012: Welcome and Keynote

Jenna deBoisblanc
Welcome to MongoDB Toronto and a keynote about what is happening with 10gen, the company behind MongoDB and what is to come.

mongodb

August 02, 2012
Tweet

Transcript

  1. MongoDB Releases 2.2 Aug ‘12 2.0 Sept ‘11 1.8 March

    ‘11 2.2-rc0: July 19th 2.2-rc1: targeted July 31st 2.2 – out shortly after
  2. Concurrency Stats db.serverStatus(-)- shows-db-level-locks page-fault-details • – – > db.serverStatus().recordStats

    { "accessesNotInMemory" : 1, "pageFaultExceptionsThrown" : 1, "local" : { "accessesNotInMemory" : 0, "pageFaultExceptionsThrown" : 0 }, "test" : { .... } “foo” : { ... } }
  3. “Time%To%Live” Use%field%in%document%to%specify%expiry Constraints Indexed%field%must%be%a%BSON%date%type Cannot%be%used%on%capped%collection • • • – –

    TTL Collections {_id:%1,%name:%“Jenna”,%status:%BSONDate} >%db.log.ensureIndex({“status”:%1},%{expireAfterSeconds:%3600})