Re: Vacuum and inserts

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Fontenot, Paul" <Paul(dot)Fontenot(at)bannerhealth(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Vacuum and inserts
Date: 2003-06-18 16:28:31
Message-ID: 22258.1055953711@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Fontenot, Paul" <Paul(dot)Fontenot(at)bannerhealth(dot)com> writes:
> When doing a vacuum full on a database, what happens to an insert?
> Does it spool the inserts up somewhere?

No, the would-be insert is simply blocked until the vacuum completes
(because the latter holds an exclusive lock on the table).

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Mel Jamero 2003-06-18 16:42:45 Re: sql question (hopefully)
Previous Message Josh Berkus 2003-06-18 16:25:32 Re: sql question (hopefully)