文本瑞通过o培训_第1页
文本瑞通过o培训_第2页
文本瑞通过o培训_第3页
文本瑞通过o培训_第4页
文本瑞通过o培训_第5页
已阅读5页,还剩21页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论