>> 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. https://git.postgresql.org/gitweb/?p=postgresql.git;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 English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp