欢迎来到天天文库
浏览记录
ID:45875384
大小:328.84 KB
页数:20页
时间:2019-11-18
《使用数据库字典和动态性能视图》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、使用数据库字典和动态性能视图目标学完这个课程,你应该可以掌握你下内容:区别内置的数据库对象区别数据字典的内容和用法理解数据字典视图是如何创建的区别数据字典视图的种类查询数据字典和动态性能视图理解administrativescript命名规则内置的数据库对象Otherobjectscreatedwiththedatabase:DataDictionaryPerformancetablesPL/SQLpackagesDatabaseeventtriggersDataDictionaryCentraltoeveryOracleda
2、tabaseDescribesthedatabaseanditsobjectsContainsread-onlytablesandviewsStoredintheSYSTEMtablespaceOwnedbytheuserSYSMaintainedbytheOracleserverAccessedwithSELECTControlfilesDatafilesRedoLogfilesDatabaseDataDictionarytablesBaseTablesandDataDictionaryViewsThedatadictio
3、narycontainstwoparts:BasetablesStoresdescriptionofthedatabaseCreatedwithCREATEDATABASEDatadictionaryviewsUsedtosimplifythebasetableinformationAccessedthroughpublicsynonymsCreatedwiththecatalog.sqlscriptCreatingDataDictionaryViewsScriptPurposecatalog.sqlCreatescommon
4、lyuseddatadictionaryviewsandsynonymscatproc.sqlRunsscriptsrequiredforserver-sidePL/SQLDataDictionaryContentsThedatadictionaryprovidesinformationabout:LogicalandphysicaldatabasestructuresDefinitionsandspaceallocationsofobjectsIntegrityconstraintsUsersRolesPrivilegesA
5、uditingHowtheDataDictionaryisUsedPrimaryuses:Oracleserverusesittofindinformationabout:UsersSchemaobjectsStoragestructuresOracleservermodifiesitwhenaDDLstatementisexecuted.UsersandDBAsuseitasaread-onlyreferenceforinformationaboutthedatabase.DataDictionaryViewCategori
6、esThreesetsofstaticviewsDistinguishedbytheirscope:DBA:WhatisinalltheschemasALL:WhattheusercanaccessUSER:Whatisintheuser’sschemaUSER_xxxObjectsownedbythecurrentuserALL_xxxObjectsaccessiblebythecurrentuserDBA_xxxAlloftheobjectsinthedatabaseDataDictionaryExamplesGenera
7、lOverviewDICTIONARY,DICT_COLUMNSSchemaobjectsDBA_TABLES,DBA_INDEXES,DBA_TAB_COLUMNS,DBA_CONSTRAINTSSpaceallocationDBA_SEGMENTS,DBA_EXTENTSDatabasestructureDBA_TABLESPACES,DBA_DATA_FILESDynamicPerformanceTablesVirtualtablesRecordcurrentdatabaseactivityContinuallyupda
8、tedwhilethedatabaseisoperationalInformationisaccessedfrommemoryandcontrolfileUsedtomonitorandtunethedatabaseOwnedbySYSuserSynonymsbeginwit
此文档下载收益归作者所有