Chapter 4. Performance Tuning and Advanced Queries

One of the most important aspects when working with a database is optimization. In this chapter, we will look at how to tune RethinkDB to improve performance. A variety of settings helps us do this, and we'll also take a look at how to optimize queries.

This chapter also introduces RethinkDB's indexing, which allows us to boost query performance when working with large datasets.

In this chapter, you will also learn the following:

  • What indexing is and why you would want to use it
  • How to batch import data into RethinkDB
  • How to profile queries

At the end of the chapter, we'll also take a look at some more advanced queries, including joins and map/reduce queries.

Performance tuning

When we talk about performance ...

Get Getting Started with RethinkDB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.