Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

maintaining "unique dbnames" is too costly #525

@markwort

Description

@markwort

On a productive pgwatch2 setup using timescaledb, maintining the list of unique dbnames is too taxing.

Every pgwatch2 daemon (of which I have one for every DB instance here, 24 in total) runs UniqueDbnamesListingMaintainer every 24 hours.
This results in full scans of all metric tables, just to maintain the list of active dbnames.

image

Maybe there should be a way to ensure this maintaining is not done more often than necessary.

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions