Re: Split index and table statistics into different types of stats

From: "Drouvot, Bertrand" <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Split index and table statistics into different types of stats
Date: 2022-11-15 09:48:40
Message-ID: 8e8713ed-1663-f39b-effc-bd3e1632039a@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 11/14/22 11:36 AM, Drouvot, Bertrand wrote:
> On 11/4/22 9:51 PM, Melanie Plageman wrote:
>> Since you have made new parallel functions for indexes and tables for
>> many of the functions in pgstat_relation.c, perhaps it makes sense to
>> split it into pgstat_table.c and pgstat_index.c?
>
> Good point, thanks, I'll work on it.
>

Please find attached v4 adding pgstat_table.c and pgstat_index.c (and
removing pgstat_relation.c).

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v4-0001-split_tables_indexes_stats.patch text/plain 111.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2022-11-15 10:02:32 Re: Add LSN along with offset to error messages reported for WAL file read/write/validate header failures
Previous Message Simon Riggs 2022-11-15 09:34:29 Re: SUBTRANS: Minimizing calls to SubTransSetParent()