SlideShare uma empresa Scribd logo
1 de 33
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

Oracle Cloud Infrastructure.pptx
Oracle Cloud Infrastructure.pptxOracle Cloud Infrastructure.pptx
Oracle Cloud Infrastructure.pptx
GarvitNTT
 
Amazon Redshift 아키텍처 및 모범사례::김민성::AWS Summit Seoul 2018
Amazon Redshift 아키텍처 및 모범사례::김민성::AWS Summit Seoul 2018Amazon Redshift 아키텍처 및 모범사례::김민성::AWS Summit Seoul 2018
Amazon Redshift 아키텍처 및 모범사례::김민성::AWS Summit Seoul 2018
Amazon Web Services Korea
 

Mais procurados (20)

Migrate from Oracle to Amazon Aurora using AWS Schema Conversion Tool & AWS D...
Migrate from Oracle to Amazon Aurora using AWS Schema Conversion Tool & AWS D...Migrate from Oracle to Amazon Aurora using AWS Schema Conversion Tool & AWS D...
Migrate from Oracle to Amazon Aurora using AWS Schema Conversion Tool & AWS D...
 
Oracle Cloud Infrastructure.pptx
Oracle Cloud Infrastructure.pptxOracle Cloud Infrastructure.pptx
Oracle Cloud Infrastructure.pptx
 
Oracle GoldenGate
Oracle GoldenGate Oracle GoldenGate
Oracle GoldenGate
 
Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...
Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...
Amazon Aurora Storage Demystified: How It All Works (DAT363) - AWS re:Invent ...
 
Data Migration Using AWS Snowball, Snowball Edge & Snowmobile
Data Migration Using AWS Snowball, Snowball Edge & SnowmobileData Migration Using AWS Snowball, Snowball Edge & Snowmobile
Data Migration Using AWS Snowball, Snowball Edge & Snowmobile
 
Amazon Aurora: Under the Hood
Amazon Aurora: Under the HoodAmazon Aurora: Under the Hood
Amazon Aurora: Under the Hood
 
Introduction to Amazon Aurora
Introduction to Amazon AuroraIntroduction to Amazon Aurora
Introduction to Amazon Aurora
 
Amazon RDS Deep Dive
Amazon RDS Deep DiveAmazon RDS Deep Dive
Amazon RDS Deep Dive
 
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...
Migrating Databases to the Cloud: Introduction to AWS DMS - SRV215 - Chicago ...
 
Deep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & FargateDeep Dive into Amazon ECS & Fargate
Deep Dive into Amazon ECS & Fargate
 
Introduction to Amazon Relational Database Service
Introduction to Amazon Relational Database ServiceIntroduction to Amazon Relational Database Service
Introduction to Amazon Relational Database Service
 
Cloud Migration Checklist | Microsoft Azure Migration
Cloud Migration Checklist | Microsoft Azure MigrationCloud Migration Checklist | Microsoft Azure Migration
Cloud Migration Checklist | Microsoft Azure Migration
 
Aws glue를 통한 손쉬운 데이터 전처리 작업하기
Aws glue를 통한 손쉬운 데이터 전처리 작업하기Aws glue를 통한 손쉬운 데이터 전처리 작업하기
Aws glue를 통한 손쉬운 데이터 전처리 작업하기
 
Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...
Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...
Internal Architecture of Amazon Aurora (Level 400) - 발표자: 정달영, APAC RDS Speci...
 
Introduction To Amazon Web Services | AWS Tutorial for Beginners | AWS Traini...
Introduction To Amazon Web Services | AWS Tutorial for Beginners | AWS Traini...Introduction To Amazon Web Services | AWS Tutorial for Beginners | AWS Traini...
Introduction To Amazon Web Services | AWS Tutorial for Beginners | AWS Traini...
 
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS SummitAmazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
Amazon RDS: Deep Dive - SRV310 - Chicago AWS Summit
 
Amazon Redshift 아키텍처 및 모범사례::김민성::AWS Summit Seoul 2018
Amazon Redshift 아키텍처 및 모범사례::김민성::AWS Summit Seoul 2018Amazon Redshift 아키텍처 및 모범사례::김민성::AWS Summit Seoul 2018
Amazon Redshift 아키텍처 및 모범사례::김민성::AWS Summit Seoul 2018
 
서버리스 데이터 플로우 개발기 - 김재현 (Superb AI) :: AWS Community Day 2020
서버리스 데이터 플로우 개발기 - 김재현 (Superb AI) :: AWS Community Day 2020서버리스 데이터 플로우 개발기 - 김재현 (Superb AI) :: AWS Community Day 2020
서버리스 데이터 플로우 개발기 - 김재현 (Superb AI) :: AWS Community Day 2020
 
2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud
 
Spark Interview Questions and Answers | Apache Spark Interview Questions | Sp...
Spark Interview Questions and Answers | Apache Spark Interview Questions | Sp...Spark Interview Questions and Answers | Apache Spark Interview Questions | Sp...
Spark Interview Questions and Answers | Apache Spark Interview Questions | Sp...
 

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

Semelhante a AWS Webcast - Amazon RDS for Oracle: Best Practices and Migration (20)

AWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS OracleAWS Webcast - Migrating to RDS Oracle
AWS Webcast - Migrating to RDS Oracle
 
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
 

Mais de 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
 

Mais de 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
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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?
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

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