Skip to content

Optimize database query performance for large datasets #10

Description

@JonatnKoskou

The get_historical_data function uses an unindexed query on the 'timestamp' column, leading to slow response times for large datasets. Adding an index on the 'timestamp' column in the 'historical_data' table and rewriting the query to use pagination would significantly improve query speed and reduce database load.

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