Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
LET’S GET STARTED
WITH ORACLE
DATABASE CLOUD
Alex Zaballa
Copyright © 2016 Accenture All rights reserved. | 2
Alex Zaballa
http://alexzaballa.blogspot.com/
@alexzaballa
https://www...
Copyright © 2016 Accenture All rights reserved. | 3
Worked for 3 years in Brazil as a Clipper/Delphi Developer (15 years o...
Copyright © 2016 Accenture All rights reserved. | 4
Copyright © 2016 Accenture All rights reserved. | 5
3 Membership Tiers
• Oracle ACE Director
• Oracle ACE
• Oracle ACE Ass...
Copyright © 2016 Accenture All rights reserved. | 6
ORACLE DATABASE CLOUD
CLOUD 101
Copyright © 2016 Accenture All rights reserved. | 7
CLOUD
Will the Database Cloud ”Kill” the DBA?
Copyright © 2016 Accenture All rights reserved. | 8
CLOUD
Copyright © 2016 Accenture All rights reserved. | 9
CLOUD
My Opinion is NO
The DBA will be more specialized:
- Application...
Copyright © 2016 Accenture All rights reserved. | 10
ORACLE DATABASE CLOUD
COMMON USE CASES
• Dev/Test/UAT
• Backup to the...
Copyright © 2016 Accenture All rights reserved. | 11
ORACLE DATABASE CLOUD
COMMON USE CASES
• Disaster Recovery to the Clo...
Copyright © 2016 Accenture All rights reserved. | 12
ORACLE DATABASE CLOUD
COMMON USE CASES ?
• Business Critical Workload...
Copyright © 2016 Accenture All rights reserved. | 13
ORACLE DATABASE CLOUD
CLOUD 101
Infrastructure as a Service (IaaS)
Pl...
Copyright © 2016 Accenture All rights reserved. | 14
ORACLE DATABASE CLOUD
• Oracle Database Cloud Service
• Oracle Databa...
Copyright © 2016 Accenture All rights reserved. | 15
ORACLE DATABASE CLOUD BARE METAL
Dedicated Server
Leverage the full p...
Copyright © 2016 Accenture All rights reserved. | 16
ORACLE DATABASE EXADATA CLOUD SERVICE
Oracle Database Exadata Cloud S...
Copyright © 2016 Accenture All rights reserved. | 17
ORACLE DATABASE EXADATA CLOUD MACHINE
Exadata Cloud Machine or ExaCM ...
Copyright © 2016 Accenture All rights reserved. | 18
ORACLE DATABASE EXADATA EXPRESS CLOUD
SERVICE
Delivers a managed Orac...
Copyright © 2016 Accenture All rights reserved. | 19
ORACLE DATABASE SCHEMA CLOUD SERVICE
The "Schema as a Service" model ...
Copyright © 2016 Accenture All rights reserved. | 20
ORACLE DATABASE CLOUD SERVICE
SOFTWARE EDITIONS
Copyright © 2016 Accenture All rights reserved. | 21
ORACLE DATABASE CLOUD SERVICE
https://cloud.oracle.com/
Copyright © 2016 Accenture All rights reserved. | 22
Copyright © 2016 Accenture All rights reserved. | 23
**credit card  1usd
****remember to disable renew on credit card
Copyright © 2016 Accenture All rights reserved. | 24
= 300 USD
Copyright © 2016 Accenture All rights reserved. | 25
Copyright © 2016 Accenture All rights reserved. | 26
Copyright © 2016 Accenture All rights reserved. | 27
ORACLE DATABASE CLOUD SERVICE
Copyright © 2016 Accenture All rights reserved. | 28
ORACLE DATABASE CLOUD SERVICE
Copyright © 2016 Accenture All rights reserved. | 29
Copyright © 2016 Accenture All rights reserved. | 30
Copyright © 2016 Accenture All rights reserved. | 31
Copyright © 2016 Accenture All rights reserved. | 32
Copyright © 2016 Accenture All rights reserved. | 33
Copyright © 2016 Accenture All rights reserved. | 34
Copyright © 2016 Accenture All rights reserved. | 35
Copyright © 2016 Accenture All rights reserved. | 36
Copyright © 2016 Accenture All rights reserved. | 37
Copyright © 2016 Accenture All rights reserved. | 38
Copyright © 2016 Accenture All rights reserved. | 39
Copyright © 2016 Accenture All rights reserved. | 40
Copyright © 2016 Accenture All rights reserved. | 41
Copyright © 2016 Accenture All rights reserved. | 42
ORACLE DATABASE CLOUD SERVICE
Generating an SSH Key Pair on Windows U...
Copyright © 2016 Accenture All rights reserved. | 43
ORACLE DATABASE CLOUD SERVICE
Generating an SSH Key Pair on UNIX and ...
Copyright © 2016 Accenture All rights reserved. | 44
ORACLE DATABASE CLOUD SERVICE
Copyright © 2016 Accenture All rights reserved. | 45
Copyright © 2016 Accenture All rights reserved. | 46
Copyright © 2016 Accenture All rights reserved. | 47
Copyright © 2016 Accenture All rights reserved. | 48
Copyright © 2016 Accenture All rights reserved. | 49
Copyright © 2016 Accenture All rights reserved. | 50
Copyright © 2016 Accenture All rights reserved. | 51
Copyright © 2016 Accenture All rights reserved. | 52
Copyright © 2016 Accenture All rights reserved. | 53
Copyright © 2016 Accenture All rights reserved. | 54
Copyright © 2016 Accenture All rights reserved. | 55
ORACLE DATABASE CLOUD SERVICE - SSH
Copyright © 2016 Accenture All rights reserved. | 56
ORACLE DATABASE CLOUD SERVICE - DB
Copyright © 2016 Accenture All rights reserved. | 57
ORACLE DATABASE CLOUD SERVICE - DG
Copyright © 2016 Accenture All rights reserved. | 58
ORACLE DATABASE CLOUD SERVICE - DG
Copyright © 2016 Accenture All rights reserved. | 59
Copyright © 2016 Accenture All rights reserved. | 60
ORACLE DATABASE CLOUD SERVICE - PORTS
Copyright © 2016 Accenture All rights reserved. | 61
ORACLE DATABASE CLOUD SERVICE - PORTS
Copyright © 2016 Accenture All rights reserved. | 62
ORACLE DATABASE CLOUD SERVICE - PORTS
Copyright © 2016 Accenture All rights reserved. | 63
ORACLE DATABASE CLOUD SERVICE - MONITOR
Copyright © 2016 Accenture All rights reserved. | 64
ORACLE DATABASE CLOUD SERVICE - MONITOR
Copyright © 2016 Accenture All rights reserved. | 65
ORACLE DATABASE CLOUD SERVICE - MONITOR
Copyright © 2016 Accenture All rights reserved. | 66
ORACLE DATABASE CLOUD SERVICE - MONITOR
Copyright © 2016 Accenture All rights reserved. | 67
ORACLE DATABASE CLOUD SERVICE - MONITOR
Copyright © 2016 Accenture All rights reserved. | 68
ORACLE DATABASE CLOUD SERVICE - EM DB EXPRESS
Copyright © 2016 Accenture All rights reserved. | 69
ORACLE DATABASE CLOUD SERVICE - EM DB EXPRESS
Copyright © 2016 Accenture All rights reserved. | 70
ORACLE DATABASE CLOUD SERVICE - EM DB EXPRESS
Copyright © 2016 Accenture All rights reserved. | 71
ORACLE DATABASE CLOUD SERVICE - EM DB EXPRESS
Copyright © 2016 Accenture All rights reserved. | 72
ORACLE DATABASE BACKUP CLOUD SERVICE
SCALE UP/DOWN
Copyright © 2016 Accenture All rights reserved. | 73
ORACLE DATABASE CLOUD SERVICE - SCALE
Copyright © 2016 Accenture All rights reserved. | 74
ORACLE DATABASE CLOUD SERVICE - SCALE
Copyright © 2016 Accenture All rights reserved. | 75
ORACLE DATABASE CLOUD SERVICE - SCALE
Copyright © 2016 Accenture All rights reserved. | 76
ORACLE DATABASE CLOUD SERVICE - SCALE
Copyright © 2016 Accenture All rights reserved. | 77
ORACLE DATABASE CLOUD SERVICE - SCALE
 xvdb
 xvdg
Copyright © 2016 Accenture All rights reserved. | 78
ORACLE DATABASE CLOUD SERVICE - SCALE
Copyright © 2016 Accenture All rights reserved. | 79
ORACLE DATABASE CLOUD SERVICE - SCALE
Copyright © 2016 Accenture All rights reserved. | 80
ORACLE DATABASE CLOUD SERVICE - SCALE
Copyright © 2016 Accenture All rights reserved. | 81
ORACLE DATABASE CLOUD SERVICE - DBAASCLI
https://docs.oracle.com/en/c...
Copyright © 2016 Accenture All rights reserved. | 82
ORACLE DATABASE CLOUD SERVICE - RACCLI
Copyright © 2016 Accenture All rights reserved. | 83
ORACLE DATABASE BACKUP CLOUD SERVICE
BACKUPS
Copyright © 2016 Accenture All rights reserved. | 84
ORACLE DATABASE CLOUD SERVICE - BACKUPS
Copyright © 2016 Accenture All rights reserved. | 85
ORACLE DATABASE CLOUD SERVICE - BACKUPS
Copyright © 2016 Accenture All rights reserved. | 86
ORACLE DATABASE CLOUD SERVICE - BACKUPS
Copyright © 2016 Accenture All rights reserved. | 87
ORACLE DATABASE CLOUD SERVICE - BACKUPS
Copyright © 2016 Accenture All rights reserved. | 88
ORACLE DATABASE CLOUD SERVICE - BACKUPS
Copyright © 2016 Accenture All rights reserved. | 89
ORACLE DATABASE BACKUP CLOUD SERVICE
PATCHING
Copyright © 2016 Accenture All rights reserved. | 90
ORACLE DATABASE CLOUD SERVICE - PATCHING
Copyright © 2016 Accenture All rights reserved. | 91
ORACLE DATABASE CLOUD SERVICE - PATCHING
Copyright © 2016 Accenture All rights reserved. | 92
ORACLE DATABASE BACKUP CLOUD SERVICE
BACKUP TO CLOUD
Copyright © 2016 Accenture All rights reserved. | 93
INSTALLING THE ORACLE DATABASE CLOUD
BACKUP MODULE
Copyright © 2016 Accenture All rights reserved. | 94
INSTALLING THE ORACLE DATABASE CLOUD
BACKUP MODULE
**proxy
Copyright © 2016 Accenture All rights reserved. | 95
INSTALLING THE ORACLE DATABASE CLOUD
BACKUP MODULE
Copyright © 2016 Accenture All rights reserved. | 96
Copyright © 2016 Accenture All rights reserved. | 97
Copyright © 2016 Accenture All rights reserved. | 98
Copyright © 2016 Accenture All rights reserved. | 99
Copyright © 2016 Accenture All rights reserved. | 100
Copyright © 2016 Accenture All rights reserved. | 101
ORACLE DATABASE CLOUD SERVICE
DETERMINE COMPUTE SHAPE
Copyright © 2016 Accenture All rights reserved. | 102
ORACLE DATABASE CLOUD SERVICE
DETERMINE COMPUTE SHAPE
Copyright © 2016 Accenture All rights reserved. | 103
ORACLE DATABASE CLOUD SERVICE
DETERMINE COMPUTE SHAPE
Use Database C...
Copyright © 2016 Accenture All rights reserved. | 104
ORACLE DATABASE CLOUD SERVICE
DETERMINE COMPUTE SHAPE
Ok!
Now we hav...
Copyright © 2016 Accenture All rights reserved. | 105
ORACLE DATABASE CLOUD SERVICE
DATA LOADING INTO THE CLOUD
Basically,...
Copyright © 2016 Accenture All rights reserved. | 106
ORACLE DATABASE CLOUD SERVICE
DATA LOADING INTO A DATABASE/EXADATA
C...
Copyright © 2016 Accenture All rights reserved. | 107
ORACLE DATABASE CLOUD
CHOOSING A MIGRATION METHOD
1 - Database versi...
Copyright © 2016 Accenture All rights reserved. | 108
ORACLE DATABASE CLOUD
CHOOSING A MIGRATION METHOD
3 - Endian format ...
Copyright © 2016 Accenture All rights reserved. | 109
ORACLE DATABASE CLOUD
MIGRATING FROM ORACLE DATABASE 11G TO
ORACLE D...
Copyright © 2016 Accenture All rights reserved. | 110
ORACLE DATABASE CLOUD
MIGRATING FROM ORACLE DATABASE 11G TO
ORACLE D...
Copyright © 2016 Accenture All rights reserved. | 111
ORACLE DATABASE CLOUD
MIGRATING FROM ORACLE DATABASE 12C CDB
TO ORAC...
Copyright © 2016 Accenture All rights reserved. | 112
ORACLE DATABASE CLOUD
MIGRATING FROM ORACLE DATABASE 12C NON-CDB
TO ...
Copyright © 2016 Accenture All rights reserved. | 113
ORACLE DATABASE CLOUD
CHOOSING A MIGRATION METHOD
https://d0.awsstat...
Copyright © 2016 Accenture All rights reserved. | 114
ORACLE DATABASE CLOUD
CHOOSING A MIGRATION METHOD
Downtime?
Copyright © 2016 Accenture All rights reserved. | 115
ORACLE DATABASE CLOUD
DATA PUMP CONVENTIONAL EXPORT/IMPORT
You can u...
Copyright © 2016 Accenture All rights reserved. | 116
ORACLE DATABASE CLOUD
DATA PUMP CONVENTIONAL EXPORT/IMPORT
On-premis...
Copyright © 2016 Accenture All rights reserved. | 117
ORACLE DATABASE CLOUD
DATA PUMP CONVENTIONAL EXPORT/IMPORT
Database ...
Copyright © 2016 Accenture All rights reserved. | 118
ORACLE DATABASE CLOUD
DATA PUMP TRANSPORTABLE TABLESPACE
You can use...
Copyright © 2016 Accenture All rights reserved. | 119
ORACLE DATABASE CLOUD
DATA PUMP TRANSPORTABLE TABLESPACE
On-premises...
Copyright © 2016 Accenture All rights reserved. | 120
ORACLE DATABASE CLOUD
DATA PUMP TRANSPORTABLE TABLESPACE
Database Cl...
Copyright © 2016 Accenture All rights reserved. | 121
ORACLE DATABASE CLOUD
DATA PUMP TRANSPORTABLE TABLESPACE
Database Cl...
Copyright © 2016 Accenture All rights reserved. | 122
ORACLE DATABASE CLOUD
DATA PUMP FULL TRANSPORTABLE
You can use this ...
Copyright © 2016 Accenture All rights reserved. | 123
ORACLE DATABASE CLOUD
DATA PUMP FULL TRANSPORTABLE
On-premises host:...
Copyright © 2016 Accenture All rights reserved. | 124
ORACLE DATABASE CLOUD
DATA PUMP FULL TRANSPORTABLE
Database Cloud Se...
Copyright © 2016 Accenture All rights reserved. | 125
ORACLE DATABASE CLOUD
DATA PUMP FULL TRANSPORTABLE
Database Cloud Se...
Copyright © 2016 Accenture All rights reserved. | 126
ORACLE DATABASE CLOUD
ORACLE SQL*LOADER
Copyright © 2016 Accenture All rights reserved. | 127
ORACLE DATABASE CLOUD
ORACLE SQL*LOADER
sqlplus scott/tiger
CREATE T...
Copyright © 2016 Accenture All rights reserved. | 128
ORACLE DATABASE CLOUD
ORACLE SQL*LOADER
emp.ctl
LOAD DATA
INFILE '/u...
Copyright © 2016 Accenture All rights reserved. | 129
ORACLE DATABASE CLOUD
ORACLE SQL*LOADER EXPRESS – 12C
SQL> create ta...
Copyright © 2016 Accenture All rights reserved. | 130
ORACLE DATABASE CLOUD
ORACLE SQL*LOADER EXPRESS – 12C
[oracle@oracle...
Copyright © 2016 Accenture All rights reserved. | 131
ORACLE DATABASE CLOUD
EXTERNAL TABLES
Copyright © 2016 Accenture All rights reserved. | 132
ORACLE DATABASE CLOUD
EXTERNAL TABLES
Copyright © 2016 Accenture All rights reserved. | 133
ORACLE DATABASE CLOUD
DATABASE LINKS
Copyright © 2016 Accenture All rights reserved. | 134
ORACLE DATABASE CLOUD
DATABASE LINKS
On-premises host:
CREATE DATABA...
Copyright © 2016 Accenture All rights reserved. | 135
ORACLE DATABASE CLOUD
DATABASE LINKS - CLONE A REMOTE PDB OR
NON-CDB
Copyright © 2016 Accenture All rights reserved. | 136
ORACLE DATABASE CLOUD
DATABASE LINKS - CLONE A REMOTE PDB OR
NON-CDB...
Copyright © 2016 Accenture All rights reserved. | 137
ORACLE DATABASE CLOUD
DATA GUARD
Copyright © 2016 Accenture All rights reserved. | 138
ORACLE DATABASE CLOUD
DATA GUARD
1 - Create Physical Standby
2 – Pre...
Copyright © 2016 Accenture All rights reserved. | 139
ORACLE DATABASE CLOUD
DATA GUARD
Copyright © 2016 Accenture All rights reserved. | 140
ORACLE DATABASE CLOUD
DATA GUARD
SELECT log_mode FROM v$database;
LO...
Copyright © 2016 Accenture All rights reserved. | 141
ORACLE DATABASE CLOUD
DATA GUARD
• Create standby redo logs on the p...
Copyright © 2016 Accenture All rights reserved. | 142
ORACLE DATABASE CLOUD
DATA GUARD
Init.ora:
*.db_name='cdb1’
mkdir -p...
Copyright © 2016 Accenture All rights reserved. | 143
ORACLE DATABASE CLOUD
DATA GUARD
export ORACLE_SID=cdb1
sqlplus / as...
Copyright © 2016 Accenture All rights reserved. | 144
ORACLE DATABASE CLOUD
DATA GUARD
Prepare Client Connections (Ex: tns...
Copyright © 2016 Accenture All rights reserved. | 145
ORACLE DATABASE CLOUD
GOLDENGATE AND GOLDENGATE CLOUD SERVICE
Copyright © 2016 Accenture All rights reserved. | 146
ORACLE DATABASE CLOUD
GOLDENGATE AND GOLDENGATE CLOUD SERVICE
Copyright © 2016 Accenture All rights reserved. | 147
ORACLE DATABASE CLOUD
UNPLUGGING/PLUGGING
Copyright © 2016 Accenture All rights reserved. | 148
ORACLE DATABASE CLOUD
UNPLUGGING/PLUGGING
http://www.oracle.com/webf...
Copyright © 2016 Accenture All rights reserved. | 149
ORACLE DATABASE CLOUD
UNPLUGGING/PLUGGING
http://www.oracle.com/webf...
Copyright © 2016 Accenture All rights reserved. | 150
ORACLE DATABASE CLOUD
UNPLUGGING/PLUGGING
http://www.oracle.com/webf...
Copyright © 2016 Accenture All rights reserved. | 151
ORACLE DATABASE CLOUD
PLUGGABLE DATABASES (PDBS) - REMOTE
CLONING
Copyright © 2016 Accenture All rights reserved. | 152
ORACLE DATABASE CLOUD
PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
SQ...
Copyright © 2016 Accenture All rights reserved. | 153
ORACLE DATABASE CLOUD
PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
Copyright © 2016 Accenture All rights reserved. | 154
ORACLE DATABASE CLOUD
PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
Copyright © 2016 Accenture All rights reserved. | 155
ORACLE DATABASE CLOUD
PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
Copyright © 2016 Accenture All rights reserved. | 156
ORACLE DATABASE CLOUD
PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
Copyright © 2016 Accenture All rights reserved. | 157
ORACLE DATABASE CLOUD
PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
Copyright © 2016 Accenture All rights reserved. | 158
ORACLE DATABASE CLOUD
SQLDEVELOPER DATABASE COPY
Copyright © 2016 Accenture All rights reserved. | 159
ORACLE DATABASE CLOUD
SQLDEVELOPER
Copyright © 2016 Accenture All rights reserved. | 160
ORACLE DATABASE CLOUD
SQLDEVELOPER
Copyright © 2016 Accenture All rights reserved. | 161
ORACLE DATABASE CLOUD
SQLDEVELOPER
Copyright © 2016 Accenture All rights reserved. | 162
ORACLE DATABASE CLOUD
SQLDEVELOPER
Copyright © 2016 Accenture All rights reserved. | 163
ORACLE DATABASE CLOUD
SQLDEVELOPER
Copyright © 2016 Accenture All rights reserved. | 164
ORACLE DATABASE CLOUD
SQLDEVELOPER
Copyright © 2016 Accenture All rights reserved. | 165
Copyright © 2016 Accenture All rights reserved. | 166
ORACLE DATABASE CLOUD
RMAN CROSS-PLATFORM TRANSPORTABLE
TABLESPACE B...
Copyright © 2016 Accenture All rights reserved. | 167
ORACLE DATABASE CLOUD
RMAN CROSS-PLATFORM TRANSPORTABLE
TABLESPACE B...
Copyright © 2016 Accenture All rights reserved. | 168
ORACLE DATABASE CLOUD
RMAN CROSS-PLATFORM TRANSPORTABLE
TABLESPACE B...
Copyright © 2016 Accenture All rights reserved. | 169
ORACLE DATABASE CLOUD
RMAN CROSS-PLATFORM TRANSPORTABLE
TABLESPACE B...
Copyright © 2016 Accenture All rights reserved. | 170
ORACLE DATABASE CLOUD
RMAN CROSS-PLATFORM TRANSPORTABLE
TABLESPACE B...
Copyright © 2016 Accenture All rights reserved. | 171
ORACLE DATABASE CLOUD
RMAN TRANSPORTABLE TABLESPACE WITH
DATA PUMP
Y...
Copyright © 2016 Accenture All rights reserved. | 172
ORACLE DATABASE CLOUD
RMAN TRANSPORTABLE TABLESPACE WITH
DATA PUMP
O...
Copyright © 2016 Accenture All rights reserved. | 173
ORACLE DATABASE CLOUD
RMAN TRANSPORTABLE TABLESPACE WITH
DATA PUMP
D...
Copyright © 2016 Accenture All rights reserved. | 174
ORACLE DATABASE CLOUD
RMAN TRANSPORTABLE TABLESPACE WITH
DATA PUMP
D...
Copyright © 2016 Accenture All rights reserved. | 175
ORACLE DATABASE CLOUD
RMAN CONVERT TRANSPORTABLE TABLESPACE
WITH DAT...
Copyright © 2016 Accenture All rights reserved. | 176
ORACLE DATABASE CLOUD
RMAN CONVERT TRANSPORTABLE TABLESPACE
WITH DAT...
Copyright © 2016 Accenture All rights reserved. | 177
Database Cloud Service compute node:
mkdir /u01/app/oracle/admin/ORC...
Copyright © 2016 Accenture All rights reserved. | 178
On-premises host:
$ scp -i private_key_file  /u01/app/oracle/admin/o...
Copyright © 2016 Accenture All rights reserved. | 179
Database Cloud Service compute node:
CREATE DIRECTORY dp_from_onprem...
Copyright © 2016 Accenture All rights reserved. | 180
QUESTIONS?
Copyright © 2016 Accenture All rights reserved. | 181
Thank You
Slides Available: http://www.slideshare.net/
Upcoming SlideShare
Loading in …5
×

LET’S GET STARTED WITH ORACLE DATABASE CLOUD

228 views

Published on

Presentation about Oracle Database Cloud for OOW17

Published in: Technology

LET’S GET STARTED WITH ORACLE DATABASE CLOUD

  1. 1. LET’S GET STARTED WITH ORACLE DATABASE CLOUD Alex Zaballa
  2. 2. Copyright © 2016 Accenture All rights reserved. | 2 Alex Zaballa http://alexzaballa.blogspot.com/ @alexzaballa https://www.linkedin.com/in/alexzaballa 236 and counting…
  3. 3. Copyright © 2016 Accenture All rights reserved. | 3 Worked for 3 years in Brazil as a Clipper/Delphi Developer (15 years old) 1997-1999 Worked for 7 years in Brazil as an Oracle Developer 2000 - 2007 Worked for 8 years in Angola as an Oracle DBA for the Ministry of Finance. 2007 - 2015
  4. 4. Copyright © 2016 Accenture All rights reserved. | 4
  5. 5. Copyright © 2016 Accenture All rights reserved. | 5 3 Membership Tiers • Oracle ACE Director • Oracle ACE • Oracle ACE Associate bit.ly/OracleACEProgram 500+ Technical Experts Helping Peers Globally Connect: Nominate yourself or someone you know: acenomination.oracle.com @oracleace Facebook.com/oracleaces oracle-ace_ww@oracle.com
  6. 6. Copyright © 2016 Accenture All rights reserved. | 6 ORACLE DATABASE CLOUD CLOUD 101
  7. 7. Copyright © 2016 Accenture All rights reserved. | 7 CLOUD Will the Database Cloud ”Kill” the DBA?
  8. 8. Copyright © 2016 Accenture All rights reserved. | 8 CLOUD
  9. 9. Copyright © 2016 Accenture All rights reserved. | 9 CLOUD My Opinion is NO The DBA will be more specialized: - Application DBA - Architecture DBA - Performance and Tuning DBA - Big Data DBA
  10. 10. Copyright © 2016 Accenture All rights reserved. | 10 ORACLE DATABASE CLOUD COMMON USE CASES • Dev/Test/UAT • Backup to the Cloud
  11. 11. Copyright © 2016 Accenture All rights reserved. | 11 ORACLE DATABASE CLOUD COMMON USE CASES • Disaster Recovery to the Cloud
  12. 12. Copyright © 2016 Accenture All rights reserved. | 12 ORACLE DATABASE CLOUD COMMON USE CASES ? • Business Critical Workloads in the Cloud
  13. 13. Copyright © 2016 Accenture All rights reserved. | 13 ORACLE DATABASE CLOUD CLOUD 101 Infrastructure as a Service (IaaS) Platform as a Service (PaaS) Database as a Service (Dbaas) Software as a Service (SaaS)
  14. 14. Copyright © 2016 Accenture All rights reserved. | 14 ORACLE DATABASE CLOUD • Oracle Database Cloud Service • Oracle Database Cloud Service – Bare Metal • Oracle Database Exadata Cloud Service • Oracle Database Exadata Cloud Machine • Oracle Database Exadata Express Cloud Service – Managed • Oracle Database Schema Cloud Service - Managed https://cloud.oracle.com/database
  15. 15. Copyright © 2016 Accenture All rights reserved. | 15 ORACLE DATABASE CLOUD BARE METAL Dedicated Server Leverage the full power of a dedicated bare metal server without any noisy neighbor or virtualization overhead for your database needs.
  16. 16. Copyright © 2016 Accenture All rights reserved. | 16 ORACLE DATABASE EXADATA CLOUD SERVICE Oracle Database Exadata Cloud Service provides full Oracle Databases hosted on Oracle Exadata Database Machine inside the Oracle Cloud.
  17. 17. Copyright © 2016 Accenture All rights reserved. | 17 ORACLE DATABASE EXADATA CLOUD MACHINE Exadata Cloud Machine or ExaCM is the cloud- based Oracle Database subscription service available on Oracle Exadata, but deployed in the customer data center behind their firewall.
  18. 18. Copyright © 2016 Accenture All rights reserved. | 18 ORACLE DATABASE EXADATA EXPRESS CLOUD SERVICE Delivers a managed Oracle Database 12c Release 2 Enterprise Edition running on Oracle Exadata engineered systems for small to medium sized data. **No SmartScan ***Managed by Oracle
  19. 19. Copyright © 2016 Accenture All rights reserved. | 19 ORACLE DATABASE SCHEMA CLOUD SERVICE The "Schema as a Service" model was the first DBaaS offering delivered on the Oracle Cloud and it provides a single schema. *Runs Oracle Application Express (APEX) **Managed by Oracle *** Max size 50GB
  20. 20. Copyright © 2016 Accenture All rights reserved. | 20 ORACLE DATABASE CLOUD SERVICE SOFTWARE EDITIONS
  21. 21. Copyright © 2016 Accenture All rights reserved. | 21 ORACLE DATABASE CLOUD SERVICE https://cloud.oracle.com/
  22. 22. Copyright © 2016 Accenture All rights reserved. | 22
  23. 23. Copyright © 2016 Accenture All rights reserved. | 23 **credit card  1usd ****remember to disable renew on credit card
  24. 24. Copyright © 2016 Accenture All rights reserved. | 24 = 300 USD
  25. 25. Copyright © 2016 Accenture All rights reserved. | 25
  26. 26. Copyright © 2016 Accenture All rights reserved. | 26
  27. 27. Copyright © 2016 Accenture All rights reserved. | 27 ORACLE DATABASE CLOUD SERVICE
  28. 28. Copyright © 2016 Accenture All rights reserved. | 28 ORACLE DATABASE CLOUD SERVICE
  29. 29. Copyright © 2016 Accenture All rights reserved. | 29
  30. 30. Copyright © 2016 Accenture All rights reserved. | 30
  31. 31. Copyright © 2016 Accenture All rights reserved. | 31
  32. 32. Copyright © 2016 Accenture All rights reserved. | 32
  33. 33. Copyright © 2016 Accenture All rights reserved. | 33
  34. 34. Copyright © 2016 Accenture All rights reserved. | 34
  35. 35. Copyright © 2016 Accenture All rights reserved. | 35
  36. 36. Copyright © 2016 Accenture All rights reserved. | 36
  37. 37. Copyright © 2016 Accenture All rights reserved. | 37
  38. 38. Copyright © 2016 Accenture All rights reserved. | 38
  39. 39. Copyright © 2016 Accenture All rights reserved. | 39
  40. 40. Copyright © 2016 Accenture All rights reserved. | 40
  41. 41. Copyright © 2016 Accenture All rights reserved. | 41
  42. 42. Copyright © 2016 Accenture All rights reserved. | 42 ORACLE DATABASE CLOUD SERVICE Generating an SSH Key Pair on Windows Using the PuTTYgen Program
  43. 43. Copyright © 2016 Accenture All rights reserved. | 43 ORACLE DATABASE CLOUD SERVICE Generating an SSH Key Pair on UNIX and UNIX-Like Platforms Using the ssh-keygen Utility
  44. 44. Copyright © 2016 Accenture All rights reserved. | 44 ORACLE DATABASE CLOUD SERVICE
  45. 45. Copyright © 2016 Accenture All rights reserved. | 45
  46. 46. Copyright © 2016 Accenture All rights reserved. | 46
  47. 47. Copyright © 2016 Accenture All rights reserved. | 47
  48. 48. Copyright © 2016 Accenture All rights reserved. | 48
  49. 49. Copyright © 2016 Accenture All rights reserved. | 49
  50. 50. Copyright © 2016 Accenture All rights reserved. | 50
  51. 51. Copyright © 2016 Accenture All rights reserved. | 51
  52. 52. Copyright © 2016 Accenture All rights reserved. | 52
  53. 53. Copyright © 2016 Accenture All rights reserved. | 53
  54. 54. Copyright © 2016 Accenture All rights reserved. | 54
  55. 55. Copyright © 2016 Accenture All rights reserved. | 55 ORACLE DATABASE CLOUD SERVICE - SSH
  56. 56. Copyright © 2016 Accenture All rights reserved. | 56 ORACLE DATABASE CLOUD SERVICE - DB
  57. 57. Copyright © 2016 Accenture All rights reserved. | 57 ORACLE DATABASE CLOUD SERVICE - DG
  58. 58. Copyright © 2016 Accenture All rights reserved. | 58 ORACLE DATABASE CLOUD SERVICE - DG
  59. 59. Copyright © 2016 Accenture All rights reserved. | 59
  60. 60. Copyright © 2016 Accenture All rights reserved. | 60 ORACLE DATABASE CLOUD SERVICE - PORTS
  61. 61. Copyright © 2016 Accenture All rights reserved. | 61 ORACLE DATABASE CLOUD SERVICE - PORTS
  62. 62. Copyright © 2016 Accenture All rights reserved. | 62 ORACLE DATABASE CLOUD SERVICE - PORTS
  63. 63. Copyright © 2016 Accenture All rights reserved. | 63 ORACLE DATABASE CLOUD SERVICE - MONITOR
  64. 64. Copyright © 2016 Accenture All rights reserved. | 64 ORACLE DATABASE CLOUD SERVICE - MONITOR
  65. 65. Copyright © 2016 Accenture All rights reserved. | 65 ORACLE DATABASE CLOUD SERVICE - MONITOR
  66. 66. Copyright © 2016 Accenture All rights reserved. | 66 ORACLE DATABASE CLOUD SERVICE - MONITOR
  67. 67. Copyright © 2016 Accenture All rights reserved. | 67 ORACLE DATABASE CLOUD SERVICE - MONITOR
  68. 68. Copyright © 2016 Accenture All rights reserved. | 68 ORACLE DATABASE CLOUD SERVICE - EM DB EXPRESS
  69. 69. Copyright © 2016 Accenture All rights reserved. | 69 ORACLE DATABASE CLOUD SERVICE - EM DB EXPRESS
  70. 70. Copyright © 2016 Accenture All rights reserved. | 70 ORACLE DATABASE CLOUD SERVICE - EM DB EXPRESS
  71. 71. Copyright © 2016 Accenture All rights reserved. | 71 ORACLE DATABASE CLOUD SERVICE - EM DB EXPRESS
  72. 72. Copyright © 2016 Accenture All rights reserved. | 72 ORACLE DATABASE BACKUP CLOUD SERVICE SCALE UP/DOWN
  73. 73. Copyright © 2016 Accenture All rights reserved. | 73 ORACLE DATABASE CLOUD SERVICE - SCALE
  74. 74. Copyright © 2016 Accenture All rights reserved. | 74 ORACLE DATABASE CLOUD SERVICE - SCALE
  75. 75. Copyright © 2016 Accenture All rights reserved. | 75 ORACLE DATABASE CLOUD SERVICE - SCALE
  76. 76. Copyright © 2016 Accenture All rights reserved. | 76 ORACLE DATABASE CLOUD SERVICE - SCALE
  77. 77. Copyright © 2016 Accenture All rights reserved. | 77 ORACLE DATABASE CLOUD SERVICE - SCALE  xvdb  xvdg
  78. 78. Copyright © 2016 Accenture All rights reserved. | 78 ORACLE DATABASE CLOUD SERVICE - SCALE
  79. 79. Copyright © 2016 Accenture All rights reserved. | 79 ORACLE DATABASE CLOUD SERVICE - SCALE
  80. 80. Copyright © 2016 Accenture All rights reserved. | 80 ORACLE DATABASE CLOUD SERVICE - SCALE
  81. 81. Copyright © 2016 Accenture All rights reserved. | 81 ORACLE DATABASE CLOUD SERVICE - DBAASCLI https://docs.oracle.com/en/cloud/paas/database-dbaas-cloud/csdbi/dbaascli.html
  82. 82. Copyright © 2016 Accenture All rights reserved. | 82 ORACLE DATABASE CLOUD SERVICE - RACCLI
  83. 83. Copyright © 2016 Accenture All rights reserved. | 83 ORACLE DATABASE BACKUP CLOUD SERVICE BACKUPS
  84. 84. Copyright © 2016 Accenture All rights reserved. | 84 ORACLE DATABASE CLOUD SERVICE - BACKUPS
  85. 85. Copyright © 2016 Accenture All rights reserved. | 85 ORACLE DATABASE CLOUD SERVICE - BACKUPS
  86. 86. Copyright © 2016 Accenture All rights reserved. | 86 ORACLE DATABASE CLOUD SERVICE - BACKUPS
  87. 87. Copyright © 2016 Accenture All rights reserved. | 87 ORACLE DATABASE CLOUD SERVICE - BACKUPS
  88. 88. Copyright © 2016 Accenture All rights reserved. | 88 ORACLE DATABASE CLOUD SERVICE - BACKUPS
  89. 89. Copyright © 2016 Accenture All rights reserved. | 89 ORACLE DATABASE BACKUP CLOUD SERVICE PATCHING
  90. 90. Copyright © 2016 Accenture All rights reserved. | 90 ORACLE DATABASE CLOUD SERVICE - PATCHING
  91. 91. Copyright © 2016 Accenture All rights reserved. | 91 ORACLE DATABASE CLOUD SERVICE - PATCHING
  92. 92. Copyright © 2016 Accenture All rights reserved. | 92 ORACLE DATABASE BACKUP CLOUD SERVICE BACKUP TO CLOUD
  93. 93. Copyright © 2016 Accenture All rights reserved. | 93 INSTALLING THE ORACLE DATABASE CLOUD BACKUP MODULE
  94. 94. Copyright © 2016 Accenture All rights reserved. | 94 INSTALLING THE ORACLE DATABASE CLOUD BACKUP MODULE **proxy
  95. 95. Copyright © 2016 Accenture All rights reserved. | 95 INSTALLING THE ORACLE DATABASE CLOUD BACKUP MODULE
  96. 96. Copyright © 2016 Accenture All rights reserved. | 96
  97. 97. Copyright © 2016 Accenture All rights reserved. | 97
  98. 98. Copyright © 2016 Accenture All rights reserved. | 98
  99. 99. Copyright © 2016 Accenture All rights reserved. | 99
  100. 100. Copyright © 2016 Accenture All rights reserved. | 100
  101. 101. Copyright © 2016 Accenture All rights reserved. | 101 ORACLE DATABASE CLOUD SERVICE DETERMINE COMPUTE SHAPE
  102. 102. Copyright © 2016 Accenture All rights reserved. | 102 ORACLE DATABASE CLOUD SERVICE DETERMINE COMPUTE SHAPE
  103. 103. Copyright © 2016 Accenture All rights reserved. | 103 ORACLE DATABASE CLOUD SERVICE DETERMINE COMPUTE SHAPE Use Database Consolidation Workbench **Database Consolidation Workbench requires the Database Diagnostics pack license.
  104. 104. Copyright © 2016 Accenture All rights reserved. | 104 ORACLE DATABASE CLOUD SERVICE DETERMINE COMPUTE SHAPE Ok! Now we have the definition of CPUs, Memory and Storage equivalent in the Oracle Cloud.
  105. 105. Copyright © 2016 Accenture All rights reserved. | 105 ORACLE DATABASE CLOUD SERVICE DATA LOADING INTO THE CLOUD Basically, it depends on the Cloud Service that I’m using.
  106. 106. Copyright © 2016 Accenture All rights reserved. | 106 ORACLE DATABASE CLOUD SERVICE DATA LOADING INTO A DATABASE/EXADATA CLOUD SERVICE • SQL*Loader • Import/export • Oracle Data Pump Export/Import Utility • Transportable Tablespaces • Pluggable Databases (PDBs)  Remote Cloning  Lift and Shift • APEX/SQL Developer Data Loaders • External Tables • Dataguard • GoldenGate • REST Services • Enterprise Manager (12cR5 or 13c) • Bulk Data Transfer
  107. 107. Copyright © 2016 Accenture All rights reserved. | 107 ORACLE DATABASE CLOUD CHOOSING A MIGRATION METHOD 1 - Database version of your on-premises database: • Oracle Database 11g Release 2 version lower than 11.2.0.3 • Oracle Database 11g Release 2 version 11.2.0.3 or higher • Oracle Database 12c Release 1 version lower than 12.1.0.2 • Oracle Database 12c Release 1 version 12.1.0.2 or higher 2 - For on-premises Oracle Database 12c Release 1 databases, the architecture of the database: • Multitenant container database (CDB) • Non-CDB
  108. 108. Copyright © 2016 Accenture All rights reserved. | 108 ORACLE DATABASE CLOUD CHOOSING A MIGRATION METHOD 3 - Endian format (byte ordering) of your on-premises database’s host platform 4 - Database character set of your on-premises database and Oracle Database Cloud Service database 5 - Database version of the Oracle Database Cloud database you are migrating to: • Oracle Database 11g Release 2 • Oracle Database 12c Release 1
  109. 109. Copyright © 2016 Accenture All rights reserved. | 109 ORACLE DATABASE CLOUD MIGRATING FROM ORACLE DATABASE 11G TO ORACLE DATABASE 11G IN THE CLOUD • Data Pump Conventional Export/Import • Data Pump Transportable Tablespace • RMAN Transportable Tablespace with Data Pump • RMAN CONVERT Transportable Tablespace with Data Pump
  110. 110. Copyright © 2016 Accenture All rights reserved. | 110 ORACLE DATABASE CLOUD MIGRATING FROM ORACLE DATABASE 11G TO ORACLE DATABASE 12C IN THE CLOUD • Data Pump Conventional Export/Import • Data Pump Transportable Tablespace • RMAN Transportable Tablespace with Data Pump • RMAN CONVERT Transportable Tablespace with Data Pump • Data Pump Full Transportable
  111. 111. Copyright © 2016 Accenture All rights reserved. | 111 ORACLE DATABASE CLOUD MIGRATING FROM ORACLE DATABASE 12C CDB TO ORACLE DATABASE 12C IN THE CLOUD • Data Pump Conventional Export/Import • Data Pump Transportable Tablespace • RMAN Transportable Tablespace with Data Pump • RMAN CONVERT Transportable Tablespace with Data Pump • RMAN Cross-Platform Transportable Tablespace Backup Sets • Data Pump Full Transportable • Unplugging/Plugging (CDB) • Remote Cloning (CDB) • RMAN Cross-Platform Transportable PDB • SQL Developer and SQL*Loader to Migrate Selected Objects • SQL Developer and INSERT Statements to Migrate Selected Objects
  112. 112. Copyright © 2016 Accenture All rights reserved. | 112 ORACLE DATABASE CLOUD MIGRATING FROM ORACLE DATABASE 12C NON-CDB TO ORACLE DATABASE 12C IN THE CLOUD • Data Pump Conventional Export/Import • Data Pump Transportable Tablespace • RMAN Transportable Tablespace with Data Pump • RMAN CONVERT Transportable Tablespace with Data Pump • RMAN Cross-Platform Transportable Tablespace Backup Sets • Data Pump Full Transportable • Unplugging/Plugging (CDB) • Remote Cloning (non-CDB) • SQL Developer and SQL*Loader to Migrate Selected Objects • SQL Developer and INSERT Statements to Migrate Selected Objects
  113. 113. Copyright © 2016 Accenture All rights reserved. | 113 ORACLE DATABASE CLOUD CHOOSING A MIGRATION METHOD https://d0.awsstatic.com/whitepapers/strategies-for-migrating-oracle-database-to-aws.pdf
  114. 114. Copyright © 2016 Accenture All rights reserved. | 114 ORACLE DATABASE CLOUD CHOOSING A MIGRATION METHOD Downtime?
  115. 115. Copyright © 2016 Accenture All rights reserved. | 115 ORACLE DATABASE CLOUD DATA PUMP CONVENTIONAL EXPORT/IMPORT You can use this method regardless of the endian format and database character set of the on-premises database.
  116. 116. Copyright © 2016 Accenture All rights reserved. | 116 ORACLE DATABASE CLOUD DATA PUMP CONVENTIONAL EXPORT/IMPORT On-premises host: mkdir /u01/app/oracle/admin/orcl/dpdump/for_cloud sqlplus user/password CREATE DIRECTORY dp_for_cloud AS '/u01/app/oracle/admin/orcl/dpdump/for_cloud'; expdp user/password SCHEMAS=fsowner DIRECTORY=dp_for_cloud
  117. 117. Copyright © 2016 Accenture All rights reserved. | 117 ORACLE DATABASE CLOUD DATA PUMP CONVENTIONAL EXPORT/IMPORT Database Cloud Service compute node: mkdir /u01/app/oracle/admin/ORCL/dpdump/from_onprem On-premises host: scp –i private_key_file /u01/app/oracle/admin/orcl/dpdump/for_cloud/expdat.dmp oracle@IP_address_DBaaS_VM:/u01/app/oracle/admin/ORCL/dpdump/from_onprem Database Cloud Service compute node: sqlplus user/password CREATE DIRECTORY dp_from_onprem AS '/u01/app/oracle/admin/ORCL/dpdump/from_onprem'; impdp user/password SCHEMAS=fsowner DIRECTORY=dp_from_onprem
  118. 118. Copyright © 2016 Accenture All rights reserved. | 118 ORACLE DATABASE CLOUD DATA PUMP TRANSPORTABLE TABLESPACE You can use this method only if the on-premises platform is little endian, and the database character sets of your on-premises database and Oracle Database Cloud Service database are compatible.
  119. 119. Copyright © 2016 Accenture All rights reserved. | 119 ORACLE DATABASE CLOUD DATA PUMP TRANSPORTABLE TABLESPACE On-premises host: mkdir /u01/app/oracle/admin/orcl/dpdump/for_cloud sqlplus user/password CREATE DIRECTORY dp_for_cloud AS '/u01/app/oracle/admin/orcl/dpdump/for_cloud'; ALTER TABLESPACE fsindex READ ONLY; ALTER TABLESPACE fsdata READ ONLY; expdp user/password TRANSPORT_TABLESPACES=fsdata,fsindex TRANSPORT_FULL_CHECK=YES DIRECTORY=dp_for_cloud
  120. 120. Copyright © 2016 Accenture All rights reserved. | 120 ORACLE DATABASE CLOUD DATA PUMP TRANSPORTABLE TABLESPACE Database Cloud Service compute node: mkdir /u01/app/oracle/admin/ORCL/dpdump/from_onprem On-premises host: $ scp -i private_key_file /u01/app/oracle/admin/orcl/dpdump/for_cloud/expdat.dmp oracle@IP_address_DBaaS_VM:/u01/app/oracle/admin/ORCL/dpdump/from_onprem $ scp -i private_key_file /u01/app/oracle/oradata/orcl/fsdata01.dbf oracle@IP_address_DBaaS_VM:/u02/app/oracle/oradata/ORCL $ scp -i private_key_file /u01/app/oracle/oradata/orcl/fsindex01.dbf oracle@IP_address_DBaaS_VM:/u02/app/oracle/oradata/ORCL ALTER TABLESPACE fsdata READ WRITE; ALTER TABLESPACE fsindexREAD WRITE;
  121. 121. Copyright © 2016 Accenture All rights reserved. | 121 ORACLE DATABASE CLOUD DATA PUMP TRANSPORTABLE TABLESPACE Database Cloud Service compute node: CREATE DIRECTORY dp_from_onprem AS '/u01/app/oracle/admin/ORCL/dpdump/from_onprem'; SQL> CREATE USER fsowner PROFILE default IDENTIFIED BY fspass TEMPORARY TABLESPACE temp ACCOUNT UNLOCK; impdp user/password DIRECTORY=dp_from_onprem TRANSPORT_DATAFILES='/u02/app/oracle/oradata/ORCL/fsdata01.dbf', '/u02/app/oracle/oradata/ORCL/fsindex01.dbf’ ALTER TABLESPACE fsdata READ WRITE; ALTER TABLESPACE fsindex READ WRITE;
  122. 122. Copyright © 2016 Accenture All rights reserved. | 122 ORACLE DATABASE CLOUD DATA PUMP FULL TRANSPORTABLE You can use this method only if the source database release version is 11.2.0.3 or later, and the database character sets of your on-premises database and Oracle Database Cloud Service database are compatible.
  123. 123. Copyright © 2016 Accenture All rights reserved. | 123 ORACLE DATABASE CLOUD DATA PUMP FULL TRANSPORTABLE On-premises host: mkdir /u01/app/oracle/admin/orcl/dpdump/for_cloud sqlplus user/password CREATE DIRECTORY dp_for_cloud AS '/u01/app/oracle/admin/orcl/dpdump/for_cloud'; Determine the name(s) of the tablespaces and data files that belong to the user-defined tablespaces by querying DBA_DATA_FILES and make then read only: ALTER TABLESPACE fsdata READ ONLY; ALTER TABLESPACE fsindex READ ONLY; ALTER TABLESPACE users READ ONLY; expdp system/password FULL=y TRANSPORTABLE=always VERSION=12 DUMPFILE=expdat.dmp DIRECTORY=dp_for_cloud
  124. 124. Copyright © 2016 Accenture All rights reserved. | 124 ORACLE DATABASE CLOUD DATA PUMP FULL TRANSPORTABLE Database Cloud Service compute node: mkdir /u01/app/oracle/admin/ORCL/dpdump/from_source On-premises host: $ scp -i private_key_file /u01/app/oracle/oradata/orcl/fsdata01.dbf oracle@compute_node_IP_address:/u02/app/oracle/oradata/ORCL/PDB2 $ scp -i private_key_file /u01/app/oracle/oradata/orcl/fsindex01.dbf oracle@compute_node_IP_address:/u02/app/oracle/oradata/ORCL/PDB2 $ scp -i private_key_file /u01/app/oracle/oradata/orcl/users01.dbf oracle@compute_node_IP_address:/u02/app/oracle/oradata/ORCL/PDB2 ALTER TABLESPACE fsdata READ WRITE; ALTER TABLESPACE fsindex READ WRITE; ALTER TABLESPACE users READ WRITE;
  125. 125. Copyright © 2016 Accenture All rights reserved. | 125 ORACLE DATABASE CLOUD DATA PUMP FULL TRANSPORTABLE Database Cloud Service compute node: CREATE DIRECTORY dp_from_source AS '/u01/app/oracle/admin/ORCL/dpdump/from_source'; impdp system@PDB2 FULL=y DIRECTORY=dp_from_source TRANSPORT_DATAFILES= '/u02/app/oracle/oradata/ORCL/PDB2/fsdata01.dbf', '/u02/app/oracle/oradata/ORCL/PDB2/fsindex01.dbf,' '/u02/app/oracle/oradata/ORCL/PDB2/users01.dbf'
  126. 126. Copyright © 2016 Accenture All rights reserved. | 126 ORACLE DATABASE CLOUD ORACLE SQL*LOADER
  127. 127. Copyright © 2016 Accenture All rights reserved. | 127 ORACLE DATABASE CLOUD ORACLE SQL*LOADER sqlplus scott/tiger CREATE TABLE emp (empno number(5), name varchar2(50), sal number(10,2), jdate date);
  128. 128. Copyright © 2016 Accenture All rights reserved. | 128 ORACLE DATABASE CLOUD ORACLE SQL*LOADER emp.ctl LOAD DATA INFILE '/u01/oracle/emp.csv’ BADFILE ‘/u01/oracle/emp.bad’ DISCARDFILE ‘/u01/oracle/emp.dsc’ INSERT INTO TABLE emp FIELDS TERMINATED BY “,” OPTIONALLY ENCLOSED BY ‘”’ TRAILING NULLCOLS (empno,name,sal,jdate date ‘mm/dd/yyyy’) sqlldr userid=scott/tiger control=emp.ctl log=emp.log
  129. 129. Copyright © 2016 Accenture All rights reserved. | 129 ORACLE DATABASE CLOUD ORACLE SQL*LOADER EXPRESS – 12C SQL> create table COMPANY (id NUMBER(1), name VARCHAR2(30)); Table created. [oracle@oracle01 tmp]$ cat COMPANY .dat 1,Company 1 2,Company 2 3,Company 3 4,Company 4 5,Company 5 6,Company 6 7,Company 7 8,Company 8 9,Company 9
  130. 130. Copyright © 2016 Accenture All rights reserved. | 130 ORACLE DATABASE CLOUD ORACLE SQL*LOADER EXPRESS – 12C [oracle@oracle01 tmp]$ sqlldr teste/teste TABLE=COMPANY SQL*Loader: Release 12.1.0.1.0 - Production on Sat Jan 11 12:16:28 2014 Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved. Express Mode Load, Table: COMPANY Path used: External Table, DEGREE_OF_PARALLELISM=AUTO Table COMPANY: 9 Rows successfully loaded.
  131. 131. Copyright © 2016 Accenture All rights reserved. | 131 ORACLE DATABASE CLOUD EXTERNAL TABLES
  132. 132. Copyright © 2016 Accenture All rights reserved. | 132 ORACLE DATABASE CLOUD EXTERNAL TABLES
  133. 133. Copyright © 2016 Accenture All rights reserved. | 133 ORACLE DATABASE CLOUD DATABASE LINKS
  134. 134. Copyright © 2016 Accenture All rights reserved. | 134 ORACLE DATABASE CLOUD DATABASE LINKS On-premises host: CREATE DATABASE LINK my_db_link CONNECT TO remote_user IDENTIFIED BY remote_password USING ’MyCloudDB'; CREATE TABLE tb_test@my_db_link as SELECT* FROM my_Table;
  135. 135. Copyright © 2016 Accenture All rights reserved. | 135 ORACLE DATABASE CLOUD DATABASE LINKS - CLONE A REMOTE PDB OR NON-CDB
  136. 136. Copyright © 2016 Accenture All rights reserved. | 136 ORACLE DATABASE CLOUD DATABASE LINKS - CLONE A REMOTE PDB OR NON-CDB You have to expose your on-premises database over the internet or have a VPN or SSH tunneling configured: CREATE DATABASE LINK clone_link CONNECT TO remote_clone_user IDENTIFIED BY remote_clone_user USING ’MyOnPremDB'; CREATE PLUGGABLE DATABASE pdb1 FROM pdb1@clone_link; CREATE PLUGGABLE DATABASE pdb2b FROM NON$CDB@clone_link;
  137. 137. Copyright © 2016 Accenture All rights reserved. | 137 ORACLE DATABASE CLOUD DATA GUARD
  138. 138. Copyright © 2016 Accenture All rights reserved. | 138 ORACLE DATABASE CLOUD DATA GUARD 1 - Create Physical Standby 2 – Prepare Client Connections (Ex: tnsnames.ora) 3 – Switchover to Physical Standby ***Enable SSH tunneling and also to make sure only specific on-premises IP addresses can access the listener port in the cloud Disaster Recovery to the Oracle Cloud http://www.oracle.com/technetwork/database/availability/dr-to-oracle-cloud-2615770.pdf
  139. 139. Copyright © 2016 Accenture All rights reserved. | 139 ORACLE DATABASE CLOUD DATA GUARD
  140. 140. Copyright © 2016 Accenture All rights reserved. | 140 ORACLE DATABASE CLOUD DATA GUARD SELECT log_mode FROM v$database; LOG_MODE ------------ NOARCHIVELOG SHUTDOWN IMMEDIATE; STARTUP MOUNT; ALTER DATABASE ARCHIVELOG; ALTER DATABASE OPEN; ALTER DATABASE FORCE LOGGING; On-premises host:
  141. 141. Copyright © 2016 Accenture All rights reserved. | 141 ORACLE DATABASE CLOUD DATA GUARD • Create standby redo logs on the primary database initially (recommended). • Create standby redo logs using the same file size as the primary database online redo logs. • Create one additional group more than the number of online redo log groups. ALTER DATABASE ADD STANDBY LOGFILE ('/u02/oradata/cdb1/standby_redo01.log') SIZE XXM; ALTER DATABASE ADD STANDBY LOGFILE ('/u02/oradata/cdb1/standby_redo02.log') SIZE XXM; ALTER DATABASE ADD STANDBY LOGFILE ('/u02/oradata/cdb1/standby_redo03.log') SIZE XXM; ALTER DATABASE ADD STANDBY LOGFILE ('/u02/oradata/cdb1/standby_redo04.log') SIZE XXM; On-premises host:
  142. 142. Copyright © 2016 Accenture All rights reserved. | 142 ORACLE DATABASE CLOUD DATA GUARD Init.ora: *.db_name='cdb1’ mkdir -p /u02/oradata/cdb1/pdbseed mkdir -p /u02/oradata/cdb1/pdb1 mkdir -p /u02/fast_recovery_area/cdb1 mkdir -p /u01/app/oracle/admin/cdb1/adump orapwd file=/u01/app/oracle/product/12.1.0.2/db_1/dbs/orapwcdb1 password=mypass entries=10 Database Cloud Service compute node:
  143. 143. Copyright © 2016 Accenture All rights reserved. | 143 ORACLE DATABASE CLOUD DATA GUARD export ORACLE_SID=cdb1 sqlplus / as sysdba STARTUP NOMOUNT PFILE='/tmp/init.ora'; rman TARGET sys/password@cdb1 AUXILIARY sys/password@cdb1_stby DUPLICATE TARGET DATABASE FOR STANDBY FROM ACTIVE DATABASE DORECOVER SPFILE SET db_unique_name='CDB1_STBY' NOFILENAMECHECK; Database Cloud Service compute node:
  144. 144. Copyright © 2016 Accenture All rights reserved. | 144 ORACLE DATABASE CLOUD DATA GUARD Prepare Client Connections (Ex: tnsnames.ora) ALTER SYSTEM SET dg_broker_start=true; dgmgrl sys/password@cdb1 CREATE CONFIGURATION my_config AS PRIMARY DATABASE IS cdb1 CONNECT IDENTIFIER IS cdb1; ADD DATABASE cdb1_stby AS CONNECT IDENTIFIER IS cdb1_stby MAINTAINED AS PHYSICAL; ENABLE CONFIGURATION; SWITCHOVER TO cdb1_stby; Database Cloud Service compute node:
  145. 145. Copyright © 2016 Accenture All rights reserved. | 145 ORACLE DATABASE CLOUD GOLDENGATE AND GOLDENGATE CLOUD SERVICE
  146. 146. Copyright © 2016 Accenture All rights reserved. | 146 ORACLE DATABASE CLOUD GOLDENGATE AND GOLDENGATE CLOUD SERVICE
  147. 147. Copyright © 2016 Accenture All rights reserved. | 147 ORACLE DATABASE CLOUD UNPLUGGING/PLUGGING
  148. 148. Copyright © 2016 Accenture All rights reserved. | 148 ORACLE DATABASE CLOUD UNPLUGGING/PLUGGING http://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/dbaas/OU/MigratingToDBaaS/Unplug_Plug_Migration/Unplug_Plug_Migration.html
  149. 149. Copyright © 2016 Accenture All rights reserved. | 149 ORACLE DATABASE CLOUD UNPLUGGING/PLUGGING http://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/dbaas/OU/MigratingToDBaaS/Unplug_Plug_Migration/Unplug_Plug_Migration.html
  150. 150. Copyright © 2016 Accenture All rights reserved. | 150 ORACLE DATABASE CLOUD UNPLUGGING/PLUGGING http://www.oracle.com/webfolder/technetwork/tutorials/obe/cloud/dbaas/OU/MigratingToDBaaS/Unplug_Plug_Migration/Unplug_Plug_Migration.html
  151. 151. Copyright © 2016 Accenture All rights reserved. | 151 ORACLE DATABASE CLOUD PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
  152. 152. Copyright © 2016 Accenture All rights reserved. | 152 ORACLE DATABASE CLOUD PLUGGABLE DATABASES (PDBS) - REMOTE CLONING SQLDEVELOPER Enterprise Manager
  153. 153. Copyright © 2016 Accenture All rights reserved. | 153 ORACLE DATABASE CLOUD PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
  154. 154. Copyright © 2016 Accenture All rights reserved. | 154 ORACLE DATABASE CLOUD PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
  155. 155. Copyright © 2016 Accenture All rights reserved. | 155 ORACLE DATABASE CLOUD PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
  156. 156. Copyright © 2016 Accenture All rights reserved. | 156 ORACLE DATABASE CLOUD PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
  157. 157. Copyright © 2016 Accenture All rights reserved. | 157 ORACLE DATABASE CLOUD PLUGGABLE DATABASES (PDBS) - REMOTE CLONING
  158. 158. Copyright © 2016 Accenture All rights reserved. | 158 ORACLE DATABASE CLOUD SQLDEVELOPER DATABASE COPY
  159. 159. Copyright © 2016 Accenture All rights reserved. | 159 ORACLE DATABASE CLOUD SQLDEVELOPER
  160. 160. Copyright © 2016 Accenture All rights reserved. | 160 ORACLE DATABASE CLOUD SQLDEVELOPER
  161. 161. Copyright © 2016 Accenture All rights reserved. | 161 ORACLE DATABASE CLOUD SQLDEVELOPER
  162. 162. Copyright © 2016 Accenture All rights reserved. | 162 ORACLE DATABASE CLOUD SQLDEVELOPER
  163. 163. Copyright © 2016 Accenture All rights reserved. | 163 ORACLE DATABASE CLOUD SQLDEVELOPER
  164. 164. Copyright © 2016 Accenture All rights reserved. | 164 ORACLE DATABASE CLOUD SQLDEVELOPER
  165. 165. Copyright © 2016 Accenture All rights reserved. | 165
  166. 166. Copyright © 2016 Accenture All rights reserved. | 166 ORACLE DATABASE CLOUD RMAN CROSS-PLATFORM TRANSPORTABLE TABLESPACE BACKUP SETS You can use this method only if the database character sets of your on-premises database and Oracle Database Cloud Service database are compatible.
  167. 167. Copyright © 2016 Accenture All rights reserved. | 167 ORACLE DATABASE CLOUD RMAN CROSS-PLATFORM TRANSPORTABLE TABLESPACE BACKUP SETS On-premises host: mkdir /u01/app/oracle/admin/orcl/dpdump/for_cloud sqlplus user/password CREATE DIRECTORY dp_for_cloud AS '/u01/app/oracle/admin/orcl/dpdump/for_cloud'; ALTER TABLESPACE fsdata READ ONLY; ALTER TABLESPACE fsindex READ ONLY;
  168. 168. Copyright © 2016 Accenture All rights reserved. | 168 ORACLE DATABASE CLOUD RMAN CROSS-PLATFORM TRANSPORTABLE TABLESPACE BACKUP SETS On-premises host: mkdir /u01/app/oracle/admin/orcl/rman_transdest rman target username/password BACKUP FOR TRANSPORT FORMAT '/u01/app/oracle/admin/orcl/rman_transdest/fs_tbs.bck' TABLESPACE fsdata,fsindex DATAPUMP FORMAT '/u01/app/oracle/admin/orcl/rman_transdest/fs_tbs.dmp';
  169. 169. Copyright © 2016 Accenture All rights reserved. | 169 ORACLE DATABASE CLOUD RMAN CROSS-PLATFORM TRANSPORTABLE TABLESPACE BACKUP SETS Database Cloud Service compute node: mkdir /tmp/from_onprem On-premises host: $ scp -i private_key_file /u01/app/oracle/admin/orcl/rman_transdest/fs_tbs.bck oracle@IP_address_DBaaS_VM:/tmp/from_onprem $ scp -i private_key_file /u01/app/oracle/admin/orcl/rman_transdest/fs_tbs.dmp oracle@IP_address_DBaaS_VM:/tmp/from_onprem ALTER TABLESPACE fsdata READ WRITE; ALTER TABLESPACE fsindex READ WRITE;
  170. 170. Copyright © 2016 Accenture All rights reserved. | 170 ORACLE DATABASE CLOUD RMAN CROSS-PLATFORM TRANSPORTABLE TABLESPACE BACKUP SETS Database Cloud Service compute node: CREATE USER fsowner PROFILE default IDENTIFIED BY fspass TEMPORARY TABLESPACE temp ACCOUNT UNLOCK; mkdir /tmp/from_onprem rman target username/password RESTORE FOREIGN TABLESPACE fsdata,fsindex TO NEW FROM BACKUPSET '/tmp/from_onprem/fs_tbs.bck' DUMP FILE DATAPUMP DESTINATION '/tmp/datapump' FROM BACKUPSET '/tmp/from_onprem/fs_tbs.dmp'; ALTER TABLESPACE fsdata READ WRITE; ALTER TABLESPACE fsindex READ WRITE;
  171. 171. Copyright © 2016 Accenture All rights reserved. | 171 ORACLE DATABASE CLOUD RMAN TRANSPORTABLE TABLESPACE WITH DATA PUMP You can use this method only if the on-premises platform is little endian, and the database character sets of your on-premises database and Oracle Database Cloud Service database are compatible.
  172. 172. Copyright © 2016 Accenture All rights reserved. | 172 ORACLE DATABASE CLOUD RMAN TRANSPORTABLE TABLESPACE WITH DATA PUMP On-premises host: mkdir /u01/app/oracle/admin/orcl/rman_transdest mkdir /u01/app/oracle/admin/orcl/rman_auxdest rman target user/password TRANSPORT TABLESPACE fsdata, fsindex TABLESPACE DESTINATION '/u01/app/oracle/admin/orcl/rman_transdest' AUXILIARY DESTINATION '/u01/app/oracle/admin/orcl/rman_auxdest';
  173. 173. Copyright © 2016 Accenture All rights reserved. | 173 ORACLE DATABASE CLOUD RMAN TRANSPORTABLE TABLESPACE WITH DATA PUMP Database Cloud Service compute node: mkdir /u01/app/oracle/admin/ORCL/dpdump/from_onprem CREATE DIRECTORY dp_from_onprem AS '/u01/app/oracle/admin/ORCL/dpdump/from_onprem'; On-premises host: scp -i private_key_file /u01/app/oracle/admin/orcl/rman_transdest/dmpfile.dmp oracle@IP_address_DBaaS_VM:/u01/app/oracle/admin/ORCL/dpdump/from_onprem $ scp -i private_key_file /u01/app/oracle/admin/orcl/rman_transdest/fsdata01.dbf oracle@IP_address_DBaaS_VM:/u02/app/oracle/oradata/ORCL $ scp -i private_key_file /u01/app/oracle/admin/orcl/rman_transdest/fsindex01.dbf oracle@IP_address_DBaaS_VM:/u02/app/oracle/oradata/ORCL
  174. 174. Copyright © 2016 Accenture All rights reserved. | 174 ORACLE DATABASE CLOUD RMAN TRANSPORTABLE TABLESPACE WITH DATA PUMP Database Cloud Service compute node: CREATE USER fsowner PROFILE default IDENTIFIED BY fspass TEMPORARY TABLESPACE temp ACCOUNT UNLOCK; impdp system DIRECTORY=dp_from_onprem DUMPFILE='dmpfile.dmp' TRANSPORT_DATAFILES='/u02/app/oracle/oradata/ORCL/fsdata01.dbf', '/u02/app/oracle/oradata/ORCL/fsindex01.dbf'
  175. 175. Copyright © 2016 Accenture All rights reserved. | 175 ORACLE DATABASE CLOUD RMAN CONVERT TRANSPORTABLE TABLESPACE WITH DATA PUMP You can use this method only if the database character sets of your on-premises database and Oracle Database Cloud Service database are compatible.
  176. 176. Copyright © 2016 Accenture All rights reserved. | 176 ORACLE DATABASE CLOUD RMAN CONVERT TRANSPORTABLE TABLESPACE WITH DATA PUMP On-premises host: mkdir /u01/app/oracle/admin/orcl/dpdump/for_cloud sqlplus user/password CREATE DIRECTORY dp_for_cloud AS '/u01/app/oracle/admin/orcl/dpdump/for_cloud'; ALTER TABLESPACE fsindex READ ONLY; ALTER TABLESPACE fsdata READ ONLY; expdp system TRANSPORT_TABLESPACES=fsdata,fsindex TRANSPORT_FULL_CHECK=YES DIRECTORY=dp_for_cloud
  177. 177. Copyright © 2016 Accenture All rights reserved. | 177 Database Cloud Service compute node: mkdir /u01/app/oracle/admin/ORCL/dpdump/from_onprem On-premises host: rman target / CONVERT TABLESPACE fsdata, fsindex TO PLATFORM 'Linux x86 64-bit' FORMAT '/tmp/%U '; ORACLE DATABASE CLOUD RMAN CONVERT TRANSPORTABLE TABLESPACE WITH DATA PUMP
  178. 178. Copyright © 2016 Accenture All rights reserved. | 178 On-premises host: $ scp -i private_key_file /u01/app/oracle/admin/orcl/dpdump/for_cloud/expdat.dmp oracle@IP_address_DBaaS_VM:/u01/app/oracle/admin/ORCL/dpdump/from_onprem $ scp -i private_key_file /tmp/data_D-ORCL_I-1410251631_TS-FSDATA_FNO-6_0aqc9un3 oracle@IP_address_DBaaS_VM:/u02/app/oracle/oradata/ORCL/fsdata01.dbf $ scp -i private_key_file /tmp/data_D-ORCL_I-1410251631_TS-FSINDEX_FNO-7_0bqc9un6 oracle@IP_address_DBaaS_VM:/u02/app/oracle/oradata/ORCL/fsindex01.dbf ALTER TABLESPACE fsdata READ WRITE; ALTER TABLESPACE fsindex READ WRITE; ORACLE DATABASE CLOUD RMAN CONVERT TRANSPORTABLE TABLESPACE WITH DATA PUMP
  179. 179. Copyright © 2016 Accenture All rights reserved. | 179 Database Cloud Service compute node: CREATE DIRECTORY dp_from_onprem AS '/u01/app/oracle/admin/ORCL/dpdump/from_onprem'; CREATE USER fsowner PROFILE default IDENTIFIED BY fspass TEMPORARY TABLESPACE temp ACCOUNT UNLOCK; impdp system DIRECTORY=dp_from_onprem TRANSPORT_DATAFILES='/u02/app/oracle/oradata/ORCL/fsdata01.dbf', '/u02/app/oracle/oradata/ORCL/fsindex01.dbf’ ALTER TABLESPACE fsdata READ WRITE; ALTER TABLESPACE fsindex READ WRITE; ORACLE DATABASE CLOUD RMAN CONVERT TRANSPORTABLE TABLESPACE WITH DATA PUMP
  180. 180. Copyright © 2016 Accenture All rights reserved. | 180 QUESTIONS?
  181. 181. Copyright © 2016 Accenture All rights reserved. | 181 Thank You Slides Available: http://www.slideshare.net/

×