Bruce Momjian <[EMAIL PROTECTED]> writes: > The only open issue is per-table stuff, and I would like to see some > circular buffer implemented to handle that, with a collection process > that has access to shared memory. That will get us into locking/contention issues. OTOH, frequent trips to the kernel to send stats messages --- regardless of the transport mechanism chosen --- don't seem all that cheap either. > Even better, have an SQL table updated with the per-table stats > periodically. That will be horribly expensive, if it's a real table. I think you missed the point that somebody made a little while ago about waiting for functions that can return tuple sets. Once we have that, the stats tables can be *virtual* tables, ie tables that are computed on-demand by some function. That will be a lot less overhead than physically updating an actual table. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl
- Re: [HACKERS] Performance monit... Alfred Perlstein
- Re: [HACKERS] Performance monit... Philip Warner
- Re: [HACKERS] Performance monit... Jan Wieck
- Re: [HACKERS] Performance monit... Alfred Perlstein
- Re: [HACKERS] Performance monit... Jan Wieck
- Re: [HACKERS] Performance monit... Philip Warner
- Re: [HACKERS] Performance monit... Jan Wieck
- Re: [HACKERS] Performance monit... Samuel Sieb
- Re: [HACKERS] Performance monit... Tom Lane
- Re: [HACKERS] Performance monit... Bruce Momjian
- Re: [HACKERS] Performance monit... Tom Lane
- Re: [HACKERS] Performance monit... Bruce Momjian
- Re: [HACKERS] Performance monit... Tom Lane
- Re: [HACKERS] Performance monit... Bruce Momjian
- Re: [HACKERS] Performance monit... Jan Wieck
- Re: [HACKERS] Performance monit... Tom Lane
- Re: [HACKERS] Performance monit... Alfred Perlstein
- [HACKERS] Re: Performance monitor signal han... Thomas Swan
- [HACKERS] Re: Performance monitor signal... Alfred Perlstein
- Re: [HACKERS] Performance monitor signal handler Bruce Momjian
- Re: [HACKERS] Performance monitor signal handler Jan Wieck