vacuum performance on insert

From: Sean Chen <zyschen(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: vacuum performance on insert
Date: 2010-08-05 17:49:54
Message-ID: AANLkTikS-=gAKhEDbQi+xHp7C6SJjcjHcDaaLm1u-BAT@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi, I'm curious -- does "vacuum analyze e.g. table1" improve
performance on "insert into table1 ...". I understand the vacuum
analyze helps out the query -- select, etc., but just not quite sure
on insert.

Specifically, I'm doing the following.

1, delete records ...
2, insert records ...

if I add "vacuum analyze" in-between this two steps, will it help on
the performance on the insert?
More importantly, If so, why?

Thanks,
Sean

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Kevin Grittner 2010-08-05 17:56:52 Re: vacuum performance on insert
Previous Message Brad Nicholson 2010-08-05 12:40:37 Re: Testing Sandforce SSD