O'Reilly logo

Getting Started with RethinkDB by Gianluca Tiepolo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required