ExitAmazon RDS and Amazon DynamoDB: relational and NoSQL data access1 / 7
Explanation

Start with how the source represents data

How relational schemas and SQL access in RDS differ from DynamoDB's key-based document access when choosing a source for data pipelines. · associate

Amazon RDS manages relational database engines. A relational schema defines tables, columns, data types, and constraints. For example, an orders table can hold a customer identifier that relates each order to a row in customers. A pipeline can use these relationships to combine records rather than expect every order to contain the complete customer profile.

Amazon DynamoDB is a key-value and document database. Its tables contain items, each identified by a primary key. Non-key attributes can differ between items, and attributes can contain nested maps and lists. For example, one order item can include a delivery-details map while another omits it. The table still has a defined key schema; flexible attributes do not mean there is no schema to understand.

The distinction is not simply “tables versus JSON”: both services use tables, and some RDS engines support JSON data. The important difference is the data model: relational tables describe structured records and relationships, while DynamoDB models items around keys and the access patterns those keys support.

Source characteristicAmazon RDSAmazon DynamoDB
Record unitRowItem
SchemaDefined columns and constraintsDefined keys; flexible attributes
Related dataRelated tables and joinsAccess-pattern-oriented items
Nested dataEngine-dependent supportMap and list attributes