Comparison: Aurora DSQL vs PostgreSQLModified date: Monday, June 30, 2025
| Feature | Aurora DSQL | PostgreSQL | Definition |
|---|---|---|---|
| intro | Aurora is a relational database management system (RDBMS) built for the cloud with full MySQL and PostgreSQL compatibility. DSQL is PostgreSQL compatible. | PostgreSQL is a powerful, open source object-relational database system with over 35 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance. | |
| vendor | Amazon AWS | PostgreSQL Committees | |
| initial release | 1998 | ||
| latested version | 17 | ||
| supported platforms | x86, PowerPC, S/390, SPARC, ARM, MIPS, RISC-V, and PA-RISC | ||
| db-engines ranking | 4 | ||
| relational? | yes | ||
| open source? | yes | ||
| license | |||
| price: box software | 0 | ||
| on-premise offering | yes | ||
| cloud offering | cloud vendors | ||
| technical doc | www.postgresql.org/docs |
| Feature | Aurora DSQL | PostgreSQL | Definition |
|---|---|---|---|
| int: signess | signed only | signed only | |
| int: 1-bytes int name | n.a. | n.a. | |
| int: 2-bytes int name | smallint | smallint | |
| int: 3-bytes int name | n.a. | n.a. | |
| int: 4-bytes int name | int | int | |
| int: 8-bytes int name | bigint | bigint | |
| decimal: storage size | variable | variable | |
| decimal: range | up to 131072 digits before the decimal point; up to 16383 digits after the decimal point | up to 131072 digits before the decimal point; up to 16383 digits after the decimal point | |
| char(n): max bytes | 10,485,760 | 10,485,760 | |
| text: max bytes | 1G | 1G |
| Feature | Aurora DSQL | PostgreSQL | Definition |
|---|---|---|---|
| base | PostgreSQL | ||
| SQL: standard complaince | high | high | |
| max SQL length | |||
| PL: main | SQL + PL/PgSQL | SQL + PL/PgSQL | |
| PL: other language support | yes | yes | |
| SP: max parameters | 100 | 100 | |
| UDF: max parameters | 100 | 100 | |
| SQL: max parameters | 65535 | 65535 | |
| SQL: query hints | GUC only | GUC only | |
| SQL: explicit locking | yes: row, page, table level | yes: row, page, table level | |
| Triggers? | yes | yes | |
| Triggers: scope | tables, views, foreign tables | tables, views, foreign tables | |
| Triggers: type | BEFORE, AFTER, INSTEAD OF | BEFORE, AFTER, INSTEAD OF | |
| Object-Relational? | yes | yes | |
| Extension Mechanism | C programming, link with engine | C programming, link with engine | |
| vector search | no native | no native |
| Feature | Aurora DSQL | PostgreSQL | Definition |
|---|---|---|---|
| arch: server | C/S | ||
| arch: run in browser? | no/yes | ||
| arch: in-memory support | no | ||
| arch: Multi-master support? | no | ||
| arch: primary/read replica? | yes | ||
| replication: sync/async | both | ||
| replication: WAL shipping | yes | ||
| replication: quorum-based commit | no | ||
| database: max number | |||
| tables: max number per database | 1,431,650,303 | ||
| partitions: methods | Range, List, Hash; limited composite (multi-level partitioning more limited than Oracle/SQL Server). | ||
| partitions: global index | no | ||
| rows: max rows per table | 32T/row_size | ||
| index: max allowed index | rows per table is restricted by the number of rows that can fit onto MAX_UINT*8K pages. | ||
| ACID | yes/yes | ||
| ACID: max isolation level | |||
| ACID: max ANSI isolation level | Serializable | ||
| ACID: durability | yes | ||
| Materialized View: support? | yes |
| Feature | Aurora DSQL | PostgreSQL | Definition |
|---|---|---|---|
| any official TPC benchmarks? | no |
| Feature | Aurora DSQL | PostgreSQL | Definition |
|---|---|---|---|
| command line client | psql | ||
| admin(GUI) | pgAdmin |
| Feature | Aurora DSQL | PostgreSQL | Definition |
|---|---|---|---|
| Jurisdiction | US | ||
| ECCN | None | ||
| Eligible License Exception / CCATS | Not required | ||
| Encryption Components | SSL |
| Feature | Aurora DSQL | PostgreSQL | Definition |
|---|---|---|---|
| concurrency control | MVCC | ||
| MVCC: implemented? | yes | ||
| MVCC: rollback segment | no | ||
| Implementation language | C |
| Feature | Aurora DSQL | PostgreSQL | Definition |
|---|---|---|---|
| CBO? | yes | ||
| framework | System-R | ||
| join order search | dynamic programming + Generic Algorithm (GEQO) | ||
| stats: multi column | yes | ||
| query hints? | GUC only | ||
| plan guide? | no |
| Feature | Aurora DSQL | PostgreSQL | Definition |
|---|---|---|---|
| resource management | simple: work_mem controls per-operator memory use | ||
| spilling support | yes | ||
| model | Volcano + push for parallel run | ||
| support intra-parallel query? | yes | ||
| adaptive execution (AQP)? | no | ||
| vectorization | no native | ||
| iterator: join methods | all 3 | ||
| Error: out-of-range and overflow | abort the transaction |
| Feature | Aurora DSQL | PostgreSQL | Definition |
|---|---|---|---|
| Page Size | 8K default | ||
| Storage Compression | TOAST compression (within a row) | ||
| Row Overflow / Large Row Handling | Row within a page and large columns pointing to TOAST storage | ||
| Index: primary cluster | Heap storage by default; CLUSTER command for static clustering - if modification happens after, order is not maintained. | ||
| Index: secondary | B+Tree, GIN, GiST, SP-GiST, BRIN, Hash, Fulltext (via extensions). | ||
| index: column store as primary | No native support; available via extensions (e.g. cstore_fdw, citus). | ||
| index: column store as secondary | No native support; available via extensions (e.g. cstore_fdw, citus). | ||
| partition table | declarative partition table is implemented via inheritance table, since V11 | ||
| partition table: prunning | mostly at compile time, some runtime | ||
| ACID: durability mechanism | WAL |