Skip to content

What could explain long time to process a query? #3467

Open
@punkpeye

Description

@punkpeye

I have a query that returns a lot of data (large JSON blob).

If I run this query on the database, it takes less than 1m to execute (using EXLAIN ANALYZE).

However, when I observe the same query using open telemetry, it averages 40-50ms.

The database is hosted on same network with latency less than 1m.

What could explain the massive (~40ms) difference between how long the query is seen to execute using EXPLAIN ANALYZE and how long it takes to process using Node.js?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions