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 characteristic | Amazon RDS | Amazon DynamoDB |
|---|---|---|
| Record unit | Row | Item |
| Schema | Defined columns and constraints | Defined keys; flexible attributes |
| Related data | Related tables and joins | Access-pattern-oriented items |
| Nested data | Engine-dependent support | Map and list attributes |