SlideShare una empresa de Scribd logo
1 de 31
Descargar para leer sin conexión
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What’s New in Amazon Relational
Database Service
Brian Welcker
Principal Product Manager
Amazon RDS
D A T 2 0 3
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Configuring your database instance in Amazon Relational Database
Service (Amazon RDS)
Managing high availability, read replicas, and backups in Amazon RDS
Monitoring and troubleshooting your Amazon RDS database
Optimizing costs in Amazon RDS
Spotlight on new features
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scale compute
and storage with a
few clicks; minimal
downtime for your
application
Automatic Multi-AZ
data replication;
automated backup,
snapshots, and failover
Data encryption at
rest and in transit;
industry compliance
and assurance
programs
Amazon Relational Database Service (Amazon RDS)
Managed relational database service with a choice of popular database engines
Easy to administer
Easily deploy and
maintain hardware,
OS, and DB software;
built-in monitoring
Performant & scalable Available & durable Secure & compliant
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Amazon RDS database engines
Commercial Open source Cloud native
Amazon Elastic Block Store (Amazon EBS)-based storage Amazon Aurora storage system
MySQL compatible
PostgreSQL compatible
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Which database engine version should I use?
• MySQL: 5.5, 5.6, 5.7, 8.0
• MySQL 8.0: Window Functions, Common Table Expressions, JSON functions, Spatial support, improved
performance, crash-safe Data Definition Language (DDL) operations, security roles, TLS 1.2
• MariaDB: 10.0, 10.1, 10.2, 10.3
• MariaDB 10.3: Oracle compatibility (PL/SQL parser), sequences, INTERSECT and EXCEPT, new ROW type
and TYPE OF stored functions, invisible columns, temporal versioned tables, user-defined aggregates,
instant ADD COLUMN operations
• PostgreSQL: 9.3, 9.4, 9.5, 9.6, 10, 11 (Preview)
• PostgreSQL 10: Native table partitioning, improved parallelism in query execution, ICU collation support,
column group statistics, enhanced FDW and PLV8 extensions, huge pages enabled by default
• PostgreSQL 11: Embedded transactions within a stored procedure, improvements to partitioning,
improvements to parallelism, adding columns with a non-null column default faster
• Oracle: 11.2, 12.1, 12.2
• Oracle 12.2: New engine versioning scheme—Release Updates (RUs) and Release Update Revisions (RURs)
• SQL Server: 2008 R2, 2012, 2014, 2016, 2017
NEW!
NEW!
NEW!
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Which instance type should I choose?
T family
• Burstable instances
• 1 vCPU/1 GB RAM > 8 vCPU
32 GB RAM
• Moderate networking
performance
• Good for smaller or variable
workloads
• Monitor CPU credit metrics in
Amazon CloudWatch
• T2.micro is eligible for the
AWS Free Tier
• T3 will enable unlimited
mode—can burst above
baseline for extra charge
M family
• General purpose instances
• 2 vCPU/8 GiB RAM > 64 vCPU
256 GiB RAM
• High-performance networking
• Good for running CPU-
intensive workloads (such as
WordPress)
• M5 offers up to 96 vCPU
R family
• Memory-optimized instances
• 2 vCPU/16 GiB RAM > 64 vCPU
488 GiB RAM
• High-performance networking
• Good for query-intensive
workloads or high connection
counts
• R5 offers up to vCPU 768 GiB
RAM
• Oracle support for X1 and X1e
instances and CPU license
optimizationNEW!
NEW!
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Which storage type should I choose?
General purpose (GP2)
• SSD storage
• Maximum of 32 TiB for Oracle,
PostgreSQL, MySQL, MariaDB
• Maximum of 16 TiB for SQL Server
• Leverages Amazon Elastic Block Store
(Amazon EBS) elastic volumes
• IOPS determined by volume size
• Minimum of 100 IOPS (below 33.33 GiB)
• Bursts to 3,000 IOPS (applicable below
1.3 TiB)
• Baseline of 10,000 IOPS per volume (at
3.3 TiB and above)
• Affordable performance
Provisioned IOPS (IO1)
• SSD storage
• Maximum of 32 TiB for Oracle,
PostgreSQL, MySQL, MariaDB
• Leverages Amazon EBS elastic volumes
• Maximum of 40K IOPS (20K on SQL
Server)
• Delivers within 10 percent of the IOPS
performance 99.9 percent of the time
• High performance and consistency
Magnetic
• Magnetic storage
• Maximum of 1 TB
• Supported for legacy databases
NEW!
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Can I run Amazon RDS in my data center?
• In preview: Amazon RDS instances running in vSphere clusters
• Use cases
• Automate management of on-premises databases
• Hybrid cloud backups and scaling
• Migrate databases to Amazon Web Services (AWS)
• Features
• Automated management including provisioning and patching
• Unified management console
• Storage and compute scaling
• Read replicas on-premises or in AWS
• Performance monitoring with vSphere and Amazon CloudWatch
• Simple backup and restore on-premises or in AWS
• Supported engines: MySQL, MariaDB, PostgreSQL, SQL Server, Oracle
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
VMware vSphere Private Data Center
AWS Cloud
Amazon RDS
Connector
Dedicated VPN tunnel
enables database
management entirely within
your private data center
DB instance
standby
DB instance
read replica
DB instance
primary
Amazon RDS on VMware
The Amazon RDS connector
packages technologies at the
core of Amazon RDS in AWS &
deploys them on premises
Amazon RDS on VMware
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
PrimarySecondary
How do I ensure high availability for my database?
• Multi-AZ configurations provide
enterprise-grade fault tolerance solution
for production databases
• Each database host manages a set of
Amazon EBS volumes with a full copy of
the data
• Instances are monitored by an external
observer to maintain consensus over
quorum
• Failover initiated by automation or
through the Amazon RDS API
• Redirection to the new primary instance is
provided through DNS
• Detects infrastructure issues, not database
engine problems
StandbyPrimary
Availability Zone 1 Availability Zone 2
AWS Region
Applications
Synchronous
replication
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How can I gain read scalability?
• Use Amazon RDS read replicas to relieve
pressure on your source database with
additional read capacity
• Create up to five replicas per source
database
• Monitor replication lag in Amazon
CloudWatch or Amazon RDS console
• Supported for MySQL, MariaDB, and
PostgreSQL
• Single-region read replicas for Oracle EE
in preview
• Coming soon for SQL Server
Region
Asynchronous
replication
NEW!
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How can I plan for disaster recovery?
• Use a cross-region read replica as a
standby database for recovery in the
event of a disaster
• Read replicas can be configured for
Multi-AZ to reduce recovery time
• Can use delayed replication for
MySQL to protect from self-inflicted
disasters
• Supported for MySQL, MariaDB, and
PostgreSQL
• For Oracle and SQL Server, use cross-
region backup copies
Region 1
Availability Zone 2
Synchronous
replication
Synchronous
replication
Availability Zone 3
Availability Zone 1 Availability Zone 4
Region 2
Asynchronous
replication
NEW!
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How does Amazon RDS manage backups?
• Two options—automated backups
and manual snapshots
• Amazon RDS leverages Amazon EBS
snapshots stored in Amazon Simple
Storage Service (Amazon S3)
• For automated backups, transaction
logs are stored every five minutes in
Amazon S3 to support point-in-time
recovery
• No performance penalty for
backups, brief pause for single-AZ
configurations
• Snapshots can be copied across
regions or shared with other
accounts
Transaction
Logs
RDS
Host
Amazon S3
Application
Amazon EBS
Volume
Standby
Instance
Amazon S3
Region 1 Region 2
Availability Zone 1
Availability Zone 2
Primary instance
Amazon EBS
Volume
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
New Amazon RDS backup features
• Retain automated backups
• Optionally keep automated
backups and transaction logs upon
instance deletion
• Can perform a point-in-time
restore to any point during the
retained period
• Automated backups are retained
for the original retention period for
the instance
• Specify parameter group value on restore
• Incremental encrypted snapshot copy
NEW!
NEW!
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How can I monitor my Amazon RDS database?
• Amazon CloudWatch metrics
• CPU/Storage/Memory
• Swap usage
• I/O (read and write)
• Latency (read and write)
• Throughput (read and write)
• Replica lag
• Amazon CloudWatch alarms
• Similar to on-premises monitoring tools
• Enhanced monitoring
• Access to additional CPU, memory, file
system, and disk I/O metrics
• As low as one-second intervals
• Integration with third-party monitoring tools
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How do I troubleshoot performance problems?
• Amazon RDS Performance
Insights helps you to identify
database bottlenecks
• Measures DB load: Average
active sessions measured
through lightweight sampling
• View load by database wait
states (CPU, IO, locks)
• Slice DB load by top SQL
statements
• Adjustable time frame
• Hour, day, week, and longer
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
New features in Performance Insights
• Engine support: PostgreSQL, MySQL, Oracle
• Extended data retention
• Retain up to two years of performance data
• Trend performance over time, analyze month-over-month activity, and
compare end-of-quarter or end-of-year performance with earlier performance
• Load metrics in CloudWatch
• DBLoad
• DBLoadCPU
• DBLoadNonCPU
• AWS CloudFormation support
NEW!
NEW!
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How do I adhere to best practices?
• Amazon RDS
Recommendations provides
individualized best practice
guidance by analyzing your
resources
• Initial set of configuration-
based recommendations
• Future launches will include
usage, parameters, and
performance recommendations
• Results are presented in the
AWS Management Console to
apply immediately or schedule
for next maintenance window
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How do I manage database log files?
• Database engine logs can be viewed in the Amazon RDS console or
downloaded via Amazon RDS API
• Now publish logs in real time to Amazon CloudWatch Logs
• Set CloudWatch alarms based on text search patterns
• Supported engines are MySQL, MariaDB, and Oracle
• Coming soon for PostgreSQL
CloudWatch
alarms
NEW!
Oracle DB
instance
Amazon
CloudWatch
Logs
MySQL DB
instance
alternate
PostgreSQL
instance
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How can I track events with my Amazon RDS resources?
• Amazon RDS event notifications let you
know when important things happen
• Built-in notifications for Amazon Simple
Notification Service (Amazon SNS)
• Amazon RDS now publishes events to
Amazon CloudWatch Events
• Lets you create rules to respond to changes in your resources
• Supports cross-account event delivery
• Six different source types (DB instance, DB
parameter group, DB security group, DB
snapshot, DB cluster, DB cluster snapshot)
• 17 different event categories (availability,
backup, deletion, configuration change, and
more)
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Can I stop and start my databases?
• Solution for development and test environments
• Stop and start a running database instance from the
console or AWS Command Line Interface (AWS CLI)
• Now available for both single-AZ and Multi-AZ DB
instances and Aurora DB clusters
• While instance is stopped, you only pay for storage
• Backup retention window is maintained while stopped
• Instances are restarted after seven days
• Pending maintenance operations are applied
• Instances can be stopped again if desired
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Can I save money with reserved instances?
• Amazon RDS reserved instances (RIs) provide a discount over on-demand prices
• Match region, instance family and engine of on-demand usage to apply benefit
• Amazon RDS RIs offer size flexibility for open source and Oracle BYOL engines
• By default, RIs are shared among all
accounts in consolidated billing
• Use the RI utilization and
coverage reports to determine
how your RIs are being used
• Amazon RDS RI recommendations
report uses historical data to
recommend which RIs to buy
NEW!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Related breakouts
DAT323 - Best Practices for Running SQL Server on Amazon
RDS
Thursday, Nov 29, 1:00 PM - 2:00 PM | Venetian, Level 2, Titian 2202 - T1
DAT402 - Using Performance Insights to Optimize Database
Performance
Thursday, Nov 29, 12:15 PM - 1:15 PM | Bellagio Ballroom 6
DAT375 - [NEW LAUNCH!] Deep Dive on Amazon RDS on VMware
Thursday, Nov 29, 1:45 PM - 2:45 PM | Aria East, Plaza Level, Orovada 2
Thank you!
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Brian Welcker
bwelcker@amazon.com
© 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...
Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...
Aurora Serverless: Scalable, Cost-Effective Application Deployment (DAT336) -...
 
Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319 Foundations of Amazon EC2 - SRV319
Foundations of Amazon EC2 - SRV319
 
Ask Me Anything about Amazon Aurora (DAT369-R1) - AWS re:Invent 2018
Ask Me Anything about Amazon Aurora (DAT369-R1) - AWS re:Invent 2018Ask Me Anything about Amazon Aurora (DAT369-R1) - AWS re:Invent 2018
Ask Me Anything about Amazon Aurora (DAT369-R1) - AWS re:Invent 2018
 
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
Best Practices for Migrating Oracle Databases to the Cloud - AWS Online Tech ...
 
Building a Modern Data Warehouse - Deep Dive on Amazon Redshift
Building a Modern Data Warehouse - Deep Dive on Amazon RedshiftBuilding a Modern Data Warehouse - Deep Dive on Amazon Redshift
Building a Modern Data Warehouse - Deep Dive on Amazon Redshift
 
Builders Day' - Databases on AWS: The Right Tool for The Right Job
Builders Day' - Databases on AWS: The Right Tool for The Right JobBuilders Day' - Databases on AWS: The Right Tool for The Right Job
Builders Day' - Databases on AWS: The Right Tool for The Right Job
 
Deep Dive on Amazon Elastic File System (Amazon EFS) (STG301-R1) - AWS re:Inv...
Deep Dive on Amazon Elastic File System (Amazon EFS) (STG301-R1) - AWS re:Inv...Deep Dive on Amazon Elastic File System (Amazon EFS) (STG301-R1) - AWS re:Inv...
Deep Dive on Amazon Elastic File System (Amazon EFS) (STG301-R1) - AWS re:Inv...
 
SRV308 Deep Dive on Amazon Aurora
SRV308 Deep Dive on Amazon AuroraSRV308 Deep Dive on Amazon Aurora
SRV308 Deep Dive on Amazon Aurora
 
Using Performance Insights to Optimize Database Performance (DAT402) - AWS re...
Using Performance Insights to Optimize Database Performance (DAT402) - AWS re...Using Performance Insights to Optimize Database Performance (DAT402) - AWS re...
Using Performance Insights to Optimize Database Performance (DAT402) - AWS re...
 
Leadership Session: AWS Database and Analytics (DAT206-L) - AWS re:Invent 2018
Leadership Session: AWS Database and Analytics (DAT206-L) - AWS re:Invent 2018Leadership Session: AWS Database and Analytics (DAT206-L) - AWS re:Invent 2018
Leadership Session: AWS Database and Analytics (DAT206-L) - AWS re:Invent 2018
 
Going Deep on Amazon Aurora Serverless (DAT427-R1) - AWS re:Invent 2018
Going Deep on Amazon Aurora Serverless (DAT427-R1) - AWS re:Invent 2018Going Deep on Amazon Aurora Serverless (DAT427-R1) - AWS re:Invent 2018
Going Deep on Amazon Aurora Serverless (DAT427-R1) - AWS re:Invent 2018
 
Deep Dive on Amazon Aurora MySQL Performance Tuning (DAT429-R1) - AWS re:Inve...
Deep Dive on Amazon Aurora MySQL Performance Tuning (DAT429-R1) - AWS re:Inve...Deep Dive on Amazon Aurora MySQL Performance Tuning (DAT429-R1) - AWS re:Inve...
Deep Dive on Amazon Aurora MySQL Performance Tuning (DAT429-R1) - AWS re:Inve...
 
How Amazon uses AWS Analytics
How Amazon uses AWS AnalyticsHow Amazon uses AWS Analytics
How Amazon uses AWS Analytics
 
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
Best practices for optimizing your EC2 costs with Spot Instances | AWS Floor28
 
SQL Server to Amazon Aurora Migration, Step by Step (DAT405) - AWS re:Invent ...
SQL Server to Amazon Aurora Migration, Step by Step (DAT405) - AWS re:Invent ...SQL Server to Amazon Aurora Migration, Step by Step (DAT405) - AWS re:Invent ...
SQL Server to Amazon Aurora Migration, Step by Step (DAT405) - AWS re:Invent ...
 
Deep Dive on Amazon Aurora PostgreSQL Performance Tuning (DAT428-R1) - AWS re...
Deep Dive on Amazon Aurora PostgreSQL Performance Tuning (DAT428-R1) - AWS re...Deep Dive on Amazon Aurora PostgreSQL Performance Tuning (DAT428-R1) - AWS re...
Deep Dive on Amazon Aurora PostgreSQL Performance Tuning (DAT428-R1) - AWS re...
 
A Deep Dive into What's New for Amazon DynamoDB (DAT201) - AWS re:Invent 2018
A Deep Dive into What's New for Amazon DynamoDB (DAT201) - AWS re:Invent 2018A Deep Dive into What's New for Amazon DynamoDB (DAT201) - AWS re:Invent 2018
A Deep Dive into What's New for Amazon DynamoDB (DAT201) - AWS re:Invent 2018
 
Amazon Aurora_Deep Dive
Amazon Aurora_Deep DiveAmazon Aurora_Deep Dive
Amazon Aurora_Deep Dive
 
Loading Data into Redshift
Loading Data into RedshiftLoading Data into Redshift
Loading Data into Redshift
 
Migrating Financial and Accounting Systems from Oracle to Amazon DynamoDB (DA...
Migrating Financial and Accounting Systems from Oracle to Amazon DynamoDB (DA...Migrating Financial and Accounting Systems from Oracle to Amazon DynamoDB (DA...
Migrating Financial and Accounting Systems from Oracle to Amazon DynamoDB (DA...
 

Similar a What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018

Deep Dive - Amazon Relational Database Services_AWSPSSummit_Singapore
Deep Dive - Amazon Relational Database Services_AWSPSSummit_SingaporeDeep Dive - Amazon Relational Database Services_AWSPSSummit_Singapore
Deep Dive - Amazon Relational Database Services_AWSPSSummit_Singapore
Amazon Web Services
 

Similar a What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018 (20)

What’s new in Amazon RDS - ADB207 - Chicago AWS Summit
What’s new in Amazon RDS - ADB207 - Chicago AWS SummitWhat’s new in Amazon RDS - ADB207 - Chicago AWS Summit
What’s new in Amazon RDS - ADB207 - Chicago AWS Summit
 
What's new in Amazon RDS - ADB206 - New York AWS Summit
What's new in Amazon RDS - ADB206 - New York AWS SummitWhat's new in Amazon RDS - ADB206 - New York AWS Summit
What's new in Amazon RDS - ADB206 - New York AWS Summit
 
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 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...
 
Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310 Amazon RDS_Deep Dive - SRV310
Amazon RDS_Deep Dive - SRV310
 
SRV310 Optimizing Relational Databases on AWS: Deep Dive on Amazon RDS
 SRV310 Optimizing Relational Databases on AWS: Deep Dive on Amazon RDS SRV310 Optimizing Relational Databases on AWS: Deep Dive on Amazon RDS
SRV310 Optimizing Relational Databases on AWS: Deep Dive on Amazon RDS
 
Relational Database Services on AWS
Relational Database Services on AWSRelational Database Services on AWS
Relational Database Services on AWS
 
DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)DAT302_Deep Dive on Amazon Relational Database Service (RDS)
DAT302_Deep Dive on Amazon Relational Database Service (RDS)
 
Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018
Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018
Cost and Performance Optimisation in Amazon RDS - AWS Summit Sydney 2018
 
Relational Database Services on AWS - Bill Baldwin
Relational Database Services on AWS - Bill BaldwinRelational Database Services on AWS - Bill Baldwin
Relational Database Services on AWS - Bill Baldwin
 
Scaling your Application with AWS Relational Databases I AWS Dev Day 2018
Scaling your Application with AWS Relational Databases I AWS Dev Day 2018Scaling your Application with AWS Relational Databases I AWS Dev Day 2018
Scaling your Application with AWS Relational Databases I AWS Dev Day 2018
 
Relational Database Services on AWS
Relational Database Services on AWSRelational Database Services on AWS
Relational Database Services on AWS
 
Relational Database Services on AWS
Relational Database Services on AWSRelational Database Services on AWS
Relational Database Services on AWS
 
SQL Server on AWS
SQL Server on AWSSQL Server on AWS
SQL Server on AWS
 
Deep Dive - Amazon Relational Database Services_AWSPSSummit_Singapore
Deep Dive - Amazon Relational Database Services_AWSPSSummit_SingaporeDeep Dive - Amazon Relational Database Services_AWSPSSummit_Singapore
Deep Dive - Amazon Relational Database Services_AWSPSSummit_Singapore
 
Amazon RDS with Amazon Aurora | AWS Public Sector Summit 2016
Amazon RDS with Amazon Aurora | AWS Public Sector Summit 2016Amazon RDS with Amazon Aurora | AWS Public Sector Summit 2016
Amazon RDS with Amazon Aurora | AWS Public Sector Summit 2016
 
SQL Server on AWS
SQL Server on AWSSQL Server on AWS
SQL Server on AWS
 
Build on Amazon Aurora with MySQL Compatibility (DAT348-R4) - AWS re:Invent 2018
Build on Amazon Aurora with MySQL Compatibility (DAT348-R4) - AWS re:Invent 2018Build on Amazon Aurora with MySQL Compatibility (DAT348-R4) - AWS re:Invent 2018
Build on Amazon Aurora with MySQL Compatibility (DAT348-R4) - AWS re:Invent 2018
 
Introduction to Database Services
Introduction to Database ServicesIntroduction to Database Services
Introduction to Database Services
 
Oracle & SQL Server on the Cloud: Database Week SF
Oracle & SQL Server on the Cloud: Database Week SFOracle & SQL Server on the Cloud: Database Week SF
Oracle & SQL Server on the Cloud: Database Week SF
 

Más 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
 

Más 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
 

What's New in Amazon Relational Database Service (DAT203) - AWS re:Invent 2018

  • 1.
  • 2. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. What’s New in Amazon Relational Database Service Brian Welcker Principal Product Manager Amazon RDS D A T 2 0 3
  • 3. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda Configuring your database instance in Amazon Relational Database Service (Amazon RDS) Managing high availability, read replicas, and backups in Amazon RDS Monitoring and troubleshooting your Amazon RDS database Optimizing costs in Amazon RDS Spotlight on new features NEW!
  • 4. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Scale compute and storage with a few clicks; minimal downtime for your application Automatic Multi-AZ data replication; automated backup, snapshots, and failover Data encryption at rest and in transit; industry compliance and assurance programs Amazon Relational Database Service (Amazon RDS) Managed relational database service with a choice of popular database engines Easy to administer Easily deploy and maintain hardware, OS, and DB software; built-in monitoring Performant & scalable Available & durable Secure & compliant
  • 5. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 6. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon RDS database engines Commercial Open source Cloud native Amazon Elastic Block Store (Amazon EBS)-based storage Amazon Aurora storage system MySQL compatible PostgreSQL compatible
  • 7. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Which database engine version should I use? • MySQL: 5.5, 5.6, 5.7, 8.0 • MySQL 8.0: Window Functions, Common Table Expressions, JSON functions, Spatial support, improved performance, crash-safe Data Definition Language (DDL) operations, security roles, TLS 1.2 • MariaDB: 10.0, 10.1, 10.2, 10.3 • MariaDB 10.3: Oracle compatibility (PL/SQL parser), sequences, INTERSECT and EXCEPT, new ROW type and TYPE OF stored functions, invisible columns, temporal versioned tables, user-defined aggregates, instant ADD COLUMN operations • PostgreSQL: 9.3, 9.4, 9.5, 9.6, 10, 11 (Preview) • PostgreSQL 10: Native table partitioning, improved parallelism in query execution, ICU collation support, column group statistics, enhanced FDW and PLV8 extensions, huge pages enabled by default • PostgreSQL 11: Embedded transactions within a stored procedure, improvements to partitioning, improvements to parallelism, adding columns with a non-null column default faster • Oracle: 11.2, 12.1, 12.2 • Oracle 12.2: New engine versioning scheme—Release Updates (RUs) and Release Update Revisions (RURs) • SQL Server: 2008 R2, 2012, 2014, 2016, 2017 NEW! NEW! NEW! NEW!
  • 8. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Which instance type should I choose? T family • Burstable instances • 1 vCPU/1 GB RAM > 8 vCPU 32 GB RAM • Moderate networking performance • Good for smaller or variable workloads • Monitor CPU credit metrics in Amazon CloudWatch • T2.micro is eligible for the AWS Free Tier • T3 will enable unlimited mode—can burst above baseline for extra charge M family • General purpose instances • 2 vCPU/8 GiB RAM > 64 vCPU 256 GiB RAM • High-performance networking • Good for running CPU- intensive workloads (such as WordPress) • M5 offers up to 96 vCPU R family • Memory-optimized instances • 2 vCPU/16 GiB RAM > 64 vCPU 488 GiB RAM • High-performance networking • Good for query-intensive workloads or high connection counts • R5 offers up to vCPU 768 GiB RAM • Oracle support for X1 and X1e instances and CPU license optimizationNEW! NEW! NEW!
  • 9. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Which storage type should I choose? General purpose (GP2) • SSD storage • Maximum of 32 TiB for Oracle, PostgreSQL, MySQL, MariaDB • Maximum of 16 TiB for SQL Server • Leverages Amazon Elastic Block Store (Amazon EBS) elastic volumes • IOPS determined by volume size • Minimum of 100 IOPS (below 33.33 GiB) • Bursts to 3,000 IOPS (applicable below 1.3 TiB) • Baseline of 10,000 IOPS per volume (at 3.3 TiB and above) • Affordable performance Provisioned IOPS (IO1) • SSD storage • Maximum of 32 TiB for Oracle, PostgreSQL, MySQL, MariaDB • Leverages Amazon EBS elastic volumes • Maximum of 40K IOPS (20K on SQL Server) • Delivers within 10 percent of the IOPS performance 99.9 percent of the time • High performance and consistency Magnetic • Magnetic storage • Maximum of 1 TB • Supported for legacy databases NEW! NEW!
  • 10. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 11. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Can I run Amazon RDS in my data center? • In preview: Amazon RDS instances running in vSphere clusters • Use cases • Automate management of on-premises databases • Hybrid cloud backups and scaling • Migrate databases to Amazon Web Services (AWS) • Features • Automated management including provisioning and patching • Unified management console • Storage and compute scaling • Read replicas on-premises or in AWS • Performance monitoring with vSphere and Amazon CloudWatch • Simple backup and restore on-premises or in AWS • Supported engines: MySQL, MariaDB, PostgreSQL, SQL Server, Oracle NEW!
  • 12. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. VMware vSphere Private Data Center AWS Cloud Amazon RDS Connector Dedicated VPN tunnel enables database management entirely within your private data center DB instance standby DB instance read replica DB instance primary Amazon RDS on VMware The Amazon RDS connector packages technologies at the core of Amazon RDS in AWS & deploys them on premises Amazon RDS on VMware NEW!
  • 13. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 14. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. PrimarySecondary How do I ensure high availability for my database? • Multi-AZ configurations provide enterprise-grade fault tolerance solution for production databases • Each database host manages a set of Amazon EBS volumes with a full copy of the data • Instances are monitored by an external observer to maintain consensus over quorum • Failover initiated by automation or through the Amazon RDS API • Redirection to the new primary instance is provided through DNS • Detects infrastructure issues, not database engine problems StandbyPrimary Availability Zone 1 Availability Zone 2 AWS Region Applications Synchronous replication
  • 15. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How can I gain read scalability? • Use Amazon RDS read replicas to relieve pressure on your source database with additional read capacity • Create up to five replicas per source database • Monitor replication lag in Amazon CloudWatch or Amazon RDS console • Supported for MySQL, MariaDB, and PostgreSQL • Single-region read replicas for Oracle EE in preview • Coming soon for SQL Server Region Asynchronous replication NEW! NEW!
  • 16. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How can I plan for disaster recovery? • Use a cross-region read replica as a standby database for recovery in the event of a disaster • Read replicas can be configured for Multi-AZ to reduce recovery time • Can use delayed replication for MySQL to protect from self-inflicted disasters • Supported for MySQL, MariaDB, and PostgreSQL • For Oracle and SQL Server, use cross- region backup copies Region 1 Availability Zone 2 Synchronous replication Synchronous replication Availability Zone 3 Availability Zone 1 Availability Zone 4 Region 2 Asynchronous replication NEW! NEW!
  • 17. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How does Amazon RDS manage backups? • Two options—automated backups and manual snapshots • Amazon RDS leverages Amazon EBS snapshots stored in Amazon Simple Storage Service (Amazon S3) • For automated backups, transaction logs are stored every five minutes in Amazon S3 to support point-in-time recovery • No performance penalty for backups, brief pause for single-AZ configurations • Snapshots can be copied across regions or shared with other accounts Transaction Logs RDS Host Amazon S3 Application Amazon EBS Volume Standby Instance Amazon S3 Region 1 Region 2 Availability Zone 1 Availability Zone 2 Primary instance Amazon EBS Volume
  • 18. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. New Amazon RDS backup features • Retain automated backups • Optionally keep automated backups and transaction logs upon instance deletion • Can perform a point-in-time restore to any point during the retained period • Automated backups are retained for the original retention period for the instance • Specify parameter group value on restore • Incremental encrypted snapshot copy NEW! NEW! NEW!
  • 19. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 20. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How can I monitor my Amazon RDS database? • Amazon CloudWatch metrics • CPU/Storage/Memory • Swap usage • I/O (read and write) • Latency (read and write) • Throughput (read and write) • Replica lag • Amazon CloudWatch alarms • Similar to on-premises monitoring tools • Enhanced monitoring • Access to additional CPU, memory, file system, and disk I/O metrics • As low as one-second intervals • Integration with third-party monitoring tools
  • 21. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How do I troubleshoot performance problems? • Amazon RDS Performance Insights helps you to identify database bottlenecks • Measures DB load: Average active sessions measured through lightweight sampling • View load by database wait states (CPU, IO, locks) • Slice DB load by top SQL statements • Adjustable time frame • Hour, day, week, and longer
  • 22. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. New features in Performance Insights • Engine support: PostgreSQL, MySQL, Oracle • Extended data retention • Retain up to two years of performance data • Trend performance over time, analyze month-over-month activity, and compare end-of-quarter or end-of-year performance with earlier performance • Load metrics in CloudWatch • DBLoad • DBLoadCPU • DBLoadNonCPU • AWS CloudFormation support NEW! NEW! NEW!
  • 23. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How do I adhere to best practices? • Amazon RDS Recommendations provides individualized best practice guidance by analyzing your resources • Initial set of configuration- based recommendations • Future launches will include usage, parameters, and performance recommendations • Results are presented in the AWS Management Console to apply immediately or schedule for next maintenance window NEW!
  • 24. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How do I manage database log files? • Database engine logs can be viewed in the Amazon RDS console or downloaded via Amazon RDS API • Now publish logs in real time to Amazon CloudWatch Logs • Set CloudWatch alarms based on text search patterns • Supported engines are MySQL, MariaDB, and Oracle • Coming soon for PostgreSQL CloudWatch alarms NEW! Oracle DB instance Amazon CloudWatch Logs MySQL DB instance alternate PostgreSQL instance
  • 25. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. How can I track events with my Amazon RDS resources? • Amazon RDS event notifications let you know when important things happen • Built-in notifications for Amazon Simple Notification Service (Amazon SNS) • Amazon RDS now publishes events to Amazon CloudWatch Events • Lets you create rules to respond to changes in your resources • Supports cross-account event delivery • Six different source types (DB instance, DB parameter group, DB security group, DB snapshot, DB cluster, DB cluster snapshot) • 17 different event categories (availability, backup, deletion, configuration change, and more) NEW!
  • 26. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 27. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Can I stop and start my databases? • Solution for development and test environments • Stop and start a running database instance from the console or AWS Command Line Interface (AWS CLI) • Now available for both single-AZ and Multi-AZ DB instances and Aurora DB clusters • While instance is stopped, you only pay for storage • Backup retention window is maintained while stopped • Instances are restarted after seven days • Pending maintenance operations are applied • Instances can be stopped again if desired NEW!
  • 28. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Can I save money with reserved instances? • Amazon RDS reserved instances (RIs) provide a discount over on-demand prices • Match region, instance family and engine of on-demand usage to apply benefit • Amazon RDS RIs offer size flexibility for open source and Oracle BYOL engines • By default, RIs are shared among all accounts in consolidated billing • Use the RI utilization and coverage reports to determine how your RIs are being used • Amazon RDS RI recommendations report uses historical data to recommend which RIs to buy NEW!
  • 29. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Related breakouts DAT323 - Best Practices for Running SQL Server on Amazon RDS Thursday, Nov 29, 1:00 PM - 2:00 PM | Venetian, Level 2, Titian 2202 - T1 DAT402 - Using Performance Insights to Optimize Database Performance Thursday, Nov 29, 12:15 PM - 1:15 PM | Bellagio Ballroom 6 DAT375 - [NEW LAUNCH!] Deep Dive on Amazon RDS on VMware Thursday, Nov 29, 1:45 PM - 2:45 PM | Aria East, Plaza Level, Orovada 2
  • 30. Thank you! © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved. Brian Welcker bwelcker@amazon.com
  • 31. © 2018, Amazon Web Services, Inc. or its affiliates. All rights reserved.