Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: alternate-parallel-restore-3.patch.gz
Description: application/octet-stream (4.0 KB)

In response to

Responses

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group