Search Postgresql Archives

Re: Foreign keys and indexes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Does PostgreSQL create an implicit index also for foreign keys? or must 
> I create it explicitly?

No, you foreign keys are not automatically indexed.  They only way they would be is if the FK is
part of a composite unique or primary key.  So you will probably have to create your one indexes
on FKs.

Regards,
Richard Broersma Jr.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux