Re: Bug: 8.0 beta1 either view optimization or pgdump/pgrestore

From: Sim Zacks <sim(at)compulab(dot)co(dot)il>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Bug: 8.0 beta1 either view optimization or pgdump/pgrestore
Date: 2004-10-28 06:54:20
Message-ID: 385834187.20041028085420@compulab.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On second thought another way to optimize a query like that would be
to remove the * and only put in the columns that are actually being
used, as opposed to taking the * literally.
Such that if the fields in the select list use 2 columns and the join
uses 1 column, only those 3 columns should be expanded by the
optimizer. This would probably make the query more efficient as well,
being that it selects fewer fields.

Thank You
Sim Zacks
IT Manager
CompuLab
04-829-0145 - Office
04-832-5251 - Fax

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Hallgren 2004-10-28 07:41:38 Re: Reasoning behind process instead of thread based
Previous Message Sim Zacks 2004-10-28 06:39:30 Re: Bug: 8.0 beta1 either view optimization or pgdump/pgrestore