Re: [PATCHES] Optimized pgbench for 8.3

Поиск
Список
Период
Сортировка
Искать

Re: [PATCHES] Optimized pgbench for 8.3

От:
Tatsuo Ishii <ishii@postgresql.org>
Дата:
Patch committed. Thanks.
--
Tatsuo Ishii
SRA OSS, Inc. Japan

> The attached is a patch to optimize contrib/pgbench using new 8.3 features.
> 
> - Use DROP IF EXISTS to suppress errors for initial loadings.
> - Use a combination of TRUNCATE and COPY to reduce WAL on creating
>   the accounts table.
> 
> Also, there are some cosmetic changes.
> 
> - Change the output of -v option from "starting full vacuum..."
>   to "starting vacuum accounts..." in reflection of the fact.
> - Shape duplicated error checks into executeStatement().
> 
> 
> There is a big performance win in "COPY with no WAL" feature.
> Thanks for the efforts!
> 
> Regards,
> ---
> ITAGAKI Takahiro
> NTT Open Source Software Center
FAQ