Re: Review: Revise parallel pg_restore's scheduling heuristic

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Review: Revise parallel pg_restore's scheduling heuristic
Date: 2009-07-31 15:10:47
Message-ID: 19760.1249053047@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
> Rebased to correct for pg_indent changes.

Thanks for doing that. Attached is a further small improvement that
gets rid of the find_ready_items() scans. After re-reading the patch
I realized that it wasn't *really* avoiding O(N^2) behavior ... but
this version does.

regards, tom lane

Attachment Content-Type Size
alternate-parallel-restore-3.patch.gz application/octet-stream 4.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message KaiGai Kohei 2009-07-31 15:15:44 Re: SE-PostgreSQL Specifications
Previous Message Dimitri Fontaine 2009-07-31 15:09:50 Re: ALTER TABLE ... ALTER COLUMN ... SET DISTINCT