News for hackers. Stuff that matters.
Re:Build Your Own Database by SirFatty on Tuesday October 21, 2025 @02:22PM (#45659563)
Definitely two.
Re:Build Your Own Database by SahAssar on Tuesday October 21, 2025 @02:37PM (#45659775)
"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.

Re:Build Your Own Database by prerok on Tuesday October 21, 2025 @03:14PM (#45660293)
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.
Re:Build Your Own Database by cjbgkagh on Tuesday October 21, 2025 @02:23PM (#45659582)
It’s not persistent if it can’t be recovered later
Re:Build Your Own Database by stvltvs on Tuesday October 21, 2025 @02:45PM (#45659902)
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?
Re:Build Your Own Database by stvltvs on Tuesday October 21, 2025 @04:04PM (#45660975)