Optimized pgbench for 8.3 - Mailing list pgsql-patches

From ITAGAKI Takahiro
Subject Optimized pgbench for 8.3
Date
Msg-id 20070305154413.C4B1.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
Whole thread Raw
Responses Re: Optimized pgbench for 8.3  (Bruce Momjian <bruce@momjian.us>)
Re: Optimized pgbench for 8.3  (Bruce Momjian <bruce@momjian.us>)
Re: Optimized pgbench for 8.3  (Tatsuo Ishii <ishii@postgresql.org>)
Re: Optimized pgbench for 8.3  (Bruce Momjian <bruce@momjian.us>)
List pgsql-patches
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

pgsql-patches by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Automatic adjustment of bgwriter_lru_maxpages (was: Dead Space Map version 2)
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: Automatic adjustment of bgwriter_lru_maxpages