M o v e to O ra c le D a ta b a s e 1 1 g â T h e w h o le S to ry
M o v e to O ra c le D a ta b a s e 1 1 g â T h e w h o le S to ry
M o v e to O ra c le D a ta b a s e 1 1 g â T h e w h o le S to ry
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Prepa<strong>ra</strong>tion<br />
• Col<strong>le</strong>cting sufficient performance da<strong>ta</strong> prior<br />
<strong>to</strong> the upg<strong>ra</strong>de is of vi<strong>ta</strong>l impor<strong>ta</strong>nce<br />
• Sufficient means: S<strong>ta</strong>rting at <strong>le</strong>ast 4 weeks before the upg<strong>ra</strong>de<br />
• Gather accu<strong>ra</strong>te performance s<strong>ta</strong>tistics<br />
• In O<strong>ra</strong>c<strong>le</strong> 8i/9i:<br />
• Use STATSPACK<br />
• Export the PERFSTAT user right before the upg<strong>ra</strong>de<br />
• Note:466350.1 STATSPACK before/after upg<strong>ra</strong>de<br />
• In O<strong>ra</strong>c<strong>le</strong> 10g/11g:<br />
• Use AWR<br />
• Take snapshots eve<strong>ry</strong> 30-60 minutes – retention: >30 days<br />
• Ext<strong>ra</strong>ct the AWR with: SQL> @/rdbms/admin/awrext.sql<br />
• => For 10.1 only use: DBMS_SWRF_INTERNAL.EXTRACT_AWR<br />
• Use AWR DIFF reports <strong>to</strong> compare before & after upg<strong>ra</strong>de performance:<br />
DBMS_WORKLOAD_REPOSITORY.AWR_DIFF_REPORT_HTML<br />
© 2010 O<strong>ra</strong>c<strong>le</strong> Corpo<strong>ra</strong>tion 27