Re: [postgis-users] Is my query planner failing me, or vice versa?

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: PostGIS Users Discussion <postgis-users(at)postgis(dot)refractions(dot)net>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: [postgis-users] Is my query planner failing me, or vice versa?
Date: 2005-12-15 11:03:23
Message-ID: 43A14D7B.8030705@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Gregory S. Williamson 2005-12-15 12:03:16 Re: [postgis-users] Is my query planner failing me, or vice versa?
Previous Message Mitch Skinner 2005-12-15 11:02:06 Re: Simple Join