Re: Primary key vs unique index

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Primary key vs unique index
Дата
Msg-id AANLkTi=m9xtpihOYC9+EfGNWQDqEc3ScZBn4sTthr+48@mail.gmail.com
обсуждение исходный текст
Ответ на Primary key vs unique index  ("Voils, Steven M" <steve@sensorswitch.com>)
Ответы Re: Primary key vs unique index  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
On Thu, Mar 17, 2011 at 6:19 AM, Voils, Steven M <steve@sensorswitch.com> wrote:
> Is there a fundamental difference between a primary key and a unique index?
> Currently we have primary keys on tables that have significant amounts of
> updates performed on them, as a result the primary key indexes are becoming
> significantly bloated.  There are other indexes on the tables that also
> become bloated as a result of this, but these are automatically rebuild
> periodically by the application (using the concurrently flag) when read
> usage is expected to be very low.

If you're experiencing bloat, but not deleting huge chunks of your
table at a time, then you're not vacuuming aggressively enough

В списке pgsql-general по дате отправления:

Предыдущее
От: bubba postgres
Дата:
Сообщение: Re: Is TimeZone applied with TIMESTAMP WITHOUT TIME ZONE and Extract( EPOCH ...)?
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Primary key vs unique index