MongoDB
NewCost and speed

Optimizing Document Lookup: Making Atlas Search and Vector Search Up to 5x Faster

Our short summary of MongoDB’s engineering write-up. The full story, with all the detail, is on their blog.

Read the full write-up on mongodb.com (opens in a new tab)

Problem

Document lookup added extra planning work, slowing search queries and using too much CPU.

Solution

They changed the lookup step to reuse query plans and share resources, cutting overhead and making $search and $vectorSearch up to five times faster.

Up to 5.5x faster queries

Want the architecture, code and numbers? They’re in the original post.

Read the full write-up on mongodb.com (opens in a new tab)

More from Cost and speed

All Cost and speed write-ups