Skip to content

Additional Indexes for Database Query Performance #457

Description

@ccheongu

Adding indexes on reporting and run_fields is likely to improve the performance of queries on the YathUI database, especially those looking back on data for a large number of runs in a window.

Specifically,

CREATE INDEX reporting_run_analytics
ON reporting (run_id, test_file_id, subtest, pass, fail, duration);
CREATE INDEX run_fields_name ON run_fields (name);

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