Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands
От
Masahiko Sawada
Тема
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands
Дата
Msg-id
CAD21AoD6tmw3eEVJdK8Fu6JrvLPdpa6LGba1xmv_Fw_5OC1bVA@mail.gmail.com
Ответ на
Список
Дерево обсуждения
[HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "David G. Johnston" <david.g.johnston@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Simon Riggs <simon@2ndquadrant.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables in VACUUM commands Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands "Bossart, Nathan" <bossartn@amazon.com>
Re: [HACKERS] [Proposal] Allow users to specify multiple tables inVACUUM commands David Fetter <david@fetter.org>
On Thu, May 18, 2017 at 7:38 AM, Bossart, Nathan wrote: > I’ve attached a v4 of the patch. > > Changes: > - Early in vacuum(…), emit an ERROR if any specified columns do not exist. > - Emit a WARNING and skip any specified tables or columns that disappear before they are actually processed. > - Small additions to the VACUUM regression test. > - Rebased with master. > Thank you for updating the patch. Some review comments. I got the following warning messages when building. You might want to include parser/parse_relation.h. vacuum.c: In function ‘check_columns_exist’: vacuum.c:567: warning: implicit declaration of function ‘attnameAttNum’ -- =# vacuum (verbose) hoge, hoge; INFO: vacuuming "public.hoge" INFO: "hoge": found 0 removable, 0 nonremovable row versions in 0 out of 0 pages DETAIL: 0 dead row versions cannot be removed yet, oldest xmin: 604 There were 0 unused item pointers. Skipped 0 pages due to buffer pins, 0 frozen pages. 0 pages are entirely empty. CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s. INFO: vacuuming "public.hoge" INFO: "hoge": found 0 removable, 0 nonremovable row versions in 0 out of 0 pages DETAIL: 0 dead row versions cannot be removed yet, oldest xmin: 604 There were 0 unused item pointers. Skipped 0 pages due to buffer pins, 0 frozen pages. 0 pages are entirely empty. CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s. VACUUM Even if the same relation is specified more than once, we should vacuum the relation only once. Similarly if we specify the parent table and its child table we want to vacuum each relation only once. Regards, -- Masahiko Sawada NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата:
От: Vaishnavi Prabakaran
Дата: