Re: Question about Foreign key constraint causes "costly sequential scans"?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: emilu(at)cs(dot)concordia(dot)ca
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Question about Foreign key constraint causes "costly sequential scans"?
Date: 2005-08-23 14:57:08
Message-ID: 2467.1124809028@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Emi Lu <emilu(at)cs(dot)concordia(dot)ca> writes:
> But I got a warning msg from postgresql as:
> foreign key constraint "Aclo3_fk" will require costly sequential scans

Try to make the referencing and referenced columns the same datatype.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-08-23 15:04:25 Re: Question about Foreign key constraint causes "costly sequential scans"?
Previous Message Matt Miller 2005-08-23 14:53:33 Re: Question about Foreign key constraint causes "costly