Re: Using COPY FREEZE in pgbench

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: dean(dot)a(dot)rasheed(at)gmail(dot)com, coelho(at)cri(dot)ensmp(dot)fr, pg(at)bowt(dot)ie, laurenz(dot)albe(at)cybertec(dot)at
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Using COPY FREEZE in pgbench
Date: 2021-09-02 01:56:57
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

>> I tested this with -s100 and got similar results, but with -s1000 it
>> was more like 1.5x faster:
>> master:
>> done in 111.33 s (drop tables 0.00 s, create tables 0.01 s,
>> client-side generate 52.45 s, vacuum 32.30 s, primary keys 26.58 s)
>> patch:
>> done in 74.04 s (drop tables 0.46 s, create tables 0.04 s, client-side
>> generate 51.81 s, vacuum 2.11 s, primary keys 19.63 s)
>> Nice!
>> Regards,
>> Dean
> If there's no objection, I am going to commit/push to master branch in
> early September.

I have pushed the patch to master branch.;a=commit;h=06ba4a63b85e5aa47b325c3235c16c05a0b58b96

Thank you for those who gave me the valuable reviews!
Reviewed-by: Fabien COELHO, Laurenz Albe, Peter Geoghegan, Dean Rasheed
Tatsuo Ishii
SRA OSS, Inc. Japan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2021-09-02 01:58:09 Re: Postgres Win32 build broken?
Previous Message Kyotaro Horiguchi 2021-09-02 01:16:40 Re: Possible missing segments in archiving on standby