Re:Build Your Own Database
by SirFatty on Tuesday October 21, 2025 @02:22PM
(#45659563)
Definitely two.
[ Parent
| on HN ]
"Store data persistently" implies "it can be looked up" since if you cannot look it up it is impossible to know if it is stored persistently.
The "efficiently" part can be considered a separate problem though.
Well, if you just want to store data, you can use files. Lookup is a bit tedious and inefficient.
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.
Re:Build Your Own Database
by nonethewiser on Tuesday October 21, 2025 @03:38PM
(#45660636)
How about "store data in certain way." That sounds more like 1 problem and encompasses an even larger problem space.
It’s not persistent if it can’t be recovered later
Puts message in a bottle and tosses into the most convenient black hole.
Re:Build Your Own Database
by BetaDeltaAlpha on Tuesday October 21, 2025 @02:57PM
(#45660038)
Doesn't the black hole compresses the bottle beyond recovery?
Not necessarily, opinions vary.
https://www.sciencenewstoday.org/do-black-holes-destroy-or-s...