Skip site navigation (1) Skip section navigation (2)

Re: Postgresql 8.1.4 - performance issues for select on view using max

From: Dimitri Fontaine <dim(at)dalibo(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Cc: Ioana Danes <ioanasoftware(at)yahoo(dot)ca>
Subject: Re: Postgresql 8.1.4 - performance issues for select on view using max
Date: 2006-10-18 20:13:17
Message-ID: 200610182213.19037.dim@dalibo.com (view raw or flat)
Thread:
Lists: pgsql-performance
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/

In response to

Responses

pgsql-performance by date

Next:From: Joshua MarshDate: 2006-10-18 20:21:05
Subject: Re: Postgresql 8.1.4 - performance issues for select on view using max
Previous:From: Ioana DanesDate: 2006-10-18 19:51:34
Subject: Postgresql 8.1.4 - performance issues for select on view using max

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group