Re: doc: explain pgstatindex fragmentation

Поиск
Список
Период
Сортировка
От Bertrand Drouvot
Тема Re: doc: explain pgstatindex fragmentation
Дата
Msg-id Z5OW+lwNeKHOIa4d@ip-10-97-1-34.eu-west-3.compute.internal
обсуждение исходный текст
Ответ на Re: doc: explain pgstatindex fragmentation  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Ответы Re: doc: explain pgstatindex fragmentation
Список pgsql-hackers
Hi,

On Fri, Jan 24, 2025 at 12:34:08PM +0100, Frédéric Yhuel wrote:
> I don't know if you noticed Laurenz's suggestion, because he forgot to CC
> you, but I like it very much. I think we should mention the default
> fillfactor (90 for indexes).

Thanks for mentioning Laurenz's suggestion!

=== 1

+ Since indexes have a default fillfactor of 90, this should be around 0.9 for
+ newly built indexes

I think 0.9 should be replaced by 90 (that's the actual kind of output we'd get).

But having said that, I'm not sure we should mention those 90 stuff because it
depends of the amount of data indexed (I mean if the index has a very few
leaf pages, say < 5, then it's easy to be << 90 since it's an average). That's
probably not the majority of indexes though so maybe just nuance the sentence a
bit.

Regards,

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



В списке pgsql-hackers по дате отправления: