AWS数据库服务介绍

【数据库】
OLTP数据库

  1. [Sql] RDS(mysql / postgre / oracle / mssql )

  2. [Sql] Aurora
    – AWS自研SQL数据库有mysql和postgre兼容版
    – 比mysql快5倍,比postgre快3倍

  3. [NoSql] DynamoDB
    – Serverless服务,高可用,跨AZ
    – 数据库为Table为单位
    – 可以套用DynamoDB Accelerator (DAX) 做缓存层,比redis更有效率
    – DAX的缓存流程 : App -> DAX -> DynamoDB
    – 拥有Global Table功能:在两个不同的region各自创建table,用户的读或写请求,会提交到临近地区的node执行,然后把数据同步到多个region(非常适合全球业务)
    – 缺点是不兼容mongoDB

  4. [NoSql] DocumentDB
    – AWS自研NoSql
    – 兼容MongoDB

OLAP数据库

  1. Redshift
    – 数据仓库, 用作大数据分析
    – 对标: AliCloud的analyticDB,GCP的BigQuery,Snowflake,ClickHouse

Athena
– Serverless服务
– 漏斗分析
– 使用标准 SQL 直接分析 Amazon S3 中的数据
– 支持多种数据格式,如 CSV、JSON、ORC、Avro 或 Parquet

Neptune
– Graph Database
– 适用于开发:social networking,推荐引擎,诈骗识别

QuickSight
– 对接数据仓库然后显示BI分析面板
– 对标产品:tableau,Microsoft Power BI

Elastic Map Reduce (EMR)
– 一次过执行多台服务器的集群运行大数据分析
– 对标产品Hadoop,Spark

ElastiCache
– 使用内存缓存数据
– 拥有redis和memcache的版本

量子账本数据库 Quantum Ledger Database
– 无法进行数据篡改
1. QLDB:中心化的数据库
2. Managed Blockchain: 去中心化的数据库,目前提供Ethereum和Hyperledger fabric的版本

Glue
– 把收集到不同种类(json, csv等等)的数据进行整理,然后往数据仓库储存
– 对标产品:ElasticSearch的Logstash

RDS Proxy
– 允许应用程序池化和共享与数据库建立的数据库连接
– Serverless, autoscaling, highly available (multi-AZ)
– Reduced RDS & Aurora failover time by up 66%
– Enforce IAM Authentication for DB, and securelystore credentials in AWS Secrets Manager
– RDS Proxy is never publicly accessible (must beaccessed fromVPC)

Aurora Machine Learning
– Enables you to add ML-based predictions to your applications via SQL
– Simple, optimized, and secure integrationbetween Aurora and AWS ML services
– Supported services
– Amazon SageMaker (use with any ML model)
– Amazon Comprehend (for sentiment analysis
– You don’t need to have ML experience
– Use cases: fraud detection, ads targeting.sentiment analysis, product recommendations.

Aurora Database Cloning
– 比snapshot & restore还块的复制
– 一开始clone出来新和旧的db cluster是使用同一个数据源,当新DB有更改数据的时候才会进行复制,所以是非常快的创建新db cluster(用处是当开发人员要debug或检查production 数据的时候使用,这么做就无需等太久去clone,而且也能无需让开发人员直接接触production DB)

RDS备份
【自动备份】
– 1到35天保存期限(RDS & Aurora都无法关闭)
– RDS能够最快速倒回数据(最快5分钟前)
– Aurora能够最快速倒回数据到任何时间

【手动备份】
– 能够无限期保存数据

Loading

Facebook评论