Re: Requirements for a database server

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Requirements for a database server
Дата
Msg-id 24507.995566085@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Requirements for a database server  (Ragnar Kjørstad <postgres@ragnark.vestdata.no>)
Список pgsql-admin
=?iso-8859-1?Q?Ragnar_Kj=F8rstad?= <postgres@ragnark.vestdata.no> writes:
> On Thu, Jul 19, 2001 at 07:38:25AM +0200, Robert.Farrugia@go.com.mt wrote:
>> Since I have a number of heavy inserts per day, dropping the indexes and
>> recreating them could be an option.   Only problem I see is that to
>> recreate them they take alot of time, at which queries will be tremendously
>> slow.

> What about first creating new indexes (with a different name), and then
> delete the old one? will that work?

Should work fine as far as read-only queries go.  CREATE INDEX locks out
writes, however, so those will be blocked in any case...

            regards, tom lane

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

Предыдущее
От: Ragnar Kjørstad
Дата:
Сообщение: Re: Requirements for a database server
Следующее
От: Robert.Farrugia@go.com.mt
Дата:
Сообщение: Re: Requirements for a database server