Summary: | RHEV DWH database growing excessively | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Javier Ramirez <javier.ramirez> | |
Component: | ovirt-engine-dwh | Assignee: | Shirly Radco <sradco> | |
Status: | CLOSED ERRATA | QA Contact: | mlehrer | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 3.5.7 | CC: | bgraveno, fdelorey, gklein, jentrena, lsurette, mgoldboi, mkalinin, rbalakri, Rhev-m-bugs, sbonazzo, sradco, srevivo, ykaul | |
Target Milestone: | ovirt-4.0.2 | Keywords: | ZStream | |
Target Release: | 4.0.1 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
Previously, in large environments the delete job took longer than it should have (around 5 hours). This caused a load on the sampling process, data was not deleted, and a backlog was created for large sampling tables such as vm_interface_samples_history and vm_disk_samples_history. This release adds a mechanism that will allow the samples deletion process to become more aggressive according to the following parameters: the number of times the deletion loop runs; the Initial and Increment values; and the number of iterations between increments. In addition, the DWH_LIMIT_ROWS parameter enables updating the hourly and daily deletion process with the amount of rows to be deleted in each iteration. The deletion process is now more dynamic, and can be customized according to the environment, so the delete process will not take longer than 5 hours.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1328709 (view as bug list) | Environment: | ||
Last Closed: | 2016-08-23 21:10:30 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | Metrics | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Bug Depends On: | ||||
Bug Blocks: | 1328709 |
Description
Javier Ramirez
2016-03-28 07:20:57 UTC
Moving to verified. Able to successfully reduce database physical size on disk because DWH delete job ran marking outdated tuples. Upon the end of 'Delete History' process, I ran vacuum full with ovirt-engine-dwh off thus allowing postgres to release physical disk space back to the OS. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-1691.html |