大型数据库系统分析与设计:Less05_Storage

上传人:博****1 文档编号:575334407 上传时间:2024-08-18 格式:PPT 页数:26 大小:361.50KB
返回 下载 相关 举报
大型数据库系统分析与设计:Less05_Storage_第1页
第1页 / 共26页
大型数据库系统分析与设计:Less05_Storage_第2页
第2页 / 共26页
大型数据库系统分析与设计:Less05_Storage_第3页
第3页 / 共26页
大型数据库系统分析与设计:Less05_Storage_第4页
第4页 / 共26页
大型数据库系统分析与设计:Less05_Storage_第5页
第5页 / 共26页
点击查看更多>>
资源描述

《大型数据库系统分析与设计:Less05_Storage》由会员分享,可在线阅读,更多相关《大型数据库系统分析与设计:Less05_Storage(26页珍藏版)》请在金锄头文库上搜索。

1、5Copyright 2005, Oracle. All rights reserved.Managing Database Storage Structures5-2Copyright 2005, Oracle. All rights reserved.ObjectivesAfter completing this lesson, you should be able to do the following:Describe how table row data is stored in blocksDefine the purpose of tablespaces and data fil

2、esCreate and manage tablespacesObtain tablespace informationDescribe the main concepts and functionality of Automatic Storage Management (ASM)5-3Copyright 2005, Oracle. All rights reserved.Storage StructuresDatabaseTablespaceSegmentExtentOracle datablockLogicalPhysicalOSblockOS file5-4Copyright 2005

3、, Oracle. All rights reserved.How Table Data Is StoredTablespaceTable ATable BSegmentSegmentRowsColumnsTableBlocksRow pieceExtent5-5Copyright 2005, Oracle. All rights reserved.Anatomy of a Database BlockBlock headerFree spaceRow dataGrowth5-6Copyright 2005, Oracle. All rights reserved.Tablespaces an

4、d Data FilesThe Oracle database stores data logically in tablespaces and physically in data files.Tablespaces:Can belong to only one databaseConsist of one or more data filesAre further divided into logical units of storageData files:Can belong to only onetablespace and one databaseAre a repository

5、for schema object dataDatabaseTablespaceData files5-7Copyright 2005, Oracle. All rights reserved.Space Management in TablespacesLocally managed tablespace:Free extents are managed in the tablespace.A bitmap is used to record free extents.Each bit corresponds to a block or group of blocks.The bit val

6、ue indicates free or used extents.The use of locally managed tablespaces is recommended.Dictionary-managed tablespace:Free extents are managed by the data dictionary.Appropriate tables are updated when extents are allocated or unallocated.These tablespaces are supported only for backward compatibili

7、ty.5-8Copyright 2005, Oracle. All rights reserved.Creating a New Tablespace5-10Copyright 2005, Oracle. All rights reserved.Storage for Locally Managed Tablespaces5-12Copyright 2005, Oracle. All rights reserved.Tablespaces in the Preconfigured DatabaseSYSTEMSYSAUXTEMPUNDOTBS1USERSEXAMPLE5-14Copyright

8、 2005, Oracle. All rights reserved.Altering a Tablespace5-17Copyright 2005, Oracle. All rights reserved.Actions with Tablespaces5-19Copyright 2005, Oracle. All rights reserved.Dropping Tablespaces5-20Copyright 2005, Oracle. All rights reserved.Viewing Tablespace Information5-21Copyright 2005, Oracle

9、. All rights reserved.Where We AreUsing tablespaces to separate dataCreating various types of tablespacesManaging tablespacesObtaining tablespace informationDescribe the main concepts and functionality of Automatic Storage Management (ASM)5-22Copyright 2005, Oracle. All rights reserved.What Is Autom

10、atic Storage Management?Is a portable and high-performancecluster file systemManages Oracle database filesSpreads data across disksto balance loadMirrors dataSolves many storage management challengesASMFilesystemVolumemanagerApplicationDatabaseOperating system5-23Copyright 2005, Oracle. All rights r

11、eserved.ASM: Key Features and BenefitsStripes files, but not logical volumesProvides online disk reconfiguration and dynamic rebalancingAllows for adjustable rebalancing speedProvides redundancy on a per-file basisSupports only Oracle database filesIs cluster awareIs automatically installed5-24Copyr

12、ight 2005, Oracle. All rights reserved.ASM: ConceptsDatabaseTablespaceSegmentExtentOracle datablockData filePhysicalblockASM diskASM fileAllocation unitFile systemfileorRaw deviceASMdisk group5-25Copyright 2005, Oracle. All rights reserved.SummaryIn this lesson, you should have learned how to:Descri

13、be how table row data is stored in blocksDefine the purpose of tablespaces and data filesCreate and manage tablespacesObtain tablespace informationDescribe the main concepts and functionality of ASM, such as:Disk mirroringDynamic rebalancingASM disk groups5-26Copyright 2005, Oracle. All rights reserved.Practice Overview:Managing Database Storage StructuresThis practice covers the following topics:Creating tablespacesGathering information about tablespaces

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 高等教育 > 研究生课件

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号