On Thu, Oct 26, 2023 at 08:53:31AM +0000, Xiang Gao wrote:
> On  Tue,  24 Oct,  2023 20:45:39PM -0500, Nathan Bossart wrote:
>>I tried this.  pg_waldump on 2 million ~8kB records took around 8.1 seconds
>>without the patch and around 7.4 seconds with it (an 8% improvement).
>>pg_waldump on 1 million ~16kB records took around 3.2 seconds without the
>>patch and around 2.4 seconds with it (a 25% improvement).
> 
> Could you please provide details on how to generate these 8kB size or 16kB 
> size data? Thanks!

I did something like

        do $$
        begin
                for i in 1..1000000
                loop
                        perform pg_logical_emit_message(false, 'test', 
repeat('0123456789', 800));
                end loop;
        end;
        $$;

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com


Reply via email to