samma89

readings Find Query

Apr 4th, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.74 KB | None | 0 0
  1. find{
  2.    find:"readings",
  3.    filter:{
  4.       tenant_id:ObjectId('5a2e649c4c174757ee049379'),
  5.       sensor_id:ObjectId('5a33a76c4c174757ee103f38')
  6.    },
  7.    sort:{
  8.       date:-1
  9.    },
  10.    limit:1
  11. }
  12. planSummary:IXSCAN{
  13.    tenant_id:1,
  14.    sensor_id:1,
  15.    data_type:1,
  16.    date:-1
  17. }
  18. keysExamined:88070
  19. docsExamined:88070
  20. hasSortStage:1
  21. cursorExhausted:1
  22. numYields:723
  23. nreturned:1
  24. reslen:600
  25. locks:{
  26.    Global:{
  27.       acquireCount:{
  28.          r:1448
  29.       },
  30.       acquireWaitCount:{
  31.          r:1
  32.       },
  33.       timeAcquiringMicros:{
  34.          r:1359
  35.       }
  36.    },
  37.    Database:{
  38.       acquireCount:{
  39.          r:724
  40.       }
  41.    },
  42.    Collection:{
  43.       acquireCount:{
  44.          r:724
  45.       }
  46.    }
  47. }protocol:op_query 2799ms
Add Comment
Please, Sign In to add comment