10.07.2015 Views

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

Expert Oracle Exadata - Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 13 MIGRATING TO EXADATA2. Install the RAC system objects by running the catclust.sql script as the sysuser.3. Register the new database with Cluster Ready Services (CRS):a. Register the database.b. Register the instances.c. Create Service Names for the database.4. Create an additional redo thread for each instance. Note that thread 1 isalready active for the first instance.5. Create an Undo tablespace for each database instance. Note that one alreadyexists for the first instance.Wrap Up Physical Migration SectionPhysical migration may prove to be an easy migration option if your application schema is complexenough that you don’t want to take any logical path. Also, physical migration can potentially be donewith very low downtime, by restoring a production copy to the <strong>Exadata</strong> database as a physical standbydatabase and applying production archivelogs until it’s time to switch over and make standby the newproduction database. However this approach cannot be used between platforms with differentendianness and there are a few more <strong>Oracle</strong> version specific restrictions.Dealing with Old init.ora ParametersWhen migrating from an older version of <strong>Oracle</strong>, you might be tempted to keep all the old(undocumented) init.ora parameters for “tuning” or “stability”. The fact is that <strong>Oracle</strong> has very gooddefault values for its parameters since 10g, especially so in 11.2; which likely runs on your <strong>Exadata</strong>cluster. Whatever problems were solved by setting these undocumented parameters years ago, areprobably fixed in the database code already. Also, moving to <strong>Exadata</strong> brings a much bigger change thanany parameter adjustment can introduce, so the stability point is also moot. As such, it’s recommendednot to carry over any undocumented parameters from the old databases, unless your application (like<strong>Oracle</strong> Siebel, SAP) documentation clearly states it as a requirement.Also, there are some documented parameters which should be unset when migrating to <strong>Oracle</strong> 11.2,to allow <strong>Oracle</strong> to pick appropriate values automatically:db_file_multiblock_read_count: This parameter should be unset, as starting from<strong>Oracle</strong> 10.2 the database can pick the appropriate values for it automatically. Infact, this way there actually two different multiblock read count parameters usedin <strong>Oracle</strong>, one for costing and one for execution. This arrangement generallyworks better than leaving the parameter set to some arbitrary value which affectsboth the costing and the execution.• parallel_execution_message_size: if you have tuned this parameter in past (toreduce PX Qref latch contention or parallel messaging overhead) then you canunset it, as the default value for this parameter is 16kB starting from <strong>Oracle</strong> 11.2464

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!