SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Downloaden Sie, um offline zu lesen
Amazon RDS Oracle Best Practices
Agenda
• Quick introduction to Amazon RDS for Oracle
• RDS Oracle Licensing
• RDS Oracle Use Cases
• RDS Oracle Security Best Practices
• RDS Oracle Performance Best Practices
• RDS Oracle Management Best Practices
• RDS Oracle Data Migration Best Practices
Power, HVAC, net
Rack & stack
Server maintenance
OS patches
DB s/w patches
Database backups
Scaling
High availability
DB s/w installs
OS installation
you
App optimization
What is Amazon RDS?
What is Amazon RDS?
Power, HVAC, net
Rack & stack
Server maintenance
OS patches
DB s/w patches
Database backups
Scaling
High availability
DB s/w installs
OS installation
you
App optimization
What is Amazon RDS?
Power, HVAC, net
Rack & stack
Server maintenance
OS patches
DB s/w patches
Database backups
App optimization
High availability
DB s/w installs
OS installation
you
Scaling
Why Amazon RDS for Oracle?
• Deploy multiple editions of Oracle 11g in minutes
• Realize up to 25,000 IOPS
• Get a high-availability Oracle solution without Enterprise Edition
• Choice of Pay-as-You-Go or License Included model brings
flexibility
• Use AWS Enterprise Support or Oracle support
• Support for Oracle GoldenGate enables multi-master configurations
Oracle
Licensing and Support
Processor & socket licensing
0.25 core multiplier for standard
licenses (sockets)
0.5 core multiplier for
enterprise licenses (processor)
BYOL
• Enterprise license agreement
• Unlimited license agreement
• Oracle partner network
• BPO license
• Oracle Technology Network
Pay-as-you-go
• RDS for Oracle SE One
Oracle Licensing Options License Included Bring-Your-Own-License
Standard Edition One
Standard Edition
Enterprise Edition
Amazon RDS Oracle – Licensing & Pricing Options
Oracle Pricing Options Contract Pay Per Hour
License
Included
Bring Your
Own License
Multi AZ
On-Demand No contract
Reserved Instances
1 year or 3 year
options
Licensing Options:
Pricing Options:
Production Instances of
Enterprise Applications
Development and Test
Instances for Enterprise and
custom applications
Replica of Production for
reporting and BI/DW feed.
Training, POC, Sandbox,
Patch Testing and
debugging instances
Disaster Recovery Site on
AWS
Custom Developed
Applications
Customer use cases for RDS Oracle
Amazon RDS - Great fit for Enterprise Application
Delivers Enterprise Application needs and wants
• Fully managed database engines that are commonly used for
Enterprise Applications.
• High-Availability and transparent failover
• Enterprise class performance and easy scalability
• Automated backups and easy replication
• Rapid provisioning and deployment
• Automation support with APIs and CloudFormation scripts
• Low-touch management/administration
Enterprise Application AWS customers use with RDS
• PeopleSoft
• JD Edwards
• Siebel
• ATG Web Commerce
• Jaspersoft
• SugarCRM
• Alfresco
Enterprise Application HA Architecture
RDS Oracle Best Practices
RDS Oracle Security Best Practices
• Individual IAM account to each person who manages RDS
resources. Do not use AWS root credentials.
• Do not use master user for application db access, create
separate accounts
• Put your RDS Database instance in a private subnet of a VPC
• Be careful with Security Group setting, never use 0.0.0.0/0
RDS Performance Best Practices
• Choose the right size instance for your workload
• Always go with PIOPS
• Monitor database alert logs for critical issues
• Don’t leave invalid database objects in the database
• Provision enough storage to host archive logs before they are
backed up and deleted.
• Scaling storage and PIOPS are time consuming so plan
accordingly.
• Scaling instance requires outage (if not using Multi-AZ)
RDS Management Best Practices
• Always schedule backups
• Create snapshots on a regular basis
• Use the familiar Oracle EM DB Console at :1158/em
• Use CloudWatch alerts to always keep an eye on the instance
with alerts
• If you need to use third party monitoring tools use agentless tools
Data Migration to RDS Oracle
General Considerations
• Number of databases, data sizes
• Data types, character sets
• Data transfer mechanism
• Connected Apps, DB links
• Network accessibility, bandwidth, latency
• Acceptable downtime
One-Time Migration
• Copy entire database to Amazon RDS
Use cases
– Migrate prod to Amazon RDS
– Build POCs, pilots
– First step before replicating databases
RDS Pre-Migration Steps
• Stop applications accessing the DB
• Take a snapshot
• Disable backups
• Use Single-AZ instances
• Optimum instance for load performance
• Configure security for cross-DB traffic
For Small Dataset, one time load
• Oracle Import/Export
• Oracle Data Pump network mode
• Oracle SQL*Loader
• Oracle materialized views
For Large Dataset, one time load
• Oracle Data Pump Export and Import
Migration Process
Data Pump Export
• Reduce the data set to optimal size, avoid indexes
• Use compression and parallel processing
• Use multiple disks with independent I/O
Optimize Data Upload
• Use Tsunami for UDP-based file transfer
• Use large Amazon EC2 instance with SSD or PIOPS volume
• Use multiple disks with independent I/O
• You could use multiple Amazon EC2 instances for parallel upload
Data File Upload to RDS
• RDS DB instance has an externally accessible Oracle Directory Object
DATA_PUMP_DIR
• Use a script to move data files to Amazon RDS DATA_PUMP_DIR
• Use the largest Amazon RDS DB instance possible during the import
process
• Avoid using Amazon RDS DB instance for any other load during this
time
• Provision enough storage in the Amazon RDS DB instance for the
uploaded files and imported data
Import data into the RDS
• Import from within Amazon RDS instance using
DBMS_DATAPUMP package
• Submit a job using PL/SQL script
Periodic Migration
• Copy changes to Amazon RDS
• Use cases
– Delta refresh for prod migration
– Daily refresh for non-prod, reporting
Ongoing Replication
• Log shipping
• Transactional replication
• Use cases
– Near-zero downtime migrations
– Query offloading, BI/reporting
– Data protection, disaster recovery
Oracle GoldenGate
• Oracle product for real-time data integration and
replication
– Log-based change data capture
– Transaction-safe bidirectional replication
• Works with Amazon RDS for Oracle
– Migration into and out of RDS Oracle
– Providing a readable secondary for read offloading
– Master-master replication
GoldenGate Replication with RDS Oracle
GoldenGate
Oracle
GoldenGateOracle
GoldenGate GoldenGate
On-premises Oracle to RDS/Oracle Oracle in EC2 to RDS/Oracle
RDS/Oracle to RDS/Oracle
(same AWS Region)
RDS/Oracle to RDS/Oracle
(different AWS Region)
Getting started with GoldenGate
• Obtain license from Oracle
– “Bring-Your-Own-License” model only
• Run the GoldenGate Hub on a correctly sized EC2
Instance
• Enable supplemental logging on source database
• Configure source to retain redo logs
• Use the Extract and Replicat utilities provided by Oracle
GoldenGate
RDS Post-migration Steps
• Turn on backups
• Turn on multi-az
• Create read replicas
• Tighten down security
• Notifications via Amazon CloudWatch, DBEvents

Weitere ähnliche Inhalte

Was ist angesagt?

아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
Amazon Web Services Korea
 
High Concurrency Architecture and Laravel Performance Tuning
High Concurrency Architecture and Laravel Performance TuningHigh Concurrency Architecture and Laravel Performance Tuning
High Concurrency Architecture and Laravel Performance Tuning
Albert Chen
 

Was ist angesagt? (20)

Object Storage: Amazon S3 and Amazon Glacier
Object Storage: Amazon S3 and Amazon GlacierObject Storage: Amazon S3 and Amazon Glacier
Object Storage: Amazon S3 and Amazon Glacier
 
AWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS OracleAWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS Oracle
 
Getting Started with AWS Database Migration Service
Getting Started with AWS Database Migration ServiceGetting Started with AWS Database Migration Service
Getting Started with AWS Database Migration Service
 
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
 
Migrating Oracle Databases to AWS
Migrating Oracle Databases to AWSMigrating Oracle Databases to AWS
Migrating Oracle Databases to AWS
 
Amazon Aurora
Amazon AuroraAmazon Aurora
Amazon Aurora
 
Amazon Aurora: Deep Dive - SRV308 - Chicago AWS Summit
Amazon Aurora: Deep Dive - SRV308 - Chicago AWS SummitAmazon Aurora: Deep Dive - SRV308 - Chicago AWS Summit
Amazon Aurora: Deep Dive - SRV308 - Chicago AWS Summit
 
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database ServiceIntroduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
 
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
아마존 웹 서비스 상에서 MS SQL 100% 활용하기::김석원::AWS Summit Seoul 2018
 
Disaster Recovery of on-premises IT infrastructure with AWS
Disaster Recovery of on-premises IT infrastructure with AWS Disaster Recovery of on-premises IT infrastructure with AWS
Disaster Recovery of on-premises IT infrastructure with AWS
 
Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018
Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018
Database Migration Using AWS DMS and AWS SCT (GPSCT307) - AWS re:Invent 2018
 
High Concurrency Architecture and Laravel Performance Tuning
High Concurrency Architecture and Laravel Performance TuningHigh Concurrency Architecture and Laravel Performance Tuning
High Concurrency Architecture and Laravel Performance Tuning
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
Migrating Oracle to PostgreSQL
Migrating Oracle to PostgreSQLMigrating Oracle to PostgreSQL
Migrating Oracle to PostgreSQL
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & How
 
Deep Dive on Amazon EC2 Instances & Performance Optimization Best Practices (...
Deep Dive on Amazon EC2 Instances & Performance Optimization Best Practices (...Deep Dive on Amazon EC2 Instances & Performance Optimization Best Practices (...
Deep Dive on Amazon EC2 Instances & Performance Optimization Best Practices (...
 
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
Amazon RDS & Amazon Aurora: Relational Databases on AWS - SRV206 - Atlanta AW...
 
Deep Dive on Amazon Aurora
Deep Dive on Amazon AuroraDeep Dive on Amazon Aurora
Deep Dive on Amazon Aurora
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 
Black Belt Online Seminar AWS Amazon RDS
Black Belt Online Seminar AWS Amazon RDSBlack Belt Online Seminar AWS Amazon RDS
Black Belt Online Seminar AWS Amazon RDS
 

Ähnlich wie AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration

Ähnlich wie AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration (20)

ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
 
AWS Webcast - Introduction to RDS Low Admin High Perf DBS
AWS Webcast - Introduction to RDS Low Admin High Perf DBSAWS Webcast - Introduction to RDS Low Admin High Perf DBS
AWS Webcast - Introduction to RDS Low Admin High Perf DBS
 
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
Day 3 - AWS MySQL Relational Database Service Best Practices for Performance ...
 
Day 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance Database
Day 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance DatabaseDay 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance Database
Day 2 - Amazon RDS - Letting AWS run your Low Admin, High Performance Database
 
Bases de datos en la nube con AWS
Bases de datos en la nube con AWSBases de datos en la nube con AWS
Bases de datos en la nube con AWS
 
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database ServiceIntroduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
 
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWSMigrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
Migrating Your Databases to AWS Deep Dive on Amazon RDS and AWS
 
Amazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service MeetupAmazon Web Services - Relational Database Service Meetup
Amazon Web Services - Relational Database Service Meetup
 
What's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial DatabasesWhat's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial Databases
 
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
 
Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014Oracle Solutions on AWS : May 2014
Oracle Solutions on AWS : May 2014
 
Migrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration ServiceMigrating to Amazon RDS with Database Migration Service
Migrating to Amazon RDS with Database Migration Service
 
Intro to database_services_fg_aws_summit_2014
Intro to database_services_fg_aws_summit_2014Intro to database_services_fg_aws_summit_2014
Intro to database_services_fg_aws_summit_2014
 
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...
AWS re:Invent 2016: Workshop: Using the Database Migration Service (DMS) for ...
 
AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...
AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...
AWS Webcast - Introduction to Amazon RDS: Low Admin, High Performance Databas...
 
AWS re:Invent 2016: AWS Database State of the Union (DAT320)
AWS re:Invent 2016: AWS Database State of the Union (DAT320)AWS re:Invent 2016: AWS Database State of the Union (DAT320)
AWS re:Invent 2016: AWS Database State of the Union (DAT320)
 
New Database Migration Services & RDS Updates
New Database Migration Services & RDS UpdatesNew Database Migration Services & RDS Updates
New Database Migration Services & RDS Updates
 
AWS 마이그레이션 서비스 - 김일호 :: 2015 리인벤트 리캡 게이밍
AWS 마이그레이션 서비스 - 김일호 :: 2015 리인벤트 리캡 게이밍AWS 마이그레이션 서비스 - 김일호 :: 2015 리인벤트 리캡 게이밍
AWS 마이그레이션 서비스 - 김일호 :: 2015 리인벤트 리캡 게이밍
 
Introduction to Database Services
Introduction to Database ServicesIntroduction to Database Services
Introduction to Database Services
 
Introduction to AWS Database Services
Introduction to AWS Database ServicesIntroduction to AWS Database Services
Introduction to AWS Database Services
 

Mehr von Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Mehr von Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration

  • 1. Amazon RDS Oracle Best Practices
  • 2. Agenda • Quick introduction to Amazon RDS for Oracle • RDS Oracle Licensing • RDS Oracle Use Cases • RDS Oracle Security Best Practices • RDS Oracle Performance Best Practices • RDS Oracle Management Best Practices • RDS Oracle Data Migration Best Practices
  • 3. Power, HVAC, net Rack & stack Server maintenance OS patches DB s/w patches Database backups Scaling High availability DB s/w installs OS installation you App optimization What is Amazon RDS?
  • 4. What is Amazon RDS? Power, HVAC, net Rack & stack Server maintenance OS patches DB s/w patches Database backups Scaling High availability DB s/w installs OS installation you App optimization
  • 5. What is Amazon RDS? Power, HVAC, net Rack & stack Server maintenance OS patches DB s/w patches Database backups App optimization High availability DB s/w installs OS installation you Scaling
  • 6. Why Amazon RDS for Oracle? • Deploy multiple editions of Oracle 11g in minutes • Realize up to 25,000 IOPS • Get a high-availability Oracle solution without Enterprise Edition • Choice of Pay-as-You-Go or License Included model brings flexibility • Use AWS Enterprise Support or Oracle support • Support for Oracle GoldenGate enables multi-master configurations
  • 7. Oracle Licensing and Support Processor & socket licensing 0.25 core multiplier for standard licenses (sockets) 0.5 core multiplier for enterprise licenses (processor) BYOL • Enterprise license agreement • Unlimited license agreement • Oracle partner network • BPO license • Oracle Technology Network Pay-as-you-go • RDS for Oracle SE One
  • 8. Oracle Licensing Options License Included Bring-Your-Own-License Standard Edition One Standard Edition Enterprise Edition Amazon RDS Oracle – Licensing & Pricing Options Oracle Pricing Options Contract Pay Per Hour License Included Bring Your Own License Multi AZ On-Demand No contract Reserved Instances 1 year or 3 year options Licensing Options: Pricing Options:
  • 9. Production Instances of Enterprise Applications Development and Test Instances for Enterprise and custom applications Replica of Production for reporting and BI/DW feed. Training, POC, Sandbox, Patch Testing and debugging instances Disaster Recovery Site on AWS Custom Developed Applications Customer use cases for RDS Oracle
  • 10. Amazon RDS - Great fit for Enterprise Application Delivers Enterprise Application needs and wants • Fully managed database engines that are commonly used for Enterprise Applications. • High-Availability and transparent failover • Enterprise class performance and easy scalability • Automated backups and easy replication • Rapid provisioning and deployment • Automation support with APIs and CloudFormation scripts • Low-touch management/administration
  • 11. Enterprise Application AWS customers use with RDS • PeopleSoft • JD Edwards • Siebel • ATG Web Commerce • Jaspersoft • SugarCRM • Alfresco
  • 13. RDS Oracle Best Practices
  • 14. RDS Oracle Security Best Practices • Individual IAM account to each person who manages RDS resources. Do not use AWS root credentials. • Do not use master user for application db access, create separate accounts • Put your RDS Database instance in a private subnet of a VPC • Be careful with Security Group setting, never use 0.0.0.0/0
  • 15. RDS Performance Best Practices • Choose the right size instance for your workload • Always go with PIOPS • Monitor database alert logs for critical issues • Don’t leave invalid database objects in the database • Provision enough storage to host archive logs before they are backed up and deleted. • Scaling storage and PIOPS are time consuming so plan accordingly. • Scaling instance requires outage (if not using Multi-AZ)
  • 16. RDS Management Best Practices • Always schedule backups • Create snapshots on a regular basis • Use the familiar Oracle EM DB Console at :1158/em • Use CloudWatch alerts to always keep an eye on the instance with alerts • If you need to use third party monitoring tools use agentless tools
  • 17. Data Migration to RDS Oracle
  • 18. General Considerations • Number of databases, data sizes • Data types, character sets • Data transfer mechanism • Connected Apps, DB links • Network accessibility, bandwidth, latency • Acceptable downtime
  • 19. One-Time Migration • Copy entire database to Amazon RDS Use cases – Migrate prod to Amazon RDS – Build POCs, pilots – First step before replicating databases
  • 20. RDS Pre-Migration Steps • Stop applications accessing the DB • Take a snapshot • Disable backups • Use Single-AZ instances • Optimum instance for load performance • Configure security for cross-DB traffic
  • 21. For Small Dataset, one time load • Oracle Import/Export • Oracle Data Pump network mode • Oracle SQL*Loader • Oracle materialized views
  • 22. For Large Dataset, one time load • Oracle Data Pump Export and Import
  • 24. Data Pump Export • Reduce the data set to optimal size, avoid indexes • Use compression and parallel processing • Use multiple disks with independent I/O
  • 25. Optimize Data Upload • Use Tsunami for UDP-based file transfer • Use large Amazon EC2 instance with SSD or PIOPS volume • Use multiple disks with independent I/O • You could use multiple Amazon EC2 instances for parallel upload
  • 26. Data File Upload to RDS • RDS DB instance has an externally accessible Oracle Directory Object DATA_PUMP_DIR • Use a script to move data files to Amazon RDS DATA_PUMP_DIR • Use the largest Amazon RDS DB instance possible during the import process • Avoid using Amazon RDS DB instance for any other load during this time • Provision enough storage in the Amazon RDS DB instance for the uploaded files and imported data
  • 27. Import data into the RDS • Import from within Amazon RDS instance using DBMS_DATAPUMP package • Submit a job using PL/SQL script
  • 28. Periodic Migration • Copy changes to Amazon RDS • Use cases – Delta refresh for prod migration – Daily refresh for non-prod, reporting
  • 29. Ongoing Replication • Log shipping • Transactional replication • Use cases – Near-zero downtime migrations – Query offloading, BI/reporting – Data protection, disaster recovery
  • 30. Oracle GoldenGate • Oracle product for real-time data integration and replication – Log-based change data capture – Transaction-safe bidirectional replication • Works with Amazon RDS for Oracle – Migration into and out of RDS Oracle – Providing a readable secondary for read offloading – Master-master replication
  • 31. GoldenGate Replication with RDS Oracle GoldenGate Oracle GoldenGateOracle GoldenGate GoldenGate On-premises Oracle to RDS/Oracle Oracle in EC2 to RDS/Oracle RDS/Oracle to RDS/Oracle (same AWS Region) RDS/Oracle to RDS/Oracle (different AWS Region)
  • 32. Getting started with GoldenGate • Obtain license from Oracle – “Bring-Your-Own-License” model only • Run the GoldenGate Hub on a correctly sized EC2 Instance • Enable supplemental logging on source database • Configure source to retain redo logs • Use the Extract and Replicat utilities provided by Oracle GoldenGate
  • 33. RDS Post-migration Steps • Turn on backups • Turn on multi-az • Create read replicas • Tighten down security • Notifications via Amazon CloudWatch, DBEvents