For faster navigation, this Iframe is preloading the Wikiwand page for 块 (数据存储).

块 (数据存储)

电脑技术中(特别是数据传输和数据存储),是一段标准长度(块大小)的字节位元。数据块是数据库管理储存的最小单元。是构成数据库区间的单位。在处理电脑程序产生的数据流时,块化数据可以简化处理过程。一般情况下,一次会读取一个完整的块。向9轨磁带、旋转介质如软碟硬盘光碟和NAND闪存存储数据时,块化数据几乎是唯一的选择。

大多数文件系统都是基于块装置,即存取规定数据块的硬件抽象层。有时文件系统中的块大小可能是物理块大小的几倍。传统文件系统中,单个块可能只包含单个文件的一部分。但由于文件长度通常不是块大小的整数倍,这样文件的最后一块不会完全填满,由此产生的内部碎片会导致空间利用率不高。因此会有松散空间(slack space),平均每个文件半块。一些较新的文件系统会用子块分配和尾部合并技术解决它。

块存储经常由文件系统或数据库管理系统(DBMS)抽象出来,提供给应用程式或最终用户使用。物理或逻辑卷可以通过块I/O访问,背后可能是通过SCSI光纤通道直接连接伺服器的内部装置,或通过iSCSIAoE等协议访问存储区域网络(SAN)的远程装置。数据库管理系统通常使用自己的块I/O,以在DBMS的文件系统之上提高性能和可恢复性。

在虚拟主机上

现今有的虚拟主机厂商(如:DigitalOcean、Vultr)都提供了“块存储(Block Storage)”的功能,

这项功能可以让你随时新增一个存储空间(这个空间就像是单纯的硬盘,没有任何附加指令),并且最终和你的虚拟主机挂载。

参见

外部链接

{{bottomLinkPreText}} {{bottomLinkText}}
块 (数据存储)
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?