pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: PostGIS Users Discussion <postgis-users@postgis.refractions.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: [postgis-users] Is my query planner failing me, or vice versa?
Date: Thu, 15 Dec 2005 12:03:23 +0100
Message-ID: <43A14D7B.8030705@logix-tt.com> (raw)
In-Reply-To: <71E37EF6B7DCC1499CEA0316A2568328024BBCD3@loki.wc.globexplorer.net>
References: <71E37EF6B7DCC1499CEA0316A2568328024BBCD3@loki.wc.globexplorer.net>

Hi, Gregory,

Gregory S. Williamson wrote:
> Forgive the cross-posting, but I found myself wondering if might not
> be some way future way of telling the planner that a given table
> (column ?) has a high likelyhood of being TOASTed. Similar to the
> random_page_cost in spirit. We've got a lot of indexed data that is
> spatial and have some table where no data is toasted (road segments)
> and others where evrything is.

I'd personally put this into ANALYZE, it already collects statistics, so
it could also calculate TOASTing likelyhood and average TOASTed size.

Maybe that 8.X PostgreSQL already does this, I'm a bit lagging :-)

Markus



view thread (5+ messages)  latest in thread

Message-ID: <43A14D7B.8030705@logix-tt.com>
Permalink:  ../43A14D7B.8030705@logix-tt.com/
Also on:    postgresql.org/message-id/43A14D7B.8030705@logix-tt.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: schabi@logix-tt.com, postgis-users@postgis.refractions.net
  Subject: Re: [postgis-users] Is my query planner failing me, or vice versa?
  In-Reply-To: <43A14D7B.8030705@logix-tt.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