Bug 674800 - Upgrade documentation: mention requirement to check database optimizer settings before schema upgrade
Summary: Upgrade documentation: mention requirement to check database optimizer settin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Upgrades
Version: 540
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Martin Minar
URL:
Whiteboard:
Depends On:
Blocks: sat541-upgrades
TreeView+ depends on / blocked
 
Reported: 2011-02-03 12:18 UTC by Milan Zázrivec
Modified: 2016-07-04 00:55 UTC (History)
7 users (show)

Fixed In Version: rhn-upgrade-5.4.0.23-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-16 17:30:37 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 480562 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 486526 0 medium CLOSED satellite-debug - additional data: usage, sudoers/user/group info, and database optimizer settings 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 674806 0 unspecified CLOSED Satellite with embedded database: supported mechanisms to check and set correct database optimizer settings 2021-02-22 00:41:40 UTC

Internal Links: 480562 486526 674806

Description Milan Zázrivec 2011-02-03 12:18:57 UTC
Description of problem:
Satellite upgrade documentation needs to explicitly mention requirement
to check Oracle database optimizer settings before commencing with schema
upgrade.

This is to make sure the database uses supported & tested optimizer and to
avoid stalled schema upgrades caused by the database being set to use
unsupported (rule based) optimizer.

Version-Release number of selected component (if applicable):
Satellite 5.4 upgrades

How reproducible:
Always

Steps to Reproduce:
1. Read the upgrade documentation (rhn-upgrade package).
  
Actual results:
The upgrade documentation does not say one needs to check database optimizer
settings before proceeding with schema upgrade.

Expected results:
The upgrade documentation says one needs to check database optimizer
settings before proceeding with schema upgrade.

Additional info:
N/A

Comment 2 Mark Huth 2011-03-16 00:11:01 UTC
The query optimizer issue affected one of our GPS guys while he was onsite doing an upgrade to 5.4 for a customer.  They let the schema upgrade run for 24 hours and in the end they had to kill it, restore the db from backup, set the correct optimizer and restart the schema-upgrade.  Having information in the documentation about the need to change the optimizer would have saved them a day of waiting.  So here's hoping this information can make it into the satellite documentation as soon as possible.

-- Mark

Comment 3 Aurelien Gouny 2011-03-16 00:32:34 UTC
Indeed Mark thanks we now completed the schema-upgrade in 26mins instead of >24h.
Looking forward to have this sort of info included in the upgrade documentation.

Cheers,
Aurelien.

Comment 4 Milan Zázrivec 2011-04-14 09:54:40 UTC
Instructions to check / set database optimizer settings were added to
satellite-upgrade.txt and satellite-and-os-upgrade.txt (schema upgrade part).

satellite.git SATELLITE-5.4: 8049b4ff341618ce4d445e1701b3f82ad367e970

Comment 7 Šimon Lukašík 2011-05-31 11:03:42 UTC
Verified in stage with rhn-upgrade-5.4.0.25-1

Comment 8 Clifford Perry 2011-06-16 17:30:37 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0876.html


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