>
> "How do we store data persistently and then efficiently look it up later?"
Isn't that two problems?
>
> "How do we store data persistently and then efficiently look it up later?"
Isn't that two problems?
I guess there is a rather fine line between philosophy and pedantry.
Maybe we can think about it from another angle. If they are 2 problems databases were designed to solve, then that means this is a problem databases were designed to solve: storing data persistently.
Is that really a problem database were designed to solve? Not really. We had that long before databases. It was already solved. It's a pretty fundamental computer operation. Isn't it fair to say this is one thing? "Storing data so it can be retrieved efficiently."
Efficiency of storage or retrieval, reliability against loss or corruption, security against unwanted disclosure or modification are all common concerns, and the relative values assigned to these features and others motivate database design.
reconstructing past memory states is rarely, if ever, a requirement that needs to be accommodated in the database layer
In another context perhaps you're ingesting data to be used in analytics. Which seems to fit the "reconstruct past memory stat" less.
Good times.
How, in ACID way, store data that will be efficiently look it up later by a unknown number of clients and unknown access patterns, concurrently, without blocking all the participants, in a fast way?
And then add SQL (ouch!)
The "efficiently" part can be considered a separate problem though.
So, if we consider that persistent storage is a solved problem, then we can say that the reason for databases was how to look up data efficiently. In fact, that is why they were invented, even if persistent storage is a prerequisite.
https://www.sciencenewstoday.org/do-black-holes-destroy-or-s...
> Isn't that two problems?
Only if you're creating a write-only database, in which case just write it to /dev/null.
No, that would be regexes.