Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

258
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda