Acknowledgments |
|
xv | |
Introduction |
|
xvii | |
Part I Planning a Smooth Migration |
|
|
1 Overview of Migration, Transformation, and Upgrade Methodologies |
|
|
3 | (6) |
|
Database Upgrade Methodologies |
|
|
4 | (3) |
|
Data Migration Methodologies |
|
|
5 | (2) |
|
Migration with Transformation Methodologies |
|
|
7 | (1) |
|
Future Migration, Transformation, and Upgrade Techniques |
|
|
7 | (1) |
|
|
8 | (1) |
|
2 Choosing the Right Migration Method |
|
|
9 | (20) |
|
Evaluating Your Environment |
|
|
10 | (13) |
|
|
11 | (1) |
|
|
12 | (1) |
|
|
12 | (1) |
|
|
13 | (5) |
|
|
18 | (2) |
|
|
20 | (1) |
|
Additional Considerations |
|
|
21 | (2) |
|
|
23 | (4) |
|
How Downtime Affects Your Choice of Method |
|
|
23 | (1) |
|
How Versions Affect Your Choice of Method |
|
|
24 | (1) |
|
How Architecture Affects Your Choice of Method |
|
|
24 | (1) |
|
How Database Transformation Affects Your Choice of Method |
|
|
25 | (1) |
|
|
26 | (1) |
|
|
27 | (1) |
|
GoldenGate Migration Example |
|
|
27 | (1) |
|
|
28 | (1) |
|
3 Migration/Transformation/Upgrade Methodologies |
|
|
29 | (24) |
|
Planning the Migration Process |
|
|
30 | (4) |
|
Determining the "Window of Inopportunity" |
|
|
30 | (1) |
|
Application Workload Categorization |
|
|
31 | (3) |
|
Capturing Your Migration/Transformation/Upgrade Plan: The Master Checklist |
|
|
34 | (3) |
|
|
34 | (1) |
|
Tasks, Responsibilities, and Actions |
|
|
35 | (1) |
|
Timelines and Expected Task Timings |
|
|
35 | (1) |
|
|
35 | (1) |
|
|
36 | (1) |
|
Testing Your Chosen Migration/Transformation/Upgrade Path |
|
|
37 | (1) |
|
Building a Migration Plan |
|
|
37 | (7) |
|
|
39 | (2) |
|
|
41 | (1) |
|
|
42 | (1) |
|
|
43 | (1) |
|
|
43 | (1) |
|
|
43 | (1) |
|
|
44 | (5) |
|
Planning the Cutover to Production |
|
|
45 | (1) |
|
|
45 | (1) |
|
Ensuring the Database's Data Integrity |
|
|
46 | (1) |
|
Application Server Migration |
|
|
47 | (1) |
|
Evaluating Application Performance |
|
|
47 | (2) |
|
|
49 | (4) |
Part II Cross-Platform Migration |
|
|
|
53 | (20) |
|
|
54 | (5) |
|
|
54 | (1) |
|
How Does Data Guard Work? |
|
|
54 | (3) |
|
|
57 | (1) |
|
|
58 | (1) |
|
|
59 | (1) |
|
Requirements for Migrating with Data Guard |
|
|
59 | (2) |
|
|
61 | (10) |
|
Set Up the Primary and Standby in Preparation of Data Guard |
|
|
61 | (5) |
|
Modify init.ora Parameters on the Primary |
|
|
66 | (2) |
|
Create the Standby System |
|
|
68 | (1) |
|
Duplicate the Database to the Standby |
|
|
68 | (2) |
|
Configure the Data Guard Broker |
|
|
70 | (1) |
|
|
71 | (1) |
|
Migrating with Data Guard |
|
|
71 | (1) |
|
|
72 | (1) |
|
5 Using Recovery Manager (RMAN) for Cross-Platform Migration |
|
|
73 | (46) |
|
|
74 | (3) |
|
|
74 | (1) |
|
|
75 | (1) |
|
|
76 | (1) |
|
RMAN Backup, Restore, and Recovery Techniques |
|
|
77 | (11) |
|
|
77 | (1) |
|
|
78 | (2) |
|
Elements of Oracle's Recommended Backup Strategy |
|
|
80 | (8) |
|
|
88 | (2) |
|
RMAN Enhancements in Oracle 11g: Multi-Piece Backup Sets |
|
|
88 | (1) |
|
RMAN Enhancements in Oracle 12c |
|
|
89 | (1) |
|
Migrating Between ASM and Other File Systems |
|
|
90 | (28) |
|
Non-ASM to ASM Migration: Complete Migration |
|
|
90 | (21) |
|
Non-ASM to ASM Migration: Phased Migration |
|
|
111 | (5) |
|
Monitoring RMAN Performance During Database Migration |
|
|
116 | (2) |
|
|
118 | (1) |
|
6 Transporting Tablespaces and Databases |
|
|
119 | (42) |
|
Migrating Between Operating Systems |
|
|
120 | (6) |
|
TTS Migration vs. TDB Migration: Variables to Consider |
|
|
121 | (2) |
|
Cross-Platform Migration: The Triumvirate |
|
|
123 | (1) |
|
Overcoming Endian Boundaries |
|
|
124 | (2) |
|
Transporting Tablespace Sets: The Basics |
|
|
126 | (9) |
|
TTS Operations: Prerequisites |
|
|
127 | (3) |
|
TTS: Performing the Migration Operation |
|
|
130 | (5) |
|
|
135 | (9) |
|
Create Transportable Tablespace Set as of Specific SCN |
|
|
136 | (6) |
|
Transport Datafiles and Metadata from Source Platform to Destination Platform |
|
|
142 | (1) |
|
Perform Endian Conversion at Destination |
|
|
143 | (1) |
|
Import Source Tablespace Metadata via Data Pump |
|
|
143 | (1) |
|
Switch Transported Tablespaces to READ WRITE Mode at Destination |
|
|
144 | (1) |
|
Revert Selected Tablespaces to READ WRITE Mode on Source Database |
|
|
144 | (1) |
|
TDB: Transporting Entire Databases |
|
|
144 | (13) |
|
TDB: Advantages and Drawbacks |
|
|
144 | (1) |
|
|
145 | (12) |
|
|
157 | (4) |
Part III Migration with Enhancement/Upgrade |
|
|
7 Migrating Oracle Databases with Export/Import |
|
|
161 | (20) |
|
Introduction to Export/Import |
|
|
162 | (4) |
|
Overview of Migrating a Database with Export/Import |
|
|
163 | (1) |
|
Transformations and Export/Import |
|
|
164 | (1) |
|
Using Export/Import for Backup and Recovery and Data Movement |
|
|
165 | (1) |
|
|
165 | (1) |
|
Using Export/Import to Migrate Metadata |
|
|
166 | (1) |
|
Using Legacy Export/Import to Migrate Oracle Databases |
|
|
167 | (5) |
|
Exporting Metadata with Legacy Export/Import |
|
|
167 | (1) |
|
Exporting with Legacy Export/Import |
|
|
168 | (2) |
|
Importing with Legacy Export/Import |
|
|
170 | (2) |
|
Legacy Export/Import Summary |
|
|
172 | (1) |
|
Using Data Pump Export/Import to Migrate Oracle Databases |
|
|
172 | (6) |
|
Data Pump Export/Import Directory Objects |
|
|
173 | (1) |
|
Exporting Metadata with Data Pump Export/Import |
|
|
174 | (1) |
|
|
174 | (2) |
|
Importing with Data Pump Import |
|
|
176 | (2) |
|
Data Pump Export/Import Summary |
|
|
178 | (1) |
|
Point-in-Time Export Using FLASHBACK_SCN |
|
|
178 | (1) |
|
|
179 | (2) |
|
8 Zero or Minimal Downtime Migrations with Oracle GoldenGate |
|
|
181 | (24) |
|
Introduction to Oracle GoldenGate |
|
|
182 | (2) |
|
Uses of Oracle GoldenGate |
|
|
182 | (1) |
|
How Does GoldenGate Work? |
|
|
182 | (1) |
|
|
183 | (1) |
|
|
184 | (1) |
|
Planning a Migration with GoldenGate |
|
|
184 | (1) |
|
Migrating a Database with GoldenGate |
|
|
185 | (18) |
|
|
185 | (4) |
|
Configure and Validate the Database |
|
|
189 | (2) |
|
Enable GoldenGate Replication |
|
|
191 | (4) |
|
Activate a Physical Standby for GoldenGate Export/Import |
|
|
195 | (3) |
|
|
198 | (1) |
|
|
199 | (1) |
|
GoldenGate Cutover Procedure |
|
|
200 | (2) |
|
GoldenGate Cleanup (Optional) |
|
|
202 | (1) |
|
|
203 | (2) |
|
9 Cross-Platform Transportable Tablespace Migration Utilities |
|
|
205 | (24) |
|
|
206 | (1) |
|
|
207 | (21) |
|
Phase One: Migration Preparations |
|
|
208 | (4) |
|
Phase Two: Initial Migration, Method A: RMAN |
|
|
212 | (4) |
|
Phase Two: Initial Migration, Method B: DBMS_FILE_TRANSFER |
|
|
216 | (3) |
|
Phase Three: Incremental Synchronization |
|
|
219 | (4) |
|
Phase Four: Final Synchronization and Migration |
|
|
223 | (5) |
|
|
228 | (1) |
|
10 Migrating to New Storage Platforms Using ASM |
|
|
229 | (20) |
|
|
230 | (1) |
|
|
231 | (4) |
|
|
231 | (1) |
|
|
232 | (1) |
|
|
232 | (1) |
|
|
232 | (2) |
|
|
234 | (1) |
|
|
235 | (2) |
|
|
236 | (1) |
|
|
236 | (1) |
|
Migration Process Using ASM |
|
|
237 | (9) |
|
Add New Storage to the System |
|
|
237 | (4) |
|
Add Storage to the ASM Disk Group(s) |
|
|
241 | (3) |
|
Remove Old Disks from ASM Disk Group(s) |
|
|
244 | (1) |
|
|
245 | (1) |
|
Remove Old Storage from the System |
|
|
245 | (1) |
|
Best Practices, Tips, and Techniques |
|
|
246 | (1) |
|
|
246 | (3) |
Part IV Optimized Upgrades/Migration |
|
|
11 Database Upgrade Assistant |
|
|
249 | (34) |
|
|
250 | (1) |
|
Upgrading the Grid Infrastructure |
|
|
251 | (11) |
|
Installing the New Database Software |
|
|
262 | (1) |
|
Using the Database Upgrade Assistant to Plan an Upgrade |
|
|
263 | (10) |
|
Running the Pre-Upgrade Script |
|
|
263 | (5) |
|
Running the Database Upgrade Utility Scripts |
|
|
268 | (5) |
|
Using the Database Upgrade Assistant to Perform an Upgrade |
|
|
273 | (8) |
|
|
281 | (2) |
|
12 Migrating from Microsoft SQL Server to Oracle |
|
|
283 | (16) |
|
Introduction to Oracle GoldenGate |
|
|
284 | (3) |
|
Uses of Oracle GoldenGate |
|
|
284 | (1) |
|
How Does GoldenGate Work? |
|
|
284 | (1) |
|
|
285 | (1) |
|
|
286 | (1) |
|
Planning a SQL Server Migration with GoldenGate |
|
|
287 | (1) |
|
Oracle GoldenGate for SQL Server Database Profile Script |
|
|
287 | (1) |
|
Migrating a Database with GoldenGate |
|
|
288 | (9) |
|
Set Up GoldenGate on MS SQL Server and Oracle 11g |
|
|
289 | (2) |
|
Configure and Validate the Database |
|
|
291 | (1) |
|
Enable Replication from SQL Server to Oracle 11g |
|
|
291 | (3) |
|
Perform the Initial Migration from MS SQL Server to Oracle |
|
|
294 | (1) |
|
|
295 | (1) |
|
|
296 | (1) |
|
Perform Pre-Cutover Validation |
|
|
296 | (1) |
|
GoldenGate Cutover Procedure |
|
|
296 | (1) |
|
GoldenGate Cleanup (Optional) |
|
|
297 | (1) |
|
|
297 | (2) |
|
13 Moving to Oracle Database 12c |
|
|
299 | (62) |
|
Oracle Database 12c: A Brave New World |
|
|
300 | (1) |
|
Container and Pluggable Databases: A Primer |
|
|
301 | (11) |
|
Common vs. Local Database Files |
|
|
304 | (2) |
|
Common vs. Local Tablespaces and Datafiles |
|
|
306 | (2) |
|
Common vs. Local Users and Objects |
|
|
308 | (1) |
|
CDB Security: Local vs. Common Privileges and Roles |
|
|
309 | (1) |
|
CDB Data Dictionary and Dynamic Views |
|
|
310 | (2) |
|
Directly Upgrading a Pre-12c Database to a 12c CDB |
|
|
312 | (1) |
|
Creating an Empty Container Database |
|
|
312 | (13) |
|
"Upgrating" a Pre-12c Database to a 12c PDB: Mixed-Mode Methods |
|
|
325 | (6) |
|
Upgrading via Oracle GoldenGate |
|
|
327 | (1) |
|
Conversion via Cross-Platform Transportable Tablespace |
|
|
328 | (1) |
|
Conversion via Transportable Tablespace Sets, Cross-Platform Transport, or Full Transportable Export |
|
|
329 | (2) |
|
|
331 | (29) |
|
Scenario 1: Cloning a New Empty PDB from PDB$SEED and Transferring Data Into It |
|
|
333 | (7) |
|
Scenario 2: Cloning a New PDB from an Existing PDB |
|
|
340 | (3) |
|
Scenario 3: Unplugging and Replugging an Existing PDB |
|
|
343 | (8) |
|
Scenario 4: Plugging In an Existing Non-CDB as a New PDB |
|
|
351 | (9) |
|
|
360 | (1) |
|
14 Moving to Oracle Engineered Systems |
|
|
361 | (38) |
|
Engineered Systems: Not Our Father's Mainframe |
|
|
362 | (9) |
|
|
362 | (1) |
|
A Brief Survey of Oracle Engineered Systems |
|
|
363 | (8) |
|
|
371 | (9) |
|
|
371 | (4) |
|
|
375 | (5) |
|
Migrating Databases to an Exadata Environment |
|
|
380 | (9) |
|
Logical Migration Methods |
|
|
380 | (3) |
|
Physical Migration Methods |
|
|
383 | (6) |
|
Handling External Data Efficiently for Exadata: Oracle Database File System |
|
|
389 | (9) |
|
Oracle DBFS: A Practical Example |
|
|
390 | (8) |
|
|
398 | (1) |
|
15 Migrating to Oracle in the Cloud |
|
|
399 | (16) |
|
Cloud Computing: What Is It? |
|
|
400 | (3) |
|
|
401 | (1) |
|
|
402 | (1) |
|
|
402 | (1) |
|
|
402 | (1) |
|
|
403 | (1) |
|
|
403 | (1) |
|
Considerations for Migrating to Cloud Computing |
|
|
404 | (3) |
|
|
404 | (1) |
|
|
404 | (1) |
|
Network Performance and SLA |
|
|
405 | (1) |
|
Application Customizations |
|
|
405 | (1) |
|
The Real Cost of Cloud Computing |
|
|
405 | (1) |
|
|
406 | (1) |
|
|
406 | (1) |
|
Oracle VM and Cloud Computing |
|
|
407 | (1) |
|
Benefits of Running Oracle Databases on Oracle VM |
|
|
408 | (1) |
|
Migration Options for Cloud Computing |
|
|
408 | (4) |
|
|
409 | (2) |
|
|
411 | (1) |
|
Data Synchronization (Replication) |
|
|
411 | (1) |
|
|
412 | (3) |
Part V Best Practices and Tips |
|
|
16 In Summary: Recommendations, Reminders, and Best Practices |
|
|
415 | (10) |
|
Planning a Smooth Migration |
|
|
416 | (1) |
|
|
416 | (1) |
|
Choosing the Right Migration Path |
|
|
416 | (1) |
|
Migration/Transformation/Upgrade Methodology |
|
|
417 | (1) |
|
|
417 | (2) |
|
|
418 | (1) |
|
Migration Using Recovery Manager |
|
|
418 | (1) |
|
Cross-Platform Tablespace Migration Utilities |
|
|
418 | (1) |
|
Migration with Enhancement/Upgrade |
|
|
419 | (2) |
|
|
419 | (1) |
|
Zero or Minimal Downtime Migrations with Oracle GoldenGate |
|
|
419 | (1) |
|
Cross-Platform Tablespace Migration with Incremental Backups |
|
|
420 | (1) |
|
Migrating to New Storage Platforms Using ASM |
|
|
420 | (1) |
|
Optimized Upgrades/Migration |
|
|
421 | (1) |
|
Database Upgrade Assistant |
|
|
421 | (1) |
|
Migrating from Microsoft SQL Server to Oracle |
|
|
421 | (1) |
|
Moving to Oracle Database 12c |
|
|
421 | (1) |
|
Moving to Oracle Engineered Systems |
|
|
422 | (1) |
|
Migrating to Oracle in the Cloud and Recommendations, Reminders, and Best Practices |
|
|
422 | (1) |
|
Migrating to the Oracle in the Cloud |
|
|
423 | (1) |
|
Summary of Best Practices |
|
|
423 | (1) |
|
|
423 | (2) |
Index |
|
425 | |