Skip to content

RunningStats Base Type #2

Description

@danolivo

Thanks for the nice extension! It is a good example of how to move development in this area.
Your code gave me an idea for reducing complexity in statistical extensions like pg_stat_statements. For testing purposes, I implemented an experimental base type, RunningStats, to uniformly calculate and store statistics in my pet project (https://github.com/danolivo/pg_track_optimizer).
But this project seems too simple to maintain such code. Maybe you see any sense in adding this type to your extension?

The general idea here is to have a column type that can store statistics on a parameter incrementally and compute the mean and stddev uniformly, as you do in your aggregate.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions