Bug 1669541 - The event_streams table does not get auto-vacuumed
Summary: The event_streams table does not get auto-vacuumed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.9.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.11.0
Assignee: Gregg Tanzillo
QA Contact: John Dupuy
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1670200 1670202
TreeView+ depends on / blocked
 
Reported: 2019-01-25 15:43 UTC by Peter McGowan
Modified: 2019-12-13 15:08 UTC (History)
7 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1670200 1670202 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:08:59 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Peter McGowan 2019-01-25 15:43:33 UTC
Description of problem:
The event_streams database table no longer gets auto-vacuumed since the vacuuming task was added to the Job Scheduler (https://github.com/ManageIQ/manageiq/pull/16940), whereas it used to be in the old database maintenance scripts. This is one of the larger tables and so could probably benefit from auto-vacuuming.

Suggest it probably just needs adding to the advanced configuration yaml under:

:database:
  :maintenance:
    :reindex_schedule: 1 * * * *
    :reindex_tables:
    - Metric
    - MiqQueue
    - MiqWorker
    :vacuum_schedule: 0 2 * * 6
    :vacuum_tables:

Version-Release number of selected component (if applicable):
5.9.7.2

How reproducible:
Every time

Comment 6 CFME Bot 2019-02-13 04:21:29 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/c6f868d50198db566b1c8454a7d418fbbe05b6a0
commit c6f868d50198db566b1c8454a7d418fbbe05b6a0
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Tue Jan 29 18:12:41 2019 -0500
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Tue Jan 29 18:12:41 2019 -0500

    Adding event_streams to autovacuum list

    https://bugzilla.redhat.com/show_bug.cgi?id=1669541

 config/settings.yml | 1 +
 1 file changed, 1 insertion(+)

Comment 7 CFME Bot 2019-02-14 13:08:45 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/e499a4c1ada5a1d32c6d661eda8de3c0e867f07d
commit e499a4c1ada5a1d32c6d661eda8de3c0e867f07d
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Mon Jan 28 14:21:24 2019 -0500
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Mon Jan 28 14:21:24 2019 -0500

    Adding event_streams to autovacuum list

    https://bugzilla.redhat.com/show_bug.cgi?id=1669541

 config/settings.yml | 1 +
 1 file changed, 1 insertion(+)

Comment 8 John Dupuy 2019-04-29 12:23:26 UTC
Verified in 5.11.0.1.20190424210327_58b5dbd

Steps of verification: 
1) Navigate to advanced settings config
2) Verified that "EventStream" appears under ":vacuum_tables:"


Note You need to log in before you can comment on or make changes to this bug.