Re: Multiple indexes, huge table - Mailing list pgsql-general

From Aram Fingal
Subject Re: Multiple indexes, huge table
Date
Msg-id DC18FA5E-3724-44F6-8774-205893C4A233@multifactorial.com
Whole thread Raw
In response to Re: Multiple indexes, huge table  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general

On Sep 6, 2012, at 5:54 PM, Tom Lane wrote:

That sounds like you lack an index on the referencing column of the
foreign key constraint.  Postgres doesn't require you to keep such
an index, but it's a really good idea if you ever update the referenced
column.


Thanks.  You're right.  That column (which is a foreign key)  is a component of a multi-column index but I don't have an index just for it.

-Aram

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL server embedded in NAS firmware?
Next
From: Scott Marlowe
Date:
Subject: Re: PostgreSQL server embedded in NAS firmware?