Tag - indexing

Using Partial and Sparse Indexes in MongoDB

MongoDb using partial sparse indexes

In this article I’m going to talk about partial and sparse indexes in MongoDB® and Percona Server for MongoDB®. I’ll show you how to use them, and look at cases where they can be helpful. Prior to discussing these indexes in MongoDB in detail, though, let’s talk about an issue on a relational database like […]

Read more

Identifying Unused Indexes in MongoDB

mongodb index usage stats PMM visualization

Like MySQL, having too many indexes on a MongoDB collection not only affects overall write performance, but disk and memory resources as well. While MongoDB holds predictably well in scaling both reads and writes options, maintaining a heathly schema design should always remain a core character of a good application stack.
Aside from knowing when […]

Read more

MongoDB Explain – Using PMM-QAN for MongoDB Query Analytics

MongoDB 4.0 Features Webinar

In this blog post, we will walk through PMM-Query Analytics for MongoDB. We will see how to analyze MongoDB query performance; review the initial parameters that we need to check; and find out how to compare MongoDB query performance with and without indexes with the help of EXPLAIN plan.
The Percona Monitoring and Management QAN (PMM-QAN) dashboard […]

Read more

MongoDB Indexing Types: How, When and Where Should They Be Used?

MongoDB Index Types

In this blog post, we will talk about MongoDB indexing, and the different types of indexes that are available in MongoDB.
Note: We are hosting a webinar on July 12, 2017, where I will talk about MongoDB indexes and how to choose a good indexing plan.
MongoDB is a NoSQL database that is document-oriented. NoSQL databases […]

Read more