News for hackers. Stuff that matters.
Re:NoSQL Data Modeling Techniques (2012) by nivertech on Saturday April 10, 2021 @09:34AM (#26761388)
The most important problem that DBMSes are solving is how not to lose data in case of a power outage.

If your computer using non-volatile memory (NVRAM) then database is just a data structure.

The secondary problem is how to organize and manage the data, but that is highly dependent on the workloads in question.

Re:NoSQL Data Modeling Techniques (2012) by smilliken on Saturday April 10, 2021 @12:53PM (#26762894)
Even with NVRAM, you still want to use an append-only log instead of mutable data structures in order to support streaming replication, incremental backup, concurrent writes, and triggers.
Re:NoSQL Data Modeling Techniques (2012) by nivertech on Saturday April 10, 2021 @04:00PM (#26764584)
> Even with NVRAM, you still want to use an append-only log instead of mutable data structures

Nothing preventing you from implementing AOL in NVRAM

> to support streaming replication, incremental backup, concurrent writes, and triggers

All distributed systems stuff equally applies to both in-memory and persistent data structures

Re:NoSQL Data Modeling Techniques (2012) by zffr on Saturday April 10, 2021 @02:48PM (#26763941)
Wouldn't NVRAM only give you durability (D in ACID)?

I think it might be too reductionist to say a database on NVRAM is just a data structure. Even with NVRAM you still need to maintain atomicity, consistency and isolation.

Re:NoSQL Data Modeling Techniques (2012) by nivertech on Saturday April 10, 2021 @04:07PM (#26764660)
Agree, but not every DBMS supports transactions, and even when they're supported the application code may avoid using them for various reasons.