Description of problem: Ran db:migrate on a large database and the ems_events table bloated ~9GiB in size after the migration Before: # SELECT pg_size_pretty(pg_database_size('vmdb_production')); pg_size_pretty ---------------- 25 GB After db:migrate: # SELECT pg_size_pretty(pg_database_size('vmdb_production')); pg_size_pretty ---------------- 37 GB The bloat appears mostly to be introduced from events: Before: ems_events - 8854 MB After db:migrate: event_streams - 17GB Version-Release number of selected component (if applicable): 5.5.4.1 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: This is a side affect noticed in https://bugzilla.redhat.com/show_bug.cgi?id=1337159
https://github.com/ManageIQ/manageiq/pull/9067
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/47c93b3fecb87c3a137acd17650eea5624935726 commit 47c93b3fecb87c3a137acd17650eea5624935726 Author: Lucy Fu <lufu> AuthorDate: Thu Jun 2 11:25:28 2016 -0400 Commit: Lucy Fu <lufu> CommitDate: Thu Jun 2 11:52:48 2016 -0400 Changes to improve the migration performance on EventStream. https://bugzilla.redhat.com/show_bug.cgi?id=1339303 db/migrate/20160307205816_fix_event_class_for_evm_alert_event.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/92aa7df7aba236d4a72ff1aa4fef987dd677b3a3 commit 92aa7df7aba236d4a72ff1aa4fef987dd677b3a3 Author: Lucy Fu <lufu> AuthorDate: Thu Jun 2 11:25:02 2016 -0400 Commit: Lucy Fu <lufu> CommitDate: Thu Jun 2 11:52:48 2016 -0400 Changes to improve the migration time for EmsEvent -> EventStream. https://bugzilla.redhat.com/show_bug.cgi?id=1339303 .../20150806211453_rename_ems_event_table_to_event_stream.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
Moving to NEW to be assigned as the schedule allows.
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=0cc70a9b3cfa71885c2333b4a3382939060e3bd8 commit 0cc70a9b3cfa71885c2333b4a3382939060e3bd8 Author: Lucy Fu <lufu> AuthorDate: Thu Jun 2 11:25:02 2016 -0400 Commit: Lucy Fu <lufu> CommitDate: Fri Jun 3 12:03:58 2016 -0400 Changes to improve the migration time for EmsEvent -> EventStream. https://bugzilla.redhat.com/show_bug.cgi?id=1339303 .../20150806211453_rename_ems_event_table_to_event_stream.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
https://github.com/ManageIQ/manageiq/pull/9133
https://github.com/ManageIQ/manageiq/pull/7620
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-2016:1348