Re: Optimized pgbench for 8.3

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: bruce(at)momjian(dot)us
Cc: itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp, ishii(at)sraoss(dot)co(dot)jp, pgsql-patches(at)postgresql(dot)org
Subject: Re: Optimized pgbench for 8.3
Date: 2007-04-05 02:15:37
Message-ID: 20070405.111537.69453357.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

> Tatsuo, would you please comment on this patch?

Sure. I will come up with a comment by the end of this week.
--
Tatsuo Ishii
SRA OSS, Inc. Japan

> ---------------------------------------------------------------------------
>
> ITAGAKI Takahiro wrote:
> > 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
>
> [ Attachment, skipping... ]
>
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: don't forget to increase your free space map settings
>
> --
> Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
> EnterpriseDB http://www.enterprisedb.com
>
> + If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2007-04-05 02:47:45 Re: autovacuum multiworkers, patch 5
Previous Message Tatsuo Ishii 2007-04-05 02:15:03 Re: pgbench transaction timestamps

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2007-04-05 02:47:45 Re: autovacuum multiworkers, patch 5
Previous Message Tatsuo Ishii 2007-04-05 02:15:03 Re: pgbench transaction timestamps