| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> |
| Cc: | pgsql-patches(at)postgresql(dot)org |
| Subject: | Re: Optimized pgbench for 8.3 |
| Date: | 2007-04-07 02:52:07 |
| Message-ID: | 200704070252.l372q7r04302@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches |
FYI, patch applied by Tatsuo. Thanks.
---------------------------------------------------------------------------
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. +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2007-04-07 02:52:43 | Re: pgbench transaction timestamps |
| Previous Message | Tom Lane | 2007-04-07 02:17:29 | Re: [HACKERS] [Fwd: Index Advisor] |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2007-04-07 02:52:43 | Re: pgbench transaction timestamps |
| Previous Message | Tom Lane | 2007-04-07 02:24:57 | Re: [PATCHES] Fix misleading references to columns in GRANT/REVOKE summaries |