20
Presenter: Raman Chohan

Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

Embed Size (px)

Citation preview

Page 1: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

Presenter: Raman Chohan

Page 2: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

AGENDA

• Oracle Best Practices• Oracle Backups• Why upgrade to Oracle 11?• Performance Troubleshooting• axiUm Pre-Upgrade Checklist• Questions

Page 3: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

ORACLEBEST PRACTICES

Page 4: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

• 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

Page 5: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

• 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

Page 6: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

• Run DBV while database is not in use• Defragment tablespaces (both Oracle and OS)• Separate axiUm databases/schemas:

– Production– Reports– Training– Testing

Page 7: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

ORACLE BACKUPS

Page 8: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

• Export/Import• Data Pump• Cold or Off-line Backup• Hot or On-line Backup• RMAN Backup

Page 9: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

• 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

Page 10: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

Why upgrade to Oracle 11?

Page 11: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

• 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

Page 12: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

• 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

Page 13: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

• Tablespace encryption feature available in Oracle 11 (Enterprise Edition – extra cost)

• Oracle Advanced Compression available in Oracle 11 (Enterprise Edition)

Page 14: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

PERFORMANCETROUBLESHOOTING

Page 15: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

• 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

Page 16: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

axiUm PRE-UPGRADECHECKLIST

Page 17: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

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

Page 18: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

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

Page 19: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

QUESTIONS

Page 20: Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist

THANK YOU