- 2
- 0
- 约1.08万字
- 约 29页
- 2019-08-19 发布于江西
- 举报
数据库管理系统Database Management Systems Chapter 11 Physical Design 第11章 物理设计 Performance Issues All access to the data is routed through the DBMS. Additional layer could slow retrieval and storage. Programs cannot directly control access to the data Any access optimization must reside within the DBMS. Most common method: Index. Physical Data Storage Some database systems let the designer choose how to store data. Rows for each table. Columns within a table. The choice influences performance and storage requirements. The choice depends on the characteristics of the data being stored. Index Most database systems use an index to improve performance. Several methods can be used to store an index. An index can speed data retrieval. Maintaining many indexes on a table can significantly slow down data updates and additions. Choose indexes carefully to speed up certain large jobs. Table Operations Retrieve data Read entire table. Read next row/sequential. Read arbitrary/random row. Store data Insert a row. Delete a row. Modify a row. Reorganize/pack database Remove deleted rows. Recover unused space. Deleting Data Deletes are flagged. Space is reused if possible when new row is added. If not exactly the same size, some blank holes develop. Packing removes all deleted data and removes blanks. Data Storage Methods Sequential Fast for reading entire table. Slow for random search. Indexed Sequential (ISAM) Better for searches. Slow to build indexes. B+-Tree Similar to ISAM. Efficient at building indexes. Direct / Hashed Extremely fast searches. Slow sequential lists. Sequential Storage Common uses When large portions of the data are always used at one time. e.g., 25% When table is huge and space is expensive. When transporting / converting data to a different system. Operations on Sequential Tables Read entire table Easy and fast Sequential retrieval Easy and fast for one order. Random Read/Sequential Very weak Probability of any row = 1/N Sequential retrieval 1,000,000 rows means
您可能关注的文档
- 两位数乘两位数的估算.doc
- 两种动态古画卷轴风格动态PPT模板.ppt
- 量纲分析法建模.ppt
- 量纲分析与相似.ppt
- 量具培训教材.ppt
- 量筒校正标准操作规程.doc
- 量子化学计算中的LINUX操作系统和一些技巧.ppt
- 辽宁电力统一用户管理系统.doc
- 辽宁省地形图图例标准.doc
- 列一元二次方程解应用题的特点.doc
- 全过程工程管理造价咨询工程监理项目服务方案投标方案(技术部分).doc
- 招标代理服务投标技术服务方案(技术方案).doc
- AI大模型与AIGC技术在公安领域的应用解决方案(99页 PPT).pptx
- 工业4.0智能制造数字工厂规划方案.pptx
- 树立社会主义核心价值观.docx
- 三年(2023-2025)中考历史真题分类汇编(全国)专题21 科技文化与社会生活(解析版).docx
- 2025年中考道德与法治真题完全解读(吉林卷).pdf
- 2025年中考道德与法治真题完全解读(安徽卷).pdf
- 三年(2023-2025)中考历史真题分类汇编(全国)专题14 人民解放战争(解析版).pdf
- 三年(2023-2025)广东中考历史真题分类汇编:专题03 中国近代史(八年级上册)(解析版).docx
原创力文档

文档评论(0)