Someone told me that if you want to understand any technology, then you definitely need to understand its past.
Every technology starts from near zero. Over time, it improves and gets better and better because developers and creators encounter problems, discover limitations, and try different approaches to solve them.
This gives us knowledge of what problems existed, how they were solved, and how the technology improved.
And the same improvements happened in databases.
Because...
It all started with storing data in files.
In the early days of computers, text files and JSON files were used to store data. It was simple, but it had limitations like searching, updating, relationships, and recovery.
Then we moved to hierarchical and network databases.
In DSA, you practice some questions related to trees, where you have parent-child relationships. Hierarchical databases have the same concept as trees.…