Skip to content

Parse server > 3.0.0 is VERY slow for count operations #5218

Closed
@SebC99

Description

@SebC99

Issue Description

With Parse server 3.0.0 everything is going fine, while with Parse server 3.1.1 & 3.1.2 (I haven't test with 3.1.0) count operations are very very slow.
It's immediately visible in Parse Dashboard, as the dashboard tries to display the count of each class (we have around 15 classes plus the parse ones), and it fails to do it, with most requests ending in timeout (especially the ones for the 'big' classes with more than 5M rows).
To be more precise, with Parse Server 3.0.0 those counts appear instantly.

Steps to reproduce

Open the Parse Dashboard on a server with 3.0.0 and compare it with a Parse Dashboard on a serveur with 3.1.1 (and lots of rows)

  • Server

    • parse-server version: 3.1.1 & 3.1.2
    • Operating System: AWS ELB
  • Database

    • MongoDB version: 3.6
    • Storage engine: wiredTiger
    • Localhost or remote server? Atlas

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