Re: Need indexes on empty tables for good performance ?

From: Chris Travers <chris(at)travelamericas(dot)com>
To: "Lenard, Rohan (Rohan)" <rlenard(at)avaya(dot)com>
Cc: "Thomas F(dot) O'Connell" <tfo(at)sitening(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Need indexes on empty tables for good performance ?
Date: 2005-08-30 17:43:05
Message-ID: 43149AA9.4080902@travelamericas.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Lenard, Rohan (Rohan) wrote:

> Actually the indexes on the child table do seem to get used - I just
> wanted to make sure there was no penalty not having indexes on the
> empty parent tables.
>
> You are right - the parent is the best way to get at the unknown
> children ...

Indexes are created in the inheritance process, iirc. However, index
entries are not inherited, which means that index-based unique
constraints don't properly get inherited.

Best Wishes,
Chris Travers
Metatron Technology Consulting

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Ron 2005-08-30 18:16:23 Re: RAID Configuration Sugestion
Previous Message Joshua D. Drake 2005-08-30 16:56:36 Re: RAID Configuration Sugestion