Live data from Hacker News

Amazon Aurora DSQL

aws.amazon.com

91–100 of 146 posts

Re: Amazon Aurora DSQL

#91
post #31

Earlier quoted context omitted.

It's Postgres compatible, so not exactly non-portable

Cough, not exactly: https://docs.aws.amazon.com/aurora-dsql/latest/userguide/wor...

Why would this product having a subset of postgresql features make it less portable? If anything, that makes it more portable

Re: Amazon Aurora DSQL

#92
post #76

Earlier quoted context omitted.

"like this" meaning you want wire PG compatibility, so you'd do something like this? UPDATE kv SET value = 'alpha' WHERE key = 'beta.charlie'; UPDATE s3 SET value = $b64$good luck$b64$ WHERE key = '/some/s3/path'; LISTEN whatever;

I don't know what I want exactly but I'm thinking along the lines that SQL is already doing a lot so it would make the most sense to start with a database interface and augment from there, to try to build a system to handle all the common forms of durable storage used by applications. The type of situation I'm thinking about is for example storing a blob in S3, storing metadata and a reference to the blob's path in a…

I was just trying to get a sense for where the line of demarcation was in your mind. PG has "foreign data wrappers"[1] that allow one to treat external ... whatever ... as if it were a table or procedure within PG. Just stupid powerful, IMHO. It is FDW-specific whether "transaction" means anything to the foreign system, so that may break your mental model but could still get you very close (e.g. BEGIN; UPDATE s3 SET ...; ROLLBACK; may not do anything sensible)

https://github.com/turbot/steampipe#steampipe-plugins and https://steampipe.io/docs/steampipe_postgres/overview may be relevant, although watch out for Steampipe's license

https://github.com/topics/foreign-data-wrapper and https://github.com/topics/fdw are some other examples

1: https://www.postgresql.org/docs/17/fdwhandler.html (although strictly speaking that page is for _authoring_ FDW, not a tl;dr of the concept)

Re: Amazon Aurora DSQL

#93

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...

AWS tends to prioritize performance and scalability over functionality, which is reflected in the design of DynamoDB, SimpleDB, and now DSQL. I'm also not a big fan of this style. It doesn't give customers the flexibility to choose their own trade-offs like Spanner does and assumes that customers can't make these kinds of decisions on their own.

Oh yeah nowadays AWS believes more choices more footguns

Re: Amazon Aurora DSQL

#94
post #34

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...

So it’s basically a CQL/Cassandra alternative. It’s interesting there’s also no comparison page to Cassandra or Amazon Keyspaces.

I also now don’t get why they are emphasizing PostgreSQL here when they should be emphasizing CQL compatibility. Being compatible with Postgres wire protocol but not being relational is strange.

Re: Amazon Aurora DSQL

#95
post #34

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...

https://docs.aws.amazon.com/aurora-dsql/latest/userguide/CHA... The quotas page is always the most interesting for any aws service. 10Mb transaction size and 5min transaction duration limits are interesting limitations that kill any "everything lives in the db" notions that one might have. A fully transactional, scalable, distributed data store + queue + db + data stream with triggers is my endgame Also, the 128mb li…

Do you really need transaction on analytic queries though? What are the use case for such transactions

Re: Amazon Aurora DSQL

#97
post #34

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...

> No foreign key constraints Wat?

You say this as though the kind of people interested in a serverless distributed SQL product know what FK Constraints are, let alone have interest in using them.

Re: Amazon Aurora DSQL

#99

Earlier quoted context omitted.

https://docs.aws.amazon.com/aurora-dsql/latest/userguide/CHA... The quotas page is always the most interesting for any aws service. 10Mb transaction size and 5min transaction duration limits are interesting limitations that kill any "everything lives in the db" notions that one might have. A fully transactional, scalable, distributed data store + queue + db + data stream with triggers is my endgame Also, the 128mb li…

Do you really need transaction on analytic queries though? What are the use case for such transactions

The limit is for query operations, not just transactions.

Re: Amazon Aurora DSQL

#100

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-…

Reeks of AI generation
Post reply on HN