Re: More thoughts about planner's cost estimates

Поиск
Список
Период
Сортировка
Искать
От
Jim Nasby
Тема
Re: More thoughts about planner's cost estimates
Дата
Msg-id
C28F6D9E-E008-4447-A2A3-2CA20EB60CD1@pervasive.com
Ответ на
Список
Дерево обсуждения
More thoughts about planner's cost estimates Tom Lane <tgl@sss.pgh.pa.us>
Re: More thoughts about planner's cost estimates Tom Lane <tgl@sss.pgh.pa.us>
Re: More thoughts about planner's cost estimates Rod Taylor <pg@rbt.ca>
Re: More thoughts about planner's cost estimates Tom Lane <tgl@sss.pgh.pa.us>
Re: More thoughts about planner's cost estimates Mike Benoit <ipso@snappymail.ca>
Re: More thoughts about planner's cost estimates Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: More thoughts about planner's cost estimates Josh Berkus <josh@agliodbs.com>
Re: More thoughts about planner's cost estimates Tom Lane <tgl@sss.pgh.pa.us>
Re: More thoughts about planner's cost estimates "Jim C. Nasby" <jnasby@pervasive.com>
Re: More thoughts about planner's cost estimates Tom Lane <tgl@sss.pgh.pa.us>
Re: More thoughts about planner's cost estimates Nicolai Petri <nicolai@catpipe.net>
Re: More thoughts about planner's cost estimates Greg Stark <gsstark@mit.edu>
Re: More thoughts about planner's cost estimates Josh Berkus <josh@agliodbs.com>
Re: More thoughts about planner's cost estimates Greg Stark <gsstark@mit.edu>
Re: More thoughts about planner's cost estimates Josh Berkus <josh@agliodbs.com>
Re: More thoughts about planner's cost estimates Josh Berkus <josh@agliodbs.com>
Re: More thoughts about planner's cost estimates Kenneth Marshall <ktm@it.is.rice.edu>
Re: More thoughts about planner's cost estimates Greg Stark <gsstark@mit.edu>
Re: More thoughts about planner's cost estimates David Fetter <david@fetter.org>
Re: More thoughts about planner's cost estimates Greg Stark <gsstark@mit.edu>
Re: More thoughts about planner's cost estimates Josh Berkus <josh@agliodbs.com>
Re: More thoughts about planner's cost estimates Greg Stark <gsstark@mit.edu>
Re: More thoughts about planner's cost estimates Tom Lane <tgl@sss.pgh.pa.us>
Re: More thoughts about planner's cost estimates Greg Stark <gsstark@mit.edu>
Re: More thoughts about planner's cost estimates Josh Berkus <josh@agliodbs.com>
Re: More thoughts about planner's cost estimates "Todd A. Cook" <tcook@blackducksoftware.com>
Re: More thoughts about planner's cost estimates Jim Nasby <jnasby@pervasive.com>
Re: More thoughts about planner's cost estimates Hannu Krosing <hannu@skype.net>
Re: More thoughts about planner's cost estimates Greg Stark <gsstark@mit.edu>
Re: More thoughts about planner's cost estimates Tom Lane <tgl@sss.pgh.pa.us>
Re: More thoughts about planner's cost estimates Hannu Krosing <hannu@skype.net>
Re: More thoughts about planner's cost estimates Jim Nasby <jnasby@pervasive.com>
Re: More thoughts about planner's cost estimates Greg Stark <gsstark@mit.edu>
Re: More thoughts about planner's cost estimates Hannu Krosing <hannu@skype.net>
Re: More thoughts about planner's cost estimates Greg Stark <gsstark@mit.edu>
Re: More thoughts about planner's cost estimates Greg Stark <gsstark@mit.edu>
Re: More thoughts about planner's cost estimates Greg Stark <gsstark@mit.edu>
Re: More thoughts about planner's cost estimates Michael Dean <mdean@sourceview.com>
Re: More thoughts about planner's cost estimates David Fetter <david@fetter.org>
Re: More thoughts about planner's cost estimates "Jim C. Nasby" <jnasby@pervasive.com>
Re: More thoughts about planner's cost estimates Mark Kirkwood <markir@paradise.net.nz>
Re: More thoughts about planner's cost estimates Tom Lane <tgl@sss.pgh.pa.us>
On Jun 4, 2006, at 5:09 PM, Tom Lane wrote:

> Greg Stark  writes:
>> Hannu Krosing  writes:
>>> Ühel kenal päeval, L, 2006-06-03 kell 10:43, kirjutas Jim Nasby:
>>>> Might also be worth adding analyze delay settings, ala
>>>> vacuum_cost_delay.
>
> ANALYZE already respects the vacuum delay settings.
>
>>> Actually we should have delay settings for all potential
>>> (almost-)full-scan service ops, - VACUUM, ANALYSE, CREATE INDEX, ADD
>>> CONSTRAINT, maybe more - so that there would be better chances of
>>> running those on busy databases without disastrous effects.
>
>> What about UPDATE and DELETE and for that matter SELECT?
>
> This seems pretty silly.  The point of the delay stuff is to prevent
> background maintenance operations from eating an unreasonable share
> of resources compared to foreground queries.  I don't see why you'd
> put delays into queries --- if your machine is loaded, it's loaded.

'maintenance operations' often also mean running large updates. Being  
able to run those at a reduced priority would certainly be helpful in  
many cases. Though, a better way to accomplish this would be to have  
the OS handle prioritized IO scheduling, but since pretty much none  
of them seem to do that...
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461




В списке pgsql-hackers по дате отправления
От: Jim Nasby
Дата:
От: Andrew Dunstan
Дата:
FAQ