pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ioana Danes <ioanasoftware@yahoo.ca>
To: Ioana Danes <ioanasoftware@yahoo.ca>
To: Dimitri Fontaine <dim@dalibo.com>
To: pgsql-performance@postgresql.org
Cc: Ioana Danes <ioanasoftware@yahoo.ca>
Subject: Re: Postgresql 8.1.4 - performance issues for select on view using max
Date: Wed, 18 Oct 2006 17:02:01 -0400 (EDT)
Message-ID: <20061018210201.56435.qmail@web55907.mail.re3.yahoo.com> (raw)
In-Reply-To: <20061018203434.21060.qmail@web55905.mail.re3.yahoo.com>

Hello,

I tried the partitioning scenario but I've got into
the same problem. The max function is not using the
indexes on the two partitioned tables...

Any other thoughts?

--- Ioana Danes <ioanasoftware@yahoo.ca> wrote:

> Thanks a lot I will give it a try. 
> 
> --- Dimitri Fontaine <dim@dalibo.com> wrote:
> 
> > Hi,
> > 
> > Le mercredi 18 octobre 2006 21:51, Ioana Danes a
> > écrit :
> > > I am doing a test for a scenario where I have 2
> > > schemas  one (public) for the operational data
> and
> > > another one (archive) for old, archived data. So
> > > basically I want to split the data from some
> huge
> > > tables in two. All data before 2006 in archive
> and
> > all
> > > data after and including  2006 in public.
> > [...]
> > > I got into a scenario where my plan does not
> work
> > > without doing code change.
> > 
> > This sounds a lot as a ddl partitionning, you may
> > want to add some checks to 
> > your schema and set constraint_exclusion to on in
> > your postgresql.conf.
> > 
> > Please read following documentation material :
> >  
> >
>
http://www.postgresql.org/docs/8.1/interactive/ddl-partitioning.html
> > 
> > Regards,
> > -- 
> > Dimitri Fontaine
> > http://www.dalibo.com/
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faq
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



view thread (16+ messages)  latest in thread

Message-ID: <20061018210201.56435.qmail@web55907.mail.re3.yahoo.com>
Permalink:  ../20061018210201.56435.qmail@web55907.mail.re3.yahoo.com/
Also on:    postgresql.org/message-id/20061018210201.56435.qmail@web55907.mail.re3.yahoo.com

 · 

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-performance@postgresql.org
  Cc: ioanasoftware@yahoo.ca, dim@dalibo.com
  Subject: Re: Postgresql 8.1.4 - performance issues for select on view using max
  In-Reply-To: <20061018210201.56435.qmail@web55907.mail.re3.yahoo.com>

* 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