December 3rd, 2024

Amazon Aurora DSQL

Amazon Aurora DSQL is a serverless distributed SQL database offering high availability, strong data consistency, and automatic updates. It is PostgreSQL-compatible and supports various applications, including cloud-native and SaaS solutions.

Read original articleLink Icon
FrustrationConfusionSkepticism
Amazon Aurora DSQL

Amazon Aurora DSQL is a serverless distributed SQL database designed for high availability and scalability, offering virtually unlimited capacity without the need for database sharding or instance upgrades. It features an active-active architecture that ensures strong data consistency and is built for 99.99% single-Region and 99.999% multi-Region availability. The serverless design eliminates the need for infrastructure management, allowing automatic updates without downtime or performance impact. Aurora DSQL is compatible with PostgreSQL, making it user-friendly for developers. It is suitable for a variety of applications, including cloud-native, multi-Region, and SaaS applications, enabling businesses to scale seamlessly from start-up to enterprise levels. The database supports industries such as banking, e-commerce, travel, and retail, providing the necessary performance and resilience for data-driven applications.

- Amazon Aurora DSQL offers serverless distributed SQL capabilities with high availability.

- It ensures strong data consistency and is designed for up to 99.999% availability.

- The database eliminates infrastructure management, handling updates automatically.

- It is PostgreSQL-compatible, providing an easy developer experience.

- Aurora DSQL supports various applications, including cloud-native and multi-tenant SaaS solutions.

AI: What people are saying
The comments on Amazon Aurora DSQL reveal a mix of skepticism and curiosity about the new database offering.
  • Many users express concerns about the limitations of Aurora DSQL, noting the lack of support for key PostgreSQL features like views, foreign keys, and extensions.
  • There is confusion regarding the various AWS database products, with users calling for clearer documentation and differentiation between offerings.
  • Pricing information is a significant concern, with several commenters unwilling to consider the service without knowing costs.
  • Some users question the actual scalability and management claims made by AWS, suggesting that "serverless" may not mean zero infrastructure management.
  • Overall, there is a desire for more technical details and clarity on how Aurora DSQL operates and its intended use cases.
Link Icon 30 comments
By @Edwinr95 - 5 months
I find it to be super limited, and I'm sort of struggling to see the point given all these constraints.

No temporary tables, no foreign keys, no views, no more than 10k rows in a transaction.

Except for some basic wire compatibility with the postgres protocol, I'd hardly call this a "database", and more a key-value store.

https://docs.aws.amazon.com/aurora-dsql/latest/userguide/wor...

By @e1g - 5 months
Just tried a quick test cluster -

  Identifies as PG 16.5
  No views/triggers/sequences
  No foreign key constraints
  No extensions
  No NOTIFY ("ERROR:  Function pg_notify not supported")
  No nested transactions
  No json(b)

Unsupported PG features are now online https://docs.aws.amazon.com/aurora-dsql/latest/userguide/wor...
By @bobnamob - 5 months
Marc Brooker's blog has a ~bunch~ bit more technical information

https://brooker.co.za/blog/2024/12/03/aurora-dsql

Specifically, transaction latency is constant relative to transaction statement count, even across region, so I guess that's something

By @slackerIII - 5 months
The only announcement I want from AWS about databases is that the price for RDS is going down. Not that they have new chip that is more expensive but offers better price/performance, but that my bill is actually going to drop.

I don't trust them enough to use non-portable technology like this until they give me confidence they are committed to lowering prices.

By @Andys - 5 months
The fact that it uses "Firecracker microVMs" and a few other things makes me think this is an S3-backed Lambda-based database that emulates Postgres on the wire.

Especially when you consider the recent feature additions to S3.

By @joshstrange - 5 months
I won't even consider this without pricing, I can't imagine how anyone could.

Serverless Aurora is stupid-expensive so I can't imagine this is going to be cheap but I keep hunting for that perfect DB that can scale to 0 (or very low) and be priced well.

Right now neon.tech is what I'm using and I'm very happy but this looks like it would be interesting IF the pricing is good.

By @kbumsik - 5 months
So does it scale to zero, and scale from zero with <1s latency like Neon DB?

AWS' recent "serverless" products, Aurora Serverless v2 and MSK Serverless for example, had been very misleading with "serverless" title.

I hope it is not a lie this time.

By @taldo - 5 months
Sooo they're finally launching a Spanner contender?

I'm itching to read more details into what this actually is under the marketing blab.

By @PowerfulWizard - 5 months
Very interesting. My dream is to have something like this, a KV-store, a blob store, and pubsub all behind the same interface.
By @bobnamob - 5 months
Oof, press release proof readers must have been hit by layoffs

> With its innovative active-active distributed architecture, Aurora DSQL is designed for 99.99% availability in single-Region configuration and 99.999% in multi-Region configuration, with an innovative active-active, distributed architecture, making it ideal for building highly-available applications

We get that its architecture is innovative and active-active

By @chikinpotpi - 5 months
So... its like cockroach db but with the added feature of more vendor lock in?
By @qaq - 5 months
Virtually unlimited scale :)

Maximum storage GB per cluster: 100GB Maximum size of all data modified within a write transaction 10 MiB Max: 10K rows per transaction

By @everfrustrated - 5 months
Postgres compatibility depends a bit on what you rely on. This doesn't appear to be postgres under the hood, more wire-compatible.

>Aurora DSQL is PostgreSQL compatible, which means that it provides identical behavior for most supported features, identical query results for all SQL features, and supports many popular PostgreSQL drivers and tools with minor configuration changes. Supported SQL expressions return identical data in query results, including sort order, scale and precision for numeric operations, and equivalence for string operations. With a few documented exceptions, such as synchronous replication, no-lock concurrency control, and asynchronous DDL execution, Aurora DSQL behaves comparably to PostgreSQL.

Aurora DSQL supports core relational features like ACID transactions, secondary indexes, joins, insert, and updates. See Supported SQL expressions for an overview of supported SQL features.

Aurora DSQL doesn't support all PostgreSQL features. For more information, see Unsupported PostgreSQL features.

https://docs.aws.amazon.com/aurora-dsql/latest/userguide/wor...

No pricing that I can find

By @whoevercares - 5 months
Curious why Murat left the project before it’s launched
By @sj26 - 5 months
If anybody likes to play with Ruby on Rails, I've published a bare bones active record connection adapter:

https://github.com/sj26/activerecord-dsql-adapter

By @politelemon - 5 months
I am confused, what is the difference between Aurora DSQL and Aurora Serverless?

https://aws.amazon.com/rds/aurora/serverless/

By @redwood - 5 months
In my experience, multi-region databases are used for HA/DR more so than for "writing locally from multiple places". What this means is that the multi-region "consensus cost" is a far easier problem. It looks like DSQL is aiming to change that paradigm: the question is, will this actually mean multiple-region writes become democratized finally? or will this remain more of a database industry marketing talking point that essentially no one uses?
By @znpy - 5 months
I see many comments about “PostgreSQL compatibility” not being actual compatibility… maybe the PostgreSQL people should compile a list of requirements for a database to call itself “PostgreSQL-compatible”?

It feels like the compatibility claim is a bit abused (not only in this case) mostly because there’s no clear and strict reference (maybe with mandatory and optional requirements) for what “compatible” means

By @sorenbs - 5 months
Very interesting announcement!

We are also building a hosted Postgres service based on Firecracker and with the ability to create unlimited databases. Will have to dig in and see how we compare to this. https://www.prisma.io/blog/announcing-prisma-postgres-early-...

By @sidcool - 5 months
It doesn't talk too much about data consistency.
By @benterix - 5 months
> Amazon Aurora DSQL is a serverless distributed SQL database with virtually unlimited scale, the highest availability, and zero infrastructure management.

I will ignore their claimed almost unlimited scalability (which I somewhat believe as it's in their best interest to make it expensive fast), and "highest" (as compared to what?) availability. But my pet peeve is zero infrastructure management. This is blatantly false and it always was - when they first announced their cloud (at that time called "web") services, when they marketed their solutions as "serverless", and now. You need to have well-trained staff to maintain your AWS infrastructure otherwise you will come across many problems.

By @jwnin - 5 months
Seems like a competitor to Azure's CosmosDB offering , which also now has wire support for postgres.
By @octernion - 5 months
love that i can spin this up and spend money before any of the documentation is available. neat-o
By @epaulson - 5 months
It's frustrating that there's no pricing information. The tech looks cool and all, but without knowing how much it's going to cost there's no way to really evaluate it.
By @c4pt0r - 5 months
- Yes, the storage is distributed kv.

- Yes, it's SQL on distributed transactional kv

- SQL layer is stateless, runs in multiple containers

- SQL layer would push down compute logic down to the storage(like, filter/predicate)

....Yes, that reminds me of TiDB

By @zokier - 5 months
Can Amazon please get RDS product management ducks in a row? You got RDS For PostgreSQL, Aurora PostgreSQL (provisioned), Aurora Serverless v1, Aurora Serverless v2, Aurora PostgreSQL Limitless Database, Aurora Global Database, and now Aurora DSQL (with PostgreSQL compatibility). It's very confusing, the docs are confusing, and the even the tools are confused.

I think this is pretty big contrast to something like S3 where the product feels far more clearly and coherently managed, and where they have released lots of big improvements/changes over the years without disrupting or muddying the core product in major ways.

By @estebarb - 5 months
Too bad the details how it works aren't available yet: https://docs.aws.amazon.com/aurora-dsql/latest/userguide/get...

    Stay Tuned

    We're sorry. The documentation you are looking for is not yet available. Please check back soon.

    -The Amazon Web Services Documentation Team
By @bradhe - 5 months
DSQL = DHTML for data?