Re: shared-memory based stats collector - v70
От | Drouvot, Bertrand |
---|---|
Тема | Re: shared-memory based stats collector - v70 |
Дата | |
Msg-id | caa515eb-e9e7-9fe7-ceb1-a96b6f3787ce@amazon.com обсуждение исходный текст |
Ответ на | Re: shared-memory based stats collector - v70 (Greg Stark <stark@mit.edu>) |
Ответы |
Re: shared-memory based stats collector - v70
Re: shared-memory based stats collector - v70 |
Список | pgsql-hackers |
Hi, On 7/21/22 5:07 PM, Greg Stark wrote: > On Wed, 20 Jul 2022 at 15:09, Andres Freund <andres@anarazel.de> wrote: >> What are your trying to do? > Ideally I would want to dump out the stats without connecting to each > database. I can see the use case too (specially for monitoring tools) of being able to collect the stats without connecting to each database. > It seems like just having an interface to iterate over the shared hash > table and return entries one by one without filtering by database > would be fairly straightforward and I would be able to do most of what > I want just with that. What do you think about adding a function in core PG to provide such functionality? (means being able to retrieve all the stats (+ eventually add some filtering) without the need to connect to each database). If there is some interest, I'd be happy to work on it and propose a patch. Regards, -- Bertrand Drouvot Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления: