Bug 1673808
Summary: | ovirt-dwh prevents autovacuum from data garbage collection. | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Roman Hodain <rhodain> |
Component: | ovirt-engine-dwh | Assignee: | Shirly Radco <sradco> |
Status: | CLOSED ERRATA | QA Contact: | David Vaanunu <dvaanunu> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.2.8-2 | CC: | dagur, dfediuck, kkawana, lleistne, lsurette, mlehrer, mtessun, obockows, rdlugyhe, rgolan, Rhev-m-bugs, sradco, srevivo, tburke |
Target Milestone: | ovirt-4.3.5 | Keywords: | Performance, ZStream |
Target Release: | 4.3.5 | Flags: | lsvaty:
testing_plan_complete-
|
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-dwh-4.3.5-1.el7ev | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-12 11:55:10 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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1723168, 1723791 |
Description
Roman Hodain
2019-02-08 08:11:26 UTC
Not ready for GA, so will be handled during 4.3.z. Thanks Shirly that's a very welcomed fix! Verified on: redhat-release-server-7.7-10.el7.x86_64 rhv-release-4.3.5-6-001.noarch ovirt-engine-dwhd.log (DEBUG) Actions: 1) No idle transactions ovirt_engine_history=# select pid, query from pg_stat_activity where state='idle in transaction' and datname='ovirt_engine_history'; pid | query -----+------- (0 rows) 2) Deletion *_samples_history - have data from 03:00AM (~38Hrs) (host / vm) 3) running 'vacuum' - no dead rows left -bash-4.2$ vacuumdb -d ovirt_engine_history -t vm_disk_samples_history -v vacuumdb: vacuuming database "ovirt_engine_history" INFO: vacuuming "public.vm_disk_samples_history" INFO: index "idx_vm_disk_history_datetime_samples" now contains 750672 row versions in 2219 pages DETAIL: 0 index row versions were removed. 337 index pages have been deleted, 337 are currently reusable. CPU: user: 0.00 s, system: 0.01 s, elapsed: 0.02 s. INFO: index "idx_vm_disk_configuration_version_samples" now contains 750672 row versions in 3481 pages DETAIL: 0 index row versions were removed. 198 index pages have been deleted, 198 are currently reusable. CPU: user: 0.01 s, system: 0.02 s, elapsed: 0.03 s. INFO: index "vm_disk_samples_history_vm_disk_id_idx" now contains 750672 row versions in 4554 pages DETAIL: 0 index row versions were removed. 281 index pages have been deleted, 281 are currently reusable. CPU: user: 0.02 s, system: 0.01 s, elapsed: 0.03 s. INFO: index "vm_disk_samples_history_pkey" now contains 750672 row versions in 2426 pages DETAIL: 0 index row versions were removed. 364 index pages have been deleted, 364 are currently reusable. CPU: user: 0.00 s, system: 0.01 s, elapsed: 0.02 s. INFO: "vm_disk_samples_history": found 0 removable, 176443 nonremovable row versions in 3077 out of 13669 pages ==> DETAIL: 0 dead row versions cannot be removed yet, oldest xmin: 320072 There were 22916 unused item pointers. Skipped 0 pages due to buffer pins, 1707 frozen pages. 0 pages are entirely empty. CPU: user: 0.09 s, system: 0.11 s, elapsed: 0.22 s. Open new bug - Closed connection issue https://bugzilla.redhat.com/show_bug.cgi?id=1730384 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://access.redhat.com/errata/RHBA-2019:2444 sync2jira sync2jira |