Re: Foreign Keys

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Foreign Keys
Дата
Msg-id 3D910842.6000701@joeconway.com
обсуждение исходный текст
Ответ на Foreign Keys  ("Adam T. Gautier" <adam_gautier@yahoo.com>)
Список pgsql-general
Adam T. Gautier wrote:
> UPDATE subjects SET parent_id = 1 WHERE id = 2;
>
> I thought that the way to fix the problem was with an index so I created
> various indexes nothing helped. any input would be great.

Have you run
   ANALYZE;
or
   VACUUM ANALYZE;
?

What does
   EXPLAIN ANALYZE UPDATE subjects SET parent_id = 1 WHERE id = 2;
say?

What indexes exactly have you created (definitions)?

Joe



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

Предыдущее
От: Adahma
Дата:
Сообщение: Error at startup
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Foreign Keys