Skip to content

A possible improvement to the metrics_writes and log_pack #40

@marcopeg

Description

@marcopeg

Right now we select from the metrics_writes into a temporary table.

Does "select for update" make a difference?

Should we mark the rows for deletion instead of deleting them, then drop them with a separated job?

Would it be interesting to use a table that is partitioned by time so that we can work only on the last set of rows, and drop entire partitions altogether when cleaning up?

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