| From: | hubert depesz lubaczewski <depesz(at)depesz(dot)com> |
|---|---|
| To: | Julien Rouhaud <rjuju123(at)gmail(dot)com> |
| Cc: | Rushikesh socha <rushikesh(dot)s(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Exact same output - pg_stat_statements |
| Date: | 2023-01-09 10:15:06 |
| Message-ID: | Y7vpKiKXw1PdAlfg@depesz.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Tue, Jan 03, 2023 at 01:52:17PM +0800, Julien Rouhaud wrote:
> Resetting the data adds some noticeable overhead as newly added entries will
> need to generate a normalize query string and so on. What most people do is
> taking regular snapshots of pg_stat_statements (and other stats) view and then
> compare the snapshots. There are a few open source projects doing that
> available.
Why do you assume that the cost of normalization query string will be in
any way measurable? Especially in comparison do extra cost of doin math
on potentially thousands of rows?
Best regards,
depesz
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Torsten Förtsch | 2023-01-09 10:23:17 | Re: PITR and instance without any activity |
| Previous Message | Adrien Nayrat | 2023-01-09 09:58:52 | Re: PITR and instance without any activity |