简体   繁体   中英

How is data stored in a database?

In my course we've learnt about different database models - how data is stored theoretically with trees, etc. my question is more practical: I want to know how the data is stored into the storage. Are there algorithms that distribute the data to the 'hard drive'? So in big databases is the data spread randomly to the storage or will the drives be filled like step-by-step until they're full, before the next one gets data to save?

Storing data in a database is not a major problem. Instead, the problems lies in viewing or manipulating the stored data. For example how frequently one wants to access the data, when do you want to access data, which data you want to access etc. questions to be answered. If you are sure about your data manipulation detail, then you can design tables accordingly and choose appropriate techniques to manipulate the data. You can refer any books on database management systems.

Advanced DBMS Tutorials

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM