Re: Make printtup a bit faster - Mailing list pgsql-hackers

From Andy Fan
Subject Re: Make printtup a bit faster
Date
Msg-id 878qwaaglc.fsf@163.com
Whole thread Raw
In response to Make printtup a bit faster  (Andy Fan <zhihuifan1213@163.com>)
List pgsql-hackers
Andy Fan <zhihuifan1213@163.com> writes:

> The attached is PoC of this idea, not matter which method are adopted
> (rewrite all the outfunction or a optional print function), I think the
> benefit will be similar. In the blew test case, it shows us 10%+
> improvements. (0.134ms vs 0.110ms)

After working on more {type}_print functions, I'm thinking it is pretty
like the 3rd IO function which shows some confused maintainence
effort. so I agree refactoring the existing out function is a better
idea. I'd like to work on _print function body first for easy review and
testing. after all, if some common issues exists in these changes,
it is better to know that before we working on the 700+ out functions.

-- 
Best Regards
Andy Fan




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: scalability bottlenecks with (many) partitions (and more)
Next
From: shveta malik
Date:
Subject: Re: Collect statistics about conflicts in logical replication