com presentations: Last updates for the MongoDB UK talks: mongo-index-mongouk12.xml slides/mongodb/idx-geo-geohash.xml
slides/mongodb/idx-how-do-you-find-a-city.xml slides/mongodb/idx-options.xml slides/mongodb/idx-stored.xml slides/mongodb/index-jp.jpg
slides/mongodb/mongo-index-store.png
| From: | Derick Rethans | Date: | Tue, 19 Jun 2012 16:02:58 +0000 |
| Subject: | com presentations: Last updates for the MongoDB UK talks: mongo-index-mongouk12.xml slides/mongodb/idx-geo-geohash.xml slides/mongodb/idx-how-do-you-find-a-city.xml slides/mongodb/idx-options.xml slides/mongodb/idx-stored.xml slides/mongodb/index-jp.jpg slides/mongodb/mongo-index-store.png |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1822@lists.php.net to get a copy of this message | ||
Commit: ec3fd8432160194246d33c67fad2b1d846ac406d
Author: Derick Rethans <github@derickrethans.nl> Tue, 19 Jun 2012 17:02:58 +0100
Parents: efe08eab845fffaf68aff55ea5af8dbb3d780ff2
Branches: master
Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=ec3fd8432160194246d33c67fad2b1d846ac406d
Log:
Last updates for the MongoDB UK talks
Changed paths:
M mongo-index-mongouk12.xml
A slides/mongodb/idx-geo-geohash.xml
M slides/mongodb/idx-how-do-you-find-a-city.xml
A slides/mongodb/idx-options.xml
M slides/mongodb/idx-stored.xml
A slides/mongodb/index-jp.jpg
A slides/mongodb/mongo-index-store.png
Diff:
diff --git a/mongo-index-mongouk12.xml b/mongo-index-mongouk12.xml
index 73edb8d..1dce5c0 100644
--- a/mongo-index-mongouk12.xml
+++ b/mongo-index-mongouk12.xml
@@ -34,11 +34,17 @@ sleep 4; for i in
seq 0 7; do ^Crefox http://pres/show2.php/mongo-index-mongou
<slide>slides/mongodb/idx-how-do-you-find-a-large-city-on-a-mountain.xml</slide>
<slide>slides/mongodb/idx-cities-by-pop-and-dem.xml</slide>
<slide>slides/mongodb/idx-cities-by-pop-and-dem2.xml</slide>
+<slide>slides/mongodb/idx-stored.xml</slide>
<slide>slides/mongodb/idx-cities-by-pop-and-dem3.xml</slide>
<slide>slides/mongodb/idx-cities-by-pop-and-dem4.xml</slide>
<slide>slides/mongodb/idx-cities-by-pop-and-dem6.xml</slide>
<slide>slides/mongodb/idx-cities-by-pop-and-dem5.xml</slide>
+<slide>slides/mongodb/idx-recap1.xml</slide>
+<slide>slides/mongodb/idx-recap2.xml</slide>
+
+
+<slide>slides/mongodb/idx-options.xml</slide>
<slide>slides/mongodb/idx-unique.xml</slide>
<slide>slides/mongodb/idx-sparse.xml</slide>
<slide>slides/mongodb/idx-sparse2.xml</slide>
@@ -58,8 +64,6 @@ indexonly
multikey
2d
-<slide>slides/mongodb/idx-recap1.xml</slide>
-<slide>slides/mongodb/idx-recap2.xml</slide>
<slide>slides/mongodb/idx-recap3.xml</slide>
<slide>slides/mongodb/resources.xml</slide>
diff --git a/slides/mongodb/idx-geo-geohash.xml b/slides/mongodb/idx-geo-geohash.xml
new file mode 100644
index 0000000..d0d8452
--- /dev/null
+++ b/slides/mongodb/idx-geo-geohash.xml
@@ -0,0 +1,35 @@
+<slide>
+<title>Geohashes</title>
+
+<div effect="fade-out">
+<image filename="geohash1.png"/>
+</div>
+
+<div effect="fade-in-out">
+<image filename="geohash2.png"/>
+<blurb align="center">Geohash so far: *00*</blurb>
+</div>
+
+<div effect="fade-in-out">
+<image filename="geohash3.png"/>
+<blurb align="center">Geohash so far: 00*11*</blurb>
+</div>
+
+<div effect="fade-in-out">
+<image filename="geohash4.png"/>
+<blurb align="center">Geohash so far: 0011*01*</blurb>
+</div>
+
+<div effect="fade-in">
+<image filename="geohash5.png"/>
+<blurb align="center">Geohash so far: 001101*00*</blurb>
+</div>
+
+<div effect="fade-in">
+<example inline="1">db.cities.ensureIndex( { location: '2d', *bits: 4* }
)</example>
+<list>
+ <bullet>Default %bits% is 26, about 0.3 meter resolution (~½ * 40000 /
2^26~)</bullet>
+</list>
+</div>
+
+</slide>
diff --git a/slides/mongodb/idx-how-do-you-find-a-city.xml
b/slides/mongodb/idx-how-do-you-find-a-city.xml
index 7cc8335..87e4a49 100644
--- a/slides/mongodb/idx-how-do-you-find-a-city.xml
+++ b/slides/mongodb/idx-how-do-you-find-a-city.xml
@@ -9,5 +9,7 @@
<list>
<bullet>Let's create an index!</bullet>
</list>
+
+<image filename="index.jpg" align="right" pdf-scale="0.2"
x-offset="19" y-offset="5.5"/>
</div>
</slide>
diff --git a/slides/mongodb/idx-options.xml b/slides/mongodb/idx-options.xml
new file mode 100644
index 0000000..65e3e5e
--- /dev/null
+++ b/slides/mongodb/idx-options.xml
@@ -0,0 +1,8 @@
+<slide>
+<title>Index options</title>
+
+<image filename="index-jp.jpg"/>
+
+<break lines="3"/>
+<blurb align="center">MongoDB has a few options for indexes as well</blurb>
+</slide>
diff --git a/slides/mongodb/idx-stored.xml b/slides/mongodb/idx-stored.xml
index a3f6c8f..58e9256 100644
--- a/slides/mongodb/idx-stored.xml
+++ b/slides/mongodb/idx-stored.xml
@@ -1,5 +1,5 @@
<slide>
-<title>Index ordering</title>
+<title>Storing indexes</title>
-<image filename="mongo-compound-index.png"/>
+<image filename="mongo-index-store.png"/>
</slide>
diff --git a/slides/mongodb/index-jp.jpg b/slides/mongodb/index-jp.jpg
new file mode 100644
index 0000000..03c74f9
Binary files /dev/null and b/slides/mongodb/index-jp.jpg differ
diff --git a/slides/mongodb/mongo-index-store.png b/slides/mongodb/mongo-index-store.png
new file mode 100644
index 0000000..0253d57
Binary files /dev/null and b/slides/mongodb/mongo-index-store.png differ