Skip to content

findOne is slow if collection transform is adding big fields #253

@namirsab

Description

@namirsab

Observed Behavior

After the latest release (2.30.2) I've realized one of my collections was performing much slower when finding documents ( from ms to 3-4 seconds). To fix it, I had to reduce the transform of the document to a simpler object.

Expected Behavior

Kadira does not make the app that slower when finding documents in the database.

Reproduce by

Create a transform that adds a big field to a collection.
Measure the time to find a document

@arunoda

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions