文档详情

吉林大学大型数据库设计与实现dba-05.ppt

发布:2025-06-08约3.09千字共16页下载文档
文本预览下载声明

DataDictionaryContentsandUsage

ObjectivesAftercompletingthislesson,youshouldbeabletodothefollowing:IdentifykeydatadictionarycomponentsIdentifythecontentsandusesofthedatadictionaryQuerythedatadictionary

ControlfilesDatafilesRedologfilesDatabaseDataDictionaryDuringdatabasecreation,theOracleservercreatesadditionalobjectstructureswithinthedatafiles.DatadictionarytablesDynamicperformancetablesDataDictionaryTablesDynamicPerformanceTables

DataDictionaryThedatadictionaryisasetofread-onlytablesandviewsthatrecord,verify,andprovideinformationaboutitsassociateddatabase.DescribesthedatabaseanditsobjectsIncludestwotypesofobjects:BasetablesStoredescriptionofdatabaseCreatedwithCREATEDATABASEDataDictionaryviewsSummarizebasetableinformationCreatedusingcatalog.sqlscript

DataDictionaryContentsThedatadictionaryprovidesinformationabout:LogicalandphysicaldatabasestructureDefinitionsandspaceallocationsofobjectsIntegrityconstraintsUsersRolesPrivilegesAuditing

HowtheDataDictionaryIsUsedThedatadictionaryhasthreeprimaryuses:TheOracleserverusesittofindinformationabout:UsersSchemaobjectsStoragestructuresTheOracleservermodifiesitwhenaDDLstatementisexecuted.UsersandDBAscanuseitasaread-onlyreferenceforinformationaboutthedatabase.

DataDictionaryViewCategoriesThedatadictionaryconsistsofthreemainsetsofstaticviewsdistinguishedfromeachotherbytheirscope:DBA:WhatisinalltheschemasALL:WhattheusercanaccessUSER:WhatisintheusersschemaDBA_xxxUSER_xxxALL_xxxObjectsownedbythecurrentuserObjectsaccessiblebythecurrentuserAlloftheobjectsinthedatabase

FullNotesPageforPractices

DynamicPerformanceTablesDynamicperformanceviewsrecordcurrentdatabaseactivity.ViewsarecontinuallyupdatedwhilethedatabaseisoperationalInformationisaccessedfrom:MemoryControlfileDBAusesdynamicviews

显示全部
相似文档