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

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: [postgis-users] Is my query planner failing me, or vice versa?
Дата
Msg-id 43A14D7B.8030705@logix-tt.com
обсуждение исходный текст
Ответ на Re: [postgis-users] Is my query planner failing me, or vice versa?  ("Gregory S. Williamson" <gsw@globexplorer.com>)
Список 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

В списке pgsql-performance по дате отправления:

Предыдущее
От: Mitch Skinner
Дата:
Сообщение: Re: Simple Join
Следующее
От: "Gregory S. Williamson"
Дата:
Сообщение: Re: [postgis-users] Is my query planner failing me, or vice versa?