Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

259
Visualizações
MognoDB what KeysExamined means?

MongoDB .explain("executionStats") shows keysExamined of something around 103,000 but I cant find out what it means.

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

From MongoDB docs:

explain.executionStats.totalKeysExamined

Number of index entries scanned. totalKeysExamined corresponds to the nscanned field returned by cursor.explain() in earlier versions of MongoDB.

over 4 years ago · Santiago Trujillo Relatório

0

  1. This are good news when you have totalKeysExamined > 0 , this mean your query is using index. Here it is important to understand what is the size of your database , index selectivity , frequency and use case of this query to be identified if 103,000 is a good examination number for your search.

  2. If you have totalKeysExamined = 0 , and totalDocsExamined > 0 than you may need to create some indexes.

  3. The best case is when you have totalDocsExamined = 0 and totalKeysExamined > 0 , this is the case when you have the so called "covered query" , this is the fastest case where you search and load only from the index in memory and do not touch the rest part of the documents from storage.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda