Re: Auto-tuning a VIEW?

From: PFC <lists(at)peufeu(dot)com>
To: "Zoltan Boszormenyi" <zboszor(at)dunaweb(dot)hu>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Auto-tuning a VIEW?
Date: 2005-12-14 22:18:40
Message-ID: op.s1sn9ey6cigqcu@peufeu.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> Thanks, now the SELECT from the huge VIEW runs under one third of the
> original runtime.

Nice.

>>> select * from v1 where code||num = 'AAA2005000001';

I do not know if it is at all possible, but maybe you could use a rule
to, on select to your view, do instead a select on the two separate
columns used in the key, with a bit of massaging on the values using
substring()...

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Zoltan Boszormenyi 2005-12-14 22:39:27 Re: Auto-tuning a VIEW?
Previous Message Kevin Brown 2005-12-14 22:03:52 Simple Join