Skip to content

Improve SQL performance by not forcing sentDate #381

@guusdk

Description

@guusdk

When a message query is performed without a date range, the existing implementation uses epoch and 'now' to define a range. This effectively covers every message in the archive, and thus should be benign.

Using an explicit data range does require the database to evaluate these values, which can result in sub-optimal performance.

The plugin should be modified to no longer explicitly use epoch and now when no data range is provided.

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