Skip to content

Add optimisation for included references for MongoDB #2228

Description

@ml-evs

In the many-to-many case of relationships between entries (e.g., every structure has a distinct reference), our way of resolving relationships can be quite slow (we currently hook into the OPTIMADE ID filter and just do a bit chained OR). Ideally, this is something that should be handled directly by join queries in the backend. For MongoDB, this should be straight forward but will need some profiling on "real" databases first.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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