pgbench -i order of vacuum

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема pgbench -i order of vacuum
Дата
Msg-id CAMkU=1y8-YpafmvQUChGqp85z+tXanGrMY37AHOcZoxgaW_vNQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: pgbench -i order of vacuum  (Amit Kapila <amit.kapila@huawei.com>)
Список pgsql-hackers
Is there a reason to vacuum the pgbench_* tables after the indexes on
them are built, rather than before?

Since the indexes are on fresh tables, they can't have anything that
needs to be cleaned.

I don't think the current order accomplishes anything, except to slow
down large initializations by ~25%.

The attached patch moves the vacuums up.

I also made -n skip the vacuums altogether.  Since -n is allowed under
-i, it would be nice if it did something, and there is only one
intuitive thing for it to do.  I don't know what the use case for is,
but I think I've heard grumbling about it before.

Cheers,

Jeff

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 2GB limit for temp_file_limit on 32bit platform
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CHECK NO INHERIT syntax