Skip to content

Sentry database (postgresql) nodestore_node table size is growing huge. #2887

@amitesh2181763

Description

@amitesh2181763

Body

Hi Team,

From our initial Sentry setup, this "nodestore_node" table size is growing, and as per the sentry support side, we provided sentry database table (nodestore_node) table cleanup, which we are performing till now.

Cleanup procedure: 1) Deleting greater than 30 days of data from table "nodestore_node".
2) Use the pg_repack command to vacuum space.

Initial, we have seen our sentry database grow every day (5–6 GB), but now, in the last few months, we have seen the database size grow every day (10–12 GB), and due to this, we need to frequently do the cleanup to stop our application.

Can you please suggest if there is any other option apart from database cleanup to optimize our database and any way to set a limit on the amount of event data that is stored in our "nodestore_node"?

Also, what type of data is stored in this table, "nodestore_node," and is there any way to separate this data from the table., "nodestore_node"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    No status

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions