Skip to content

simple queries are slower than aql? #9

@weissglut-dev

Description

@weissglut-dev

Hi,

I have an issue with the simple queries.

artist = db.collection(Artist.collection).document(key)

takes ~550 ms while

artist = list(db.execute_query("for a in prd_artist filter a._key == @val return a", bind_vars={'val': key}))[0]

only takes 110 ms

When I use the HTTP api of ArangoDB directly I see no difference.

Any chance to get this faster?

Thank you very much
Best Regards
Ludwig

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions