Skip to content

Fast most_recent_only belief lookup #2445

Description

@nhoening

This query should be fast also for sensors with a million beliefs.

It was once designed to be (using order by and LIMIT 1) but that can easily break, given our unstable index.

(maybe #2378 will improve this, or SeitaBV/timely-beliefs#237 already has on main - I know there has been recent work on improving queries)

Anyway, with FlexMeasures 0.33 on our live system, this is the current waiting times on an asset with a lot of data (our asset 1):

Image

Let's re-do this test when we run 1.0, and discuss what can be better.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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