Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb
Дата
Msg-id
23627.1397400591@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Peter Eisentraut <peter_e@gmx.net>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Oskari Saarenmaa <os@ohmu.fi>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Jeff Janes <jeff.janes@gmail.com>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Kevin Grittner <kgrittn@ymail.com>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Tom Lane <tgl@sss.pgh.pa.us>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Robert Haas <robertmhaas@gmail.com>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Tom Lane <tgl@sss.pgh.pa.us>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Robert Haas <robertmhaas@gmail.com>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Tom Lane <tgl@sss.pgh.pa.us>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Bruce Momjian <bruce@momjian.us>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Tom Lane <tgl@sss.pgh.pa.us>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Bruce Momjian <bruce@momjian.us>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Peter Eisentraut <peter_e@gmx.net>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Tom Lane <tgl@sss.pgh.pa.us>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Peter Eisentraut <peter_e@gmx.net>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Andres Freund <andres@2ndquadrant.com>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Peter Eisentraut <peter_e@gmx.net>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Simon Riggs <simon@2ndQuadrant.com>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Tom Lane <tgl@sss.pgh.pa.us>
Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb Robert Haas <robertmhaas@gmail.com>
Simon Riggs  writes:
> ISTM that this is the way ANALYZE should work when run on a table that
> has never been analysed before. Let's just do this logic within
> ANALYZE and be done.

Can't.  Not unless you intend to make ANALYZE do internal commits
so that its output rows become visible to other transactions before
its done.  (Which would be, shall we say, a damn bad idea.)

Even without that implementation problem, I absolutely don't agree
that this is such a great thing that it should become not only the
default but the only obtainable behavior.  It would slow down
ANALYZE, and would only be helpful if there is concurrent activity
that would benefit from the stats.  There are plenty of scenarios
where that would be giving up something to get nothing.
		regards, tom lane


В списке pgsql-hackers по дате отправления
От: Christian Ullrich
Дата:
От: Thomas Mayer
Дата:
FAQ