简体   繁体   English

数据如何存储在数据库中?

[英]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 高级DBMS教程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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