Bug 563902
Summary: | 012-2-rhnPackageFile-data.sql causes UNDO_TBS overflows for very large Satellite databases | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Milan Zázrivec <mzazrivec> |
Component: | Upgrades | Assignee: | Michael Mráka <mmraka> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Minar <mminar> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | cperry, gkhachik, jhutar, mkoci, mminar, mmraka |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | Fixed in the 5.4.0 Release - GA'd 2010-10-27 | ||
Fixed In Version: | oracle-server-scripts-10.2.0-32 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-10-28 15:04:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 487678, 608757 |
Description
Milan Zázrivec
2010-02-11 14:49:58 UTC
We made several attempts to optimize sql upgrade script for current minimal UNDO (500MB) and TEMP (250MB) size unfortunately all of them took more then 24 hours to complete. As this is an unacceptable long upgrade window for customers we agreed to change minimal sizes to 1GB UNDO and 1GB TEMP space. After this modified upgrade script completed in about 4hrs (on ~ 50M row rhnPackageFile table). Spacewalk git: commit 32f607647e4c0214233d6de15c05a5f5f41ec542 563902 - tuned sql upgrade script we have to fit into 1GB TEMP and 1GB UNDO here commit dbf50d25c3839a113ec9065254cc8c776e0d8bad 563902 - let's make default TEMP and UNDO 1GB and save us from many troubles during upgrades Make sure upgrade instructions for satellite >5.3.X contain: Prior running schema upgrade (spacewalk-schema-upgrade) extend both UNDO and TEMP_TBS tablespaces to at least 1GB. # VERIFIED the instruction about extending UND_TBS and TEMP_TBS both to 1GB is written in both rhel4, rhel5 rhn-upgrade documents. The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332 RHEA-2010:0803 - RHN Tools enhancement update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333 RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334 RHEA-2010:0800 - RHN Satellite Server 5.4.0 https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335 Docs are available: http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html Regards, Clifford |