Re: Foreign Keys

From: Joe Conway <mail(at)joeconway(dot)com>
To: "Adam T(dot) Gautier" <adam_gautier(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Foreign Keys
Date: 2002-09-25 00:50:10
Message-ID: 3D910842.6000701@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2002-09-25 00:55:11 Re: Foreign Keys
Previous Message Adahma 2002-09-25 00:46:47 Error at startup