One can achieve this to a degree by storing the data as JSON, but it would be nice to be able to remove the chance of introducing errors when converting to/from JSON.
Ask HN: What could a modern database do that PostgreSQL and MySQL can't
91–100 of 326 posts
Re: Ask HN: What could a modern database do that PostgreSQL and MySQL can't
#92Re: Ask HN: What could a modern database do that PostgreSQL and MySQL can't
#93Subscriptions. Databases like Firebase will automatically push changes to query results down to clients. You can add this to Postgres with tools like Hasura, but it's poll based and not very efficient. It's a super-useful feature for keeping UIs in sync with database state.
Re: Ask HN: What could a modern database do that PostgreSQL and MySQL can't
#94Relationships between tables, as supported by Microsoft Access.. it did cascaded deletes and things automagically. Persistent queries, where any change to the answer is propagated, like a subscription to a feed.
Re: Ask HN: What could a modern database do that PostgreSQL and MySQL can't
#95Re: Ask HN: What could a modern database do that PostgreSQL and MySQL can't
#96Re: Ask HN: What could a modern database do that PostgreSQL and MySQL can't
#97One thing PostgreSQL would likely not be able to adapt to, at least without significant effort, is dropping MVCC in favor of more traditional locking protocols. While MVCC is fashionable nowadays, and more or less every platform offers it at least as an option, my experience, and also opinions I have heard from people using SQL Server and similar platforms professionally, is that for true OLTP at least, good ol’ lock…
Re: Ask HN: What could a modern database do that PostgreSQL and MySQL can't
#98Re: Ask HN: What could a modern database do that PostgreSQL and MySQL can't
#99One thing PostgreSQL would likely not be able to adapt to, at least without significant effort, is dropping MVCC in favor of more traditional locking protocols. While MVCC is fashionable nowadays, and more or less every platform offers it at least as an option, my experience, and also opinions I have heard from people using SQL Server and similar platforms professionally, is that for true OLTP at least, good ol’ lock…
So much complexity and stress and work at the moment comes from the fear of data loss or corruption. Schema updates, migrations, backups, all the distributed computing stuff where every node has to assume every other node could have mutated the data .... And then there are countless applications full of "history" type tables to reinstate audit trails for the mutable data. It's kind of ridiculous when you think about it.
It all made sense when storage was super expensive but these days all the counter measures we have to implement to deal with mutable state are far more expensive than just using more disk space.
Re: Ask HN: What could a modern database do that PostgreSQL and MySQL can't
#100This title kind of implies that PG or MySQL aren't modern or modern enough which i think is is very wrong. Look what they bring in every update. I think they are quite modern!