Chapter11StorageandFileStructure.ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Chapter11StorageandFileStructure.ppt

Chapter 11: Storage and File Structure Chapter 11: Storage and File Structure Overview of Physical Storage Media Storage Access File Organization Organization of Records in Files Data-Dictionary Storage Overview of Physical Storage Media 物理存储介质 Magnetic Disks 磁盘 RAID 磁盘阵列 Tertiary Storage 第三存储 Storage Access 存取 ** File Organization 文件结构 ** Organization of Records in Files 记录结构 ** Data-Dictionary Storage 数据字典 ** Storage Structures for Object-Oriented Databases Classification of Physical Storage Media Speed with which data can be accessed Cost per unit of data Reliability data loss on power failure or system crash physical failure of the storage device Can differentiate storage into: volatile storage: loses contents when power is switched off 易逝,挥发 RAM non-volatile storage: Contents persist even when power is switched off. Includes secondary and tertiary storage, as well as batter-backed up main-memory. 磁盘,光盘,磁带,闪存 Physical Storage Media Cache – fastest and most costly form of storage; volatile; managed by the computer system hardware. 快, 易逝, 硬件 Physical Storage Media Main memory: 主存储 fast access (10s to 100s of nanoseconds; 1 nanosecond = 10–9 seconds) 10纳秒 generally too small (or too expensive) to store the entire database 不能存整个DB capacities of up to a few Gigabytes widely used currently Capacities have gone up and per-byte costs have decreased steadily and rapidly (roughly factor of 2 every 2 to 3 years) Volatile — contents of main memory are usually lost if a power failure or system crash occurs.易逝, Physical Storage Media (Cont.) Flash memory 闪存 Data survives power failure 非易逝 Data can be written at a location only once, but location can be erased and written to again 可重写 有限次读写 目前质量: 1-10万次,够用了 Reads are roughly as fast as main memory 读快 写稍微慢 贵, 用于嵌入式设备,数字相机 MP3 also known as EEPROM (Electrically Erasable Programmable Read-Only Memory) Physical Storage Media (Cont.) Magnetic-disk 磁盘 P

文档评论(0)

381697660 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档