top | item 45659411

(no title)

dayjaby | 4 months ago

Store data persistently so it can be looked up efficiently* sounds like a single problem.

discuss

order

SirFatty|4 months ago

Definitely two.

SahAssar|4 months ago

"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.

prerok|4 months ago

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.

nonethewiser|4 months ago

How about "store data in certain way." That sounds more like 1 problem and encompasses an even larger problem space.

cjbgkagh|4 months ago

It’s not persistent if it can’t be recovered later