Tag - indexes

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

Webinar Wednesday July 5, 2017: Indexes – What You Need to Know to Get the Most Out of Them

Indexes

Join Percona’s Senior Architect, Matthew Boehm, as he presents Indexes – What You Need to Know to Get the Most Out of Them on Wednesday, July 5, 2017 at 8:00 am PDT / 11:00 am EDT (UTC-7).
Register Now

Proper indexing is key to database performance. Find out how MySQL uses indexes for query execution, and then how […]

Read more

Basic Housekeeping for MySQL Indexes

MySQL Indexes

In this blog post, we’ll look at some of the basic housekeeping steps for MySQL indexes.
We all know that indexes can be the difference between a high-performance database and a bad/slow/painful query ride. It’s a critical part that needs deserves some housekeeping once in a while. So, what should you check? In no particular order, […]

Read more

Find unused indexes on MongoDB and TokuMX

Finding and removing unused indexes is a pretty common technique to improve overall performance of relational databases. Less indexes means faster insert and updates but also less disk space used. The usual way to do it is to log all queries’ execution plans and then get a list of those indexes that are not […]

Read more

Speed up MySQL Queries GROUP BY with subselects

Speed up queries on MySQL

We usually try to avoid subselects because sometimes they force the use of a temporary table and limits the use of indexes. But, when is good to use a subselect?
This example was tested over table a (1310723 rows), b, c and d ( 5 rows each) and with MySQL version 5.5 and 5.6.
Let’s suppose […]

Read more