Re: Make deparsing of column defaults faster

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Justin Pryzby <pryzby(at)telsasoft(dot)com>
Subject: Re: Make deparsing of column defaults faster
Date: 2018-09-24 12:52:38
Message-ID: 9820f49c-d21d-73cd-8698-2f225ae343db@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 30/07/2018 13:51, Jeff Janes wrote:
> Any thoughts on how to proceed here?  It seems there is more work to do
> to cover all the issues with dumping and restoring tables with many
> columns.  Since the original report was in the context of pg_upgrade, we
> should surely address at least the pg_restore slowness.
>
> I'll working on solving the problem using a hash table at the lowest
> level (making column names unique), for a future commit fest.  That
> should drop it from N^3 to N^2, which since N can't go above 1600 should
> be good enough.
>
> So we can set this to rejected, as that will be an entirely different
> approach.  
>
> Your caching patch might be worthwhile on its own, though.

I'm going to set this thread as returned with feedback until we have a
more complete solution.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Travers 2018-09-24 13:16:46 Re: Proposal for Signal Detection Refactoring
Previous Message Peter Eisentraut 2018-09-24 12:50:12 Re: Hint to set owner for tablespace directory