Comparison: Neon vs PostgreSQLModified date: Monday, June 30, 2025
| Feature | Neon | PostgreSQL | Definition |
|---|---|---|---|
| intro | Neon is a serverless open-source alternative to AWS Aurora Postgres. It separates storage and compute and substitutes the PostgreSQL storage layer by redistributing data across a cluster of nodes. | 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 | Databricks | PostgreSQL Committees | |
| initial release | 2021 | 1998 | |
| latested version | 8717 | 17 | |
| supported platforms | x86, PowerPC, S/390, SPARC, ARM, MIPS, RISC-V, and PA-RISC | ||
| db-engines ranking | no ranking | 4 | |
| relational? | yes | yes | |
| open source? | yes | yes | |
| license | Apache | ||
| cloud offering | cloud vendors | cloud vendors | |
| technical doc | https://neon.com/docs/introduction | www.postgresql.org/docs | |
| price: box software | 0 | ||
| on-premise offering | yes |
| Feature | Neon | 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 | Neon | 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 | Neon | PostgreSQL | Definition |
|---|---|---|---|
| arch: server | C/S | C/S | |
| arch: run in browser? | no | no/yes | |
| arch: in-memory support | no | no | |
| arch: Multi-master support? | no | no | |
| Neon is based on PostgreSQL with storage and compute separation enhancement for native cloud DB. | |||
| arch: primary/read replica? | yes | yes | |
| replication: sync/async | both | both | |
| replication: WAL shipping | yes | 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 | Neon | PostgreSQL | Definition |
|---|---|---|---|
| any official TPC benchmarks? | no | no |
| Feature | Neon | PostgreSQL | Definition |
|---|---|---|---|
| command line client | psql | psql | |
| admin(GUI) | pgAdmin | pgAdmin |
| Feature | Neon | PostgreSQL | Definition |
|---|---|---|---|
| Jurisdiction | US | US | |
| ECCN | None | None | |
| Eligible License Exception / CCATS | Not required | Not required | |
| Encryption Components | SSL | SSL |
| Feature | Neon | PostgreSQL | Definition |
|---|---|---|---|
| concurrency control | MVCC | MVCC | |
| MVCC: implemented? | yes | yes | |
| Implementation language | Rust | C | |
| MVCC: rollback segment | no |
| Feature | Neon | PostgreSQL | Definition |
|---|---|---|---|
| CBO? | yes | yes | |
| framework | System-R | System-R | |
| join order search | dynamic programming + Generic Algorithm (GEQO) | dynamic programming + Generic Algorithm (GEQO) | |
| stats: multi column | yes | yes | |
| query hints? | GUC only | GUC only | |
| plan guide? | no | no |
| Feature | Neon | PostgreSQL | Definition |
|---|---|---|---|
| resource management | simple: work_mem controls per-operator memory use | simple: work_mem controls per-operator memory use | |
| spilling support | yes | yes | |
| model | Volcano + push for parallel run | Volcano + push for parallel run | |
| support intra-parallel query? | yes | yes | |
| adaptive execution (AQP)? | no | no | |
| vectorization | no native | no native | |
| iterator: join methods | all 3 | all 3 | |
| Error: out-of-range and overflow | abort the transaction | abort the transaction |
| Feature | Neon | 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 |