Re: Optimized pgbench for 8.3

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp
Cc: pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Optimized pgbench for 8.3
Date: 2007-04-06 12:59:49
Message-ID: 20070406.215949.45965181.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2007-04-06 13:09:19 Re: Auto Partitioning
Previous Message Tatsuo Ishii 2007-04-06 12:58:39 Re: [PATCHES] pgbench transaction timestamps

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2007-04-06 13:09:19 Re: Auto Partitioning
Previous Message Tatsuo Ishii 2007-04-06 12:58:39 Re: [PATCHES] pgbench transaction timestamps