3 ms·
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 d
by nivertech 6y ago
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.
- smilliken 6y agoEven 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.
- nivertech 6y ago> 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
- zffr 6y agoWouldn'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.
- nivertech 6y agoAgree, but not every DBMS supports transactions, and even when they're supported the application code may avoid using them for various reasons.