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

Description
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.

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