P. 1
Indexes, what Indexes?

Indexes, what Indexes?

|Views: 208|Likes:
Published by Alvin John Richards
B-Trees, Sparse and Covered indexes and how MongoDB uses them still confusing you? In this talk we will dive into the different indexes that are available, how query plans are executed and the internals of index evaluation including understanding of the explain output.
B-Trees, Sparse and Covered indexes and how MongoDB uses them still confusing you? In this talk we will dive into the different indexes that are available, how query plans are executed and the internals of index evaluation including understanding of the explain output.

More info:

Published by: Alvin John Richards on May 25, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/07/2012

pdf

text

original

db.blogs.save({
author: "James",
ts: new Date()
});

db.blogs.ensureIndex({author: 1, ts: -1})

8

Wednesday, May 25, 2011

db.blogs.save({
...
title: "My first blog"
});

db.blogs.ensureIndex({title: 1}, {unique: true})

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->