senecajs / seneca-mongo-store

Node.js Seneca data storage plugin for MongoDB
MIT License
35 stars 42 forks source link

seneca list$ query performance #62

Open jitchavan opened 7 years ago

jitchavan commented 7 years ago

db.getCollection('result').find({ Id: 'k3h5kj34h53k4j54667gfh' }).explain("executionStats")

If we run above query in Robomongo it is taking 0.13-0.16 sec

if we run this query with seneca list$ it is taking 1260 ms = 1.2 - 1.6 sec

we have already added indexes on appropriate collections.

Is there anything we are missing here?

Peyton-lee commented 5 years ago

somebody help?

rjrodger commented 3 years ago

better tracing needed within seneca stores