Amazon kinesis 和 Amazon aurora 有什么区别?什么是 Kinesis activity 流?

What is the difference between Amazon kinesis and Amazon aurora? What is Kinesis activity stream?

来自各个网站:

You can use Amazon Kinesis Data Streams to collect and process large streams of data records in real time. You can create data-processing applications, known as Kinesis Data Streams applications. A typical Kinesis Data Streams application reads data from a data stream as data records...Although you can use Kinesis Data Streams to solve a variety of streaming data problems, a common use is the real-time aggregation of data followed by loading the aggregate data into a data warehouse or map-reduce cluster....Data is put into Kinesis data streams, which ensures durability and elasticity.

那么Kinesis只是一个存储数据的总线吗?我想即使你可以持久化数据......你也不能像关系数据库那样查询它。

关于极光:

Amazon Aurora (Aurora) is a fully managed relational database engine that's compatible with MySQL and PostgreSQL. You already know how MySQL and PostgreSQL combine the speed and reliability of high-end commercial databases with the simplicity and cost-effectiveness of open-source databases. The code, tools, and applications you use today with your existing MySQL and PostgreSQL databases can be used with Aurora. With some workloads, Aurora can deliver up to five times the throughput of MySQL and up to three times the throughput of PostgreSQL without requiring changes to most of your existing applications.

Aurora includes a high-performance storage subsystem. Its MySQL- and PostgreSQL-compatible database engines are customized to take advantage of that fast distributed storage. The underlying storage grows automatically as needed, up to 64 terabytes.

所以 aurora 只是亚马逊的专有数据库?

最后,activity 流是什么?来自文档:

A database activity stream from Aurora PostgreSQL is pushed to an Amazon Kinesis data stream that is created on behalf of your database. From Kinesis, the database activity stream can then be consumed by Amazon CloudWatch or by applications for compliance management...When you start a database activity stream, each database activity event, such as a change or access, generates an activity stream event. Access events are generated from SQL commands such as CONNECT and SELECT....

activity 流是否有点像其他关系数据库的 bin 日志或 Write ahead 日志?当您打开此功能时,Kinesis 进程是如何启动的?我猜 Kinesis 有什么方法可以查看 Aurora 的二进制日志?

将 Kinesis Data Stream 视为 Kafka 主题。 Kinesis 允许您拥有一个具有特定吞吐量的托管流,您可以使用它来摄取数据。您认为必要时可以处理这些数据。所以是的,它(Kafka 和 Kinesis)就像一个消息总线,但在类固醇上。

Amazon Aurora 确实是一个具有两种风格的数据库引擎,MySQL 和 Postgres 兼容。基本上这是典型的 RDMBS 引擎。

您描述的 activity 流,将它们视为数据库中发生的所有事情的流审计日志。因此,数据库中发生的任何更改、任何视图都会作为事件推送到 "Bus"/"Stream" 上,而 AWS 通过允许数据库将这些事件推送到 Kinesis Stream 上来简化这一切。

希望这是有道理的。