pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jaime soler <jaime.soler@gmail.com>
To: DrakoRod <drakoflames@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: The tables partitioning affects the indexes?
Date: Mon, 29 Sep 2014 12:26:12 +0200
Message-ID: <1411986372.3518.9.camel@enterprisedb01> (raw)
In-Reply-To: <1411680008162-5820572.post@n5.nabble.com>
References: <1411680008162-5820572.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

El jue, 25-09-2014 a las 14:20 -0700, DrakoRod escribió:
> Hi everybody! 
> 
> I have a huge table that we need partitioning, partitioning rule is a
> attribute date every 4 months.
> 
> My Master table have a many indexes. I need create indexes (with the same
> indexes the master table) in the inherits tables? or this no affects
> functionality of the indexes? 
> 
> Best regards. 
> 
> Thanks! 

Reference:
http://www.postgresql.org/docs/9.3/static/tutorial-inheritance.html
"Note: Although inheritance is frequently useful, it has not been
integrated with unique constraints or foreign keys, which limits its
usefulness. See Section 5.8 for more detail."

I think, you should create index in the child tables.
> 
> 
> 
> --
> View this message in context: http://postgresql.1045698.n5.nabble.com/The-tables-partitioning-affects-the-indexes-tp5820572.html
> Sent from the PostgreSQL - admin mailing list archive at Nabble.com.
> 
> 




-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (5+ messages)  latest in thread

Message-ID: <1411986372.3518.9.camel@enterprisedb01>
Permalink:  ../1411986372.3518.9.camel@enterprisedb01/
Also on:    postgresql.org/message-id/1411986372.3518.9.camel@enterprisedb01

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: jaime.soler@gmail.com, drakoflames@hotmail.com
  Subject: Re: The tables partitioning affects the indexes?
  In-Reply-To: <1411986372.3518.9.camel@enterprisedb01>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox