Remove pg_stat_progress_vacuum from Table 28.2

Started by Amit Langoteabout 9 years ago7 messageshackers
Jump to latest
#1Amit Langote
Langote_Amit_f8@lab.ntt.co.jp

It seems pg_stat_progress_vacuum is not supposed to appear in the table
titled "Collected Statistics Views". It was added by c16dc1aca. Attached
patch fixes that.

Thanks,
Amit

Attachments:

0001-Remove-pg_stat_progress_vacuum-from-Table-28.2.patchtext/x-diff; name=0001-Remove-pg_stat_progress_vacuum-from-Table-28.2.patchDownload+0-8
#2Fujii Masao
masao.fujii@gmail.com
In reply to: Amit Langote (#1)
Re: Remove pg_stat_progress_vacuum from Table 28.2

On Tue, Apr 4, 2017 at 10:19 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

It seems pg_stat_progress_vacuum is not supposed to appear in the table
titled "Collected Statistics Views". It was added by c16dc1aca. Attached
patch fixes that.

Instead, it should appear in the table of "Dynamic Statistics Views"
because it reports dynamic info, i.e., progress, about VACUUM activity?

Regards,

--
Fujii Masao

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
In reply to: Fujii Masao (#2)
Re: Remove pg_stat_progress_vacuum from Table 28.2

On 2017/04/07 0:56, Fujii Masao wrote:

On Tue, Apr 4, 2017 at 10:19 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

It seems pg_stat_progress_vacuum is not supposed to appear in the table
titled "Collected Statistics Views". It was added by c16dc1aca. Attached
patch fixes that.

Instead, it should appear in the table of "Dynamic Statistics Views"
because it reports dynamic info, i.e., progress, about VACUUM activity?

I thought the same at first, but then realized we have a entirely separate
section 28.4. Progress Reporting. So it may not be necessary to keep it
anywhere in 28.2.

In fact I also proposed [1]/messages/by-id/70cd6b98-7c3f-e368-04ed-e053d18b7d81@lab.ntt.co.jp to move the descriptions of "Dynamic
Statistics Views" to a new section within the same chapter.

Thanks,
Amit

[1]: /messages/by-id/70cd6b98-7c3f-e368-04ed-e053d18b7d81@lab.ntt.co.jp
/messages/by-id/70cd6b98-7c3f-e368-04ed-e053d18b7d81@lab.ntt.co.jp

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#4Fujii Masao
masao.fujii@gmail.com
In reply to: Amit Langote (#3)
Re: Remove pg_stat_progress_vacuum from Table 28.2

On Fri, Apr 7, 2017 at 9:53 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

On 2017/04/07 0:56, Fujii Masao wrote:

On Tue, Apr 4, 2017 at 10:19 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

It seems pg_stat_progress_vacuum is not supposed to appear in the table
titled "Collected Statistics Views". It was added by c16dc1aca. Attached
patch fixes that.

Instead, it should appear in the table of "Dynamic Statistics Views"
because it reports dynamic info, i.e., progress, about VACUUM activity?

I thought the same at first, but then realized we have a entirely separate
section 28.4. Progress Reporting.

Yes, but I don't think that removing that from 28.2 is an improvement
for users.

Regards,

--
Fujii Masao

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#5Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
In reply to: Fujii Masao (#4)
Re: Remove pg_stat_progress_vacuum from Table 28.2

On 2017/04/12 0:22, Fujii Masao wrote:

On Fri, Apr 7, 2017 at 9:53 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

On 2017/04/07 0:56, Fujii Masao wrote:

On Tue, Apr 4, 2017 at 10:19 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

It seems pg_stat_progress_vacuum is not supposed to appear in the table
titled "Collected Statistics Views". It was added by c16dc1aca. Attached
patch fixes that.

Instead, it should appear in the table of "Dynamic Statistics Views"
because it reports dynamic info, i.e., progress, about VACUUM activity?

I thought the same at first, but then realized we have a entirely separate
section 28.4. Progress Reporting.

Yes, but I don't think that removing that from 28.2 is an improvement
for users.

Perhaps you're right. Here's a patch that moves pg_stat_progress_vacuum
to the Dynamic Statistics Views table.

Thanks,
Amit

Attachments:

0001-Move-pg_stat_progress_vacuum-to-Table-28.1.patchtext/x-diff; name=0001-Move-pg_stat_progress_vacuum-to-Table-28.1.patchDownload+8-7
#6Fujii Masao
masao.fujii@gmail.com
In reply to: Amit Langote (#5)
Re: Remove pg_stat_progress_vacuum from Table 28.2

On Wed, Apr 12, 2017 at 10:32 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

On 2017/04/12 0:22, Fujii Masao wrote:

On Fri, Apr 7, 2017 at 9:53 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

On 2017/04/07 0:56, Fujii Masao wrote:

On Tue, Apr 4, 2017 at 10:19 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

It seems pg_stat_progress_vacuum is not supposed to appear in the table
titled "Collected Statistics Views". It was added by c16dc1aca. Attached
patch fixes that.

Instead, it should appear in the table of "Dynamic Statistics Views"
because it reports dynamic info, i.e., progress, about VACUUM activity?

I thought the same at first, but then realized we have a entirely separate
section 28.4. Progress Reporting.

Yes, but I don't think that removing that from 28.2 is an improvement
for users.

Perhaps you're right. Here's a patch that moves pg_stat_progress_vacuum
to the Dynamic Statistics Views table.

Thanks for the patch! Pushed.

Regards,

--
Fujii Masao

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#7Amit Langote
Langote_Amit_f8@lab.ntt.co.jp
In reply to: Fujii Masao (#6)
Re: Remove pg_stat_progress_vacuum from Table 28.2

On 2017/04/13 12:11, Fujii Masao wrote:

On Wed, Apr 12, 2017 at 10:32 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

On 2017/04/12 0:22, Fujii Masao wrote:

On Fri, Apr 7, 2017 at 9:53 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

On 2017/04/07 0:56, Fujii Masao wrote:

On Tue, Apr 4, 2017 at 10:19 AM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:

It seems pg_stat_progress_vacuum is not supposed to appear in the table
titled "Collected Statistics Views". It was added by c16dc1aca. Attached
patch fixes that.

Instead, it should appear in the table of "Dynamic Statistics Views"
because it reports dynamic info, i.e., progress, about VACUUM activity?

I thought the same at first, but then realized we have a entirely separate
section 28.4. Progress Reporting.

Yes, but I don't think that removing that from 28.2 is an improvement
for users.

Perhaps you're right. Here's a patch that moves pg_stat_progress_vacuum
to the Dynamic Statistics Views table.

Thanks for the patch! Pushed.

Thanks,

Regards,
Amit

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers