Re: Adding foreign key performance

Поиск
Список
Период
Сортировка
От John K. Herreshoff
Тема Re: Adding foreign key performance
Дата
Msg-id 200310281404.57984.jkherr@centurytel.net
обсуждение исходный текст
Ответ на Re: Adding foreign key performance  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Adding foreign key performance  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-performance
That did not take long... about 13 minutes to reload the tables from an *.mdb
file, and a second or two for each of the 'alter table foo add foreign
key...' lines.  I tried to drop a 'referencing' table, and the database would
not let me, said that something depended on it ;o)

Is there some way to name the foreign key so that it can be dropped later, or
is there a way to drop the foreign key using information already in the
database?

John.

On Tuesday 28 October 2003 13:34, Bruce Momjian wrote:
> John K. Herreshoff wrote:
> > FWIW:  I'm fiddling with that right now, and the FK think was quick...  a
> > few seconds...  the tables in question have 1400 records, 343000 records
> > and 7200 records...  I'm running Beta5...
>
> Did those tables have analyze statistics?  Can you try it without
> statistics (I think you have to drop the tables to erase the
> statistics).


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Adding foreign key performance
Следующее
От: Vivek Khera
Дата:
Сообщение: Re: Very Poor Insert Performance