From: | Tomas Vondra <tomas(at)vondra(dot)me> |
---|---|
To: | Robert Treat <rob(at)xzilla(dot)net>, Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com> |
Cc: | wenhui qiu <qiuwenhuifx(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: PoC: history of recent vacuum/checkpoint runs (using new hooks) |
Date: | 2025-01-07 21:19:36 |
Message-ID: | 25dce92f-43f4-42b3-8370-313e4be7796b@vondra.me |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 1/7/25 21:42, Robert Treat wrote:
> On Tue, Jan 7, 2025 at 10:44 AM Bertrand Drouvot
> <bertranddrouvot(dot)pg(at)gmail(dot)com> wrote:
>>
>> ...
>>
>> Another idea regarding the storage of those metrics: I think that one would
>> want to see "precise" data for recent metrics but would probably be fine with some
>> level of aggregation for historical ones. Something like being able to retrieve
>> "1 day of raw data" and say one year of data aggregated by day (average, maximum,
>> minimum , standard deviation and maybe some percentiles) could be fine too.
>>
>
> While I'm sure some people are ok with it, I would say that most of
> the observability/metrics community has moved away from aggregated
> data storage towards raw time series data in tools like prometheus,
> tsdb, and timescale in order to avoid the problems that misleading /
> lossy / low-resolution data can create.
>
That's how I see it too. My primary goal is to provide the raw data,
even if it covers only a limited amount of time, so that it can be
either queried directly, or ingested regularly into something like
prometheus.
I can imagine a more complicated system, aggregating the data after into
a lower resolution (e.g. per day). But that's not a complete solution,
because e.g. what if there are many relations that happen to be related
only once per day?
regards
--
Tomas Vondra
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2025-01-07 21:21:38 | Re: Re: proposal: schema variables |
Previous Message | Nathan Bossart | 2025-01-07 21:08:57 | Re: Parametrization minimum password lenght |