pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: jeandre@itvs.co.za
Cc: pgsql-performance@postgresql.org
Subject: Re: Performance
Date: Fri, 07 Feb 2003 09:55:14 -0500
Message-ID: <26718.1044629714@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0302071002070.1308-100000@localhost.localdomain>
References: <Pine.LNX.4.44.0302071002070.1308-100000@localhost.localdomain>

jeandre@itvs.co.za writes:
> ... does the order of tables in the from 
> clause make a difference in speed

No, it does not; except perhaps in corner cases where two tables have
exactly the same statistics, so that the planner has no basis for
choosing one over the other.  (This scenario could happen if you've
never ANALYZEd either, for example.)

> and how does indexing work on Postgres? 

Uh, it indexes.  What's your question exactly?

			regards, tom lane



view thread (60+ messages)  latest in thread

Message-ID: <26718.1044629714@sss.pgh.pa.us>
Permalink:  ../26718.1044629714@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26718.1044629714@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, jeandre@itvs.co.za
  Subject: Re: Performance
  In-Reply-To: <26718.1044629714@sss.pgh.pa.us>

* 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