Re: Split index and table statistics into different types of stats - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Split index and table statistics into different types of stats
Date
Msg-id 20230109200457.iuynr4fjkc3w4dsd@awork3.anarazel.de
Whole thread Raw
In response to Re: Split index and table statistics into different types of stats  (Nitin Jadhav <nitinjadhavpostgres@gmail.com>)
List pgsql-hackers
Hi,

On 2023-01-09 17:08:42 +0530, Nitin Jadhav wrote:
> +1 to keep common functions/code between table and index stats. Only
> the data structure should be different as the goal is to shrink the
> current memory usage.

I don't think the goal is solely to shrink memory usage - it's also to make it
possible to add more stats that are specific to just indexes or just
tables. Of course that's related to memory usage...

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Fixing a couple of buglets in how VACUUM sets visibility map bits
Next
From: Tom Lane
Date:
Subject: Re: doc: add missing "id" attributes to extension packaging page