版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、7Copyright 2009, Oracle. All rights reserved.Managing Database Storage StructuresCopyright 2009, Oracle. All rights reserved.7 - 2ObjectivesAfter completing this lesson, you should be able to:Describe the storage of table row data in blocksCreate and manage tablespacesObtain tablespace informationCo
2、pyright 2009, Oracle. All rights reserved.7 - 3How Table Data Is StoredTablespaceTable ATable BSegmentSegmentRowsColumnsTableBlocksRow pieceExtentCopyright 2009, Oracle. All rights reserved.7 - 4Database Block: ContentsBlock headerFree spaceRow dataGrowthCopyright 2009, Oracle. All rights reserved.7
3、 - 5Exploring the Storage StructureClick the links to view detailed information.Copyright 2009, Oracle. All rights reserved.7 - 6Creating a New TablespaceCopyright 2009, Oracle. All rights reserved.7 - 7Creating a New TablespaceChoose the appropriate Storage TypeCopyright 2009, Oracle. All rights re
4、served.7 - 8Storage for TablespacesCopyright 2009, Oracle. All rights reserved.7 - 9Copyright 2009, Oracle. All rights reserved.7 - 10Tablespaces in the Preconfigured DatabaseUNDOTBS1USERSEXAMPLE (optional)SYSTEMSYSAUXTEMPCopyright 2009, Oracle. All rights reserved.7 - 11Copyright 2009, Oracle. All
5、rights reserved.7 - 12Altering a TablespaceCopyright 2009, Oracle. All rights reserved.7 - 13Copyright 2009, Oracle. All rights reserved.7 - 14Actions with TablespacesCopyright 2009, Oracle. All rights reserved.7 - 15Copyright 2009, Oracle. All rights reserved.7 - 16Dropping TablespacesCopyright 200
6、9, Oracle. All rights reserved.7 - 17Viewing Tablespace InformationCopyright 2009, Oracle. All rights reserved.7 - 18Viewing Tablespace ContentsCopyright 2009, Oracle. All rights reserved.7 - 19Oracle-Managed Files (OMF)Specify file operations in terms of database objects rather than file names.Para
7、meterDescriptionDB_CREATE_FILE_DESTDefines the location of the default file system directory for data files and temporary filesDB_CREATE_ONLINE_LOG_DEST_nDefines the location for redo log files and control file creationDB_RECOVERY_FILE_DEST Default location for the fast recovery areaExample: SQL ALT
8、ER SYSTEM SET DB_CREATE_FILE_DEST = +DATA; SQL CREATE TABLESPACE tbs_1;Copyright 2009, Oracle. All rights reserved.7 - 20Copyright 2009, Oracle. All rights reserved.7 - 21Enlarging the DatabaseYou can enlarge the database in the following ways:Creating a new tablespaceAdding a data file to an existi
9、ng smallfile tablespaceIncreasing the size of a data fileProviding for the dynamic growth of a data fileSYSTEM tablespaceINVENTORY tablespaceDatabaseCopyright 2009, Oracle. All rights reserved.7 - 22QuizA database can have a mixture of Oracle-managed and unmanaged files. 1.True 2.False Copyright 200
10、9, Oracle. All rights reserved.7 - 23QuizBigfile Tablespaces must have 1 file of at least 100 MB. 1.True 2.FalseCopyright 2009, Oracle. All rights reserved.7 - 24SummaryIn this lesson, you should have learned how to:Describe the storage of table row data in blocksCreate and manage tablespacesObtain tablespace informationCopyright 2009, Oracle. All rights reserved.7 - 25Practice 7 Overview:Managing Database Storag
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 包分配工作制度
- 台球房工作制度
- 2026年境外投资风险评估与管理制度
- 人事部工作制度
- 严打工作制度
- 初三工作制度
- 厂服工作制度
- 养身馆工作制度
- 南方工作制度
- 加油站工作制度
- 2025年南浔银行招聘考试题库
- DB32∕T 4304-2022 高速公路经营管理安全生产隐患排查治理规程
- 2025年重庆市初中学业水平考试中考(会考)生物试卷(真题+答案)
- 项目施工奖惩管理办法
- 隧道爆破安全培训课件
- 喝酒划拳活动方案
- 日语数字考试题目及答案
- CJ/T 83-2016水处理用斜管
- T/CI 467-2024复合集流体(铜箔)
- 《赤壁之战》课本剧剧本:感受三国英雄的壮志豪情
- 《平顶山平煤神马集团公司成本管理现状、问题及完善对策》7100字
评论
0/150
提交评论