Re: Why our counters need to be time-based WAS: WIP: cross column correlation ... - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Why our counters need to be time-based WAS: WIP: cross column correlation ...
Date
Msg-id m2k4gj9qcu.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: Why our counters need to be time-based WAS: WIP: cross column correlation ...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:
> The ideal solution would likely be for the stats collector to expose its
> data structures as shared memory, but I don't think we get to do that
> under SysV shmem --- it doesn't like variable-size shmem much.  Maybe
> that's another argument for looking harder into mmap or POSIX shmem,
> although it's not clear to me how well either of those fixes that.

We could certainly use message passing style atop pgpipe.c here, right?

After all we already have a protocol and know how to represent complex
data structure in there, and all components of PostgreSQL should be able
to alleviate this, I'd think.  Or this fever ain't really gone yet :)

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Jan Urbański
Date:
Subject: Re: pl/python tracebacks
Next
From: Fujii Masao
Date:
Subject: Re: Sync Rep v17