Re: Primary key vs unique index

From: "Voils, Steven M" <steve(at)sensorswitch(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Primary key vs unique index
Date: 2011-03-18 12:21:26
Message-ID: 856778F98E4F4B4F896F2B70C8164A3437FA9D849F@EXCHANGE-MBX2.AcuityLightingGroup.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Our application supports pg 8.4 onwards. The vacuums are run automatically by the application rather than requiring end users to enable autovacuum; the vacuums being performed are regular.

-----Original Message-----
From: Scott Marlowe [mailto:scott(dot)marlowe(at)gmail(dot)com]
Sent: Thursday, March 17, 2011 6:31 PM
To: Voils, Steven M
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Primary key vs unique index

On Thu, Mar 17, 2011 at 12:59 PM, Voils, Steven M
<steve(at)sensorswitch(dot)com> wrote:
> Thanks for the reply.  I should have mentioned in the first post that we do delete significant amounts of the table which I thought was the cause of the bloat.  We are already performing automatic vacuums nightly.

Automatic regular vacuums? So you do or don't have autovac turned on?

What version of pg are you running (8.3 or before, 8.4 or later?)

Are your nightly vacuums FULL or regular vacuums?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2011-03-18 12:35:43 Re: Primary key vs unique index
Previous Message Ivan Sergio Borgonovo 2011-03-18 10:21:11 Re: Convert Simple Query into tsvector & tsquery format.