Re: FILLFACTOR and increasing index

Поиск
Список
Период
Сортировка
От Leonardo Francalanci
Тема Re: FILLFACTOR and increasing index
Дата
Msg-id 873165.76105.qm@web29002.mail.ird.yahoo.com
обсуждение исходный текст
Ответ на Re: FILLFACTOR and increasing index  (Tomas Vondra <tv@fuzzy.cz>)
Ответы Re: FILLFACTOR and increasing index
Список pgsql-general
> Yes, I use the same approach, but  I'm not aware of any such guideline
> related to fillfactor with indexes.  Anyway those guidelines need to be
> written by someone, so you have a great  opportunity ;-)


I did a quick test using your example. As in your test, "increasing"
values don't get any gain from a different  fillfactor.
I tried a random index:

create table test_fill (id int);
create index test_fill_idx on test_fill(id) with (fillfactor=100);
insert into test_fill select (random()*100000)::integer from
generate_series(1,10000000) i;


time: 373936.724

drop table test_fill;
create table test_fill (id int);
create index test_fill_idx on test_fill(id) with (fillfactor=50);

insert into test_fill select (random()*100000)::integer from
generate_series(1,10000000) i;
time: 393209.911


not much difference...

Now I'm getting confused... is which cases fillfactor makes a difference???

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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: "interval hour to minute" or "interval day to minute"
Следующее
От: tv@fuzzy.cz
Дата:
Сообщение: Re: FILLFACTOR and increasing index