presenter: raman chohan. agenda oracle best practices oracle backups why upgrade to oracle 11?...
Post on 22-Dec-2015
230 Views
Preview:
TRANSCRIPT
Presenter: Raman Chohan
AGENDA
• Oracle Best Practices• Oracle Backups• Why upgrade to Oracle 11?• Performance Troubleshooting• axiUm Pre-Upgrade Checklist• Questions
ORACLEBEST PRACTICES
• Good tested backup• Check alert log file for errors• Collect Oracle statistics• Check for invalid/unusable objects • Monitor tablespaces for growth up to 32GB on Windows
• Database auditing on maintenance tables only• Move the Fine Grain Auditing table (sys.fga$) table to
different tablespace from its default• Ensure there is enough free space on server• Truncate temporary axiUm tables (ptbal, ptbalbat,
ptbalext, statemnt, stmtjob, pitemtmp)• Manage growth of message and msgsent tables
• Run DBV while database is not in use• Defragment tablespaces (both Oracle and OS)• Separate axiUm databases/schemas:
– Production– Reports– Training– Testing
ORACLE BACKUPS
• Export/Import• Data Pump• Cold or Off-line Backup• Hot or On-line Backup• RMAN Backup
• Backup software libraries, parameter files, password files, etc
• If database is in ARCHIVELOG mode, backup archived log files as well
• http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmintro.htm
Why upgrade to Oracle 11?
• Extended Oracle support for Oracle 10 ending on July 2013
• There is a known bug in Oracle 10.2.0.4 which causes problem in axiUm messenger
• New Crystal engine in axiUm 5.1x (.NET) requires 11.1.0.7 or higher Oracle client version
• Starting with Oracle client 11.2.0.3 OO4O has been deprecated. New DBEngine=5 (OCCI) will be available in 5.20
Oracle Database Version 11.2 Operating System
32-bit Oracle Database Server and Client 11.2.0.4 and higher Windows 8 (32-bit)
32-bit Oracle Database Client 11.2.0.4 and higher Windows 8 x64
32-bit Oracle Database Client 11.2.0.4 and higher Windows Server 2012 x64
64-bit Oracle Database Server and Client 11.2.0.4 and higher Windows 8 x64
64-bit Oracle Database Server and Client 11.2.0.4 and higher Windows Server 2012 x64
• Tablespace encryption feature available in Oracle 11 (Enterprise Edition – extra cost)
• Oracle Advanced Compression available in Oracle 11 (Enterprise Edition)
PERFORMANCETROUBLESHOOTING
• Check OS resources (CPU, network)• Check running SQL• Check Scheduled Jobs• Check Oracle parameters• Check locked tables• Check alert log file• Use SQL Tuning Advisor to optimize SQL
axiUm PRE-UPGRADECHECKLIST
1. Take a good back up and know how much time it will take to restore if needed2. Check all the datafiles/tablespaces for enough free space3. Disable oracle archiving4. If needed, increase undo and temporary tablespace5. Check for invalid and unusable objects and rebuild them before upgrade
6. Uncompress all the tables - send us the list of these tables7. Disable your customized triggers (don't forget to enable them after the upgrade)8. Change axium schema password and set LOGIN_ATTEMPTS to unlimited. 9. Give "kill session" privilege to axiUm user10. Turn off database auditing (Maintenance – System tab)11. Have an Oracle DBA available at your end during the upgrade
QUESTIONS
THANK YOU
top related