News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
MongoDB Indexing, Part 1
May 06, 2013 @ 11:50:44

New on PHPMaster.com is the first part of their series about indexing in MongoDB, a method for optimizing your collections to make querying them even faster. They cover the five main types of indexes and situations where they can help.

Indexing is one of the more important concepts of working with MongoDB. A proper understanding is critical because indexing can dramatically increase performance and throughput by reducing the number of full documents to be read, thereby increasing the performance of our application. Because indexes can be bit difficult to understand, this two-part series will take a closer look at them.

They look at the default "_id" index, secondary, compound, multikey and multikey compound indexes. Example documents and results are included as well as some of the options that can be set on the index types to tweak performance. They finish up the article with a look at some of the limitations and considerations to think about when using indexing, including that they cannot be used with regex queries.

0 comments voice your opinion now!
mongodb index tutorial example document query series

Link: http://phpmaster.com/mongodb-indexing-1

blog comments powered by Disqus

Similar Posts

Jani Hartikainen's Blog: Zend_Acl part 2: different roles and resources, more on access

Raphael Stolt's Blog: Using MongoHq in Zend Framework based applications

Brandon Savage's Blog: Avoiding Notices: When to Use isset() and empty()

Etienne Kneuss' Blog: Late Static Bindings Explained

Alexey Zakhlestin's Blog: YAML: Syck for PHP is not read-only anymore


Community Events





Don't see your event here?
Let us know!


podcast conference list release community symfony series zendserver deployment development introduction language threedevsandamaybe code framework api bugfix tips laravel interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework