




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、使用数据库字典和动态性能视图,目标,学完这个课程,你应该可以掌握你下内容: 区别内置的数据库对象 区别数据字典的内容和用法 理解数据字典视图是如何创建的 区别数据字典视图的种类 查询数据字典和动态性能视图 理解administrative script 命名规则,内置的数据库对象,Other objects created with the database: Data Dictionary Performance tables PL/SQL packages Database event triggers,Data Dictionary,Central to every Oracle dat
2、abase Describes the database and its objects Contains read-only tables and views Stored in the SYSTEM tablespace Owned by the user SYS Maintained by the Oracle server Accessed with SELECT,Control files,Data files,Redo Log files,Database,Data Dictionarytables,Base Tables and Data Dictionary Views,The
3、 data dictionary contains two parts: Base tables Stores description of the database Created with CREATE DATABASE Data dictionary views Used to simplify the base table information Accessed through public synonyms Created with the catalog.sql script,Creating Data Dictionary Views,ScriptPurpose catalog
4、.sql Creates commonly used data dictionaryviews and synonyms catproc.sqlRuns scripts required for server-sidePL/SQL,Data Dictionary Contents,The data dictionary provides information about: Logical and physical database structures Definitions and space allocations of objects Integrity constraints Use
5、rs Roles Privileges Auditing,How the Data Dictionary is Used,Primary uses: Oracle server uses it to find information about: Users Schema objects Storage structures Oracle server modifies it when a DDL statement is executed. Users and DBAs use it as a read-only reference for information about the dat
6、abase.,Data Dictionary View Categories,Three sets of static views Distinguished by their scope: DBA: What is in all the schemas ALL: What the user can access USER: What is in the users schema,USER_xxx Objects owned by the current user,ALL_xxx Objects accessible by the current user,DBA_xxx All of the
7、 objects in the database,Data Dictionary Examples,General Overview DICTIONARY, DICT_COLUMNS Schema objects DBA_TABLES, DBA_INDEXES, DBA_TAB_COLUMNS, DBA_CONSTRAINTS Space allocation DBA_SEGMENTS, DBA_EXTENTS Database structure DBA_TABLESPACES, DBA_DATA_FILES,Dynamic Performance Tables,Virtual tables
8、 Record current database activity Continually updated while the database is operational Information is accessed from memory and control file Used to monitor and tune the database Owned by SYS user Synonyms begin with V$ Listed in V$FIXED_TABLE,Dynamic Performance Table Examples,V$CONTROLFILE V$DATAB
9、ASE V$DATAFILE V$INSTANCE V$PARAMETER V$SESSION V$SGA $SPPARAMETER V$TABLESPACE V$THREAD V$VERSION,Administrative Scripts Naming Conventions,Summary,In this lesson, you should have learned how to: Identify built-in database objects Identify the contents and uses of the data dictionary Understand how data dictionary views are created Identify data dictionary view categories Query the data dictionary and dynamic performance views Understand administrative script naming convention
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 西北政法大学《水生生物分子生物学》2023-2024学年第二学期期末试卷
- 吉林航空职业技术学院《药物研究仪器操作及分析》2023-2024学年第一学期期末试卷
- 揭阳职业技术学院《美术鉴赏与审美》2023-2024学年第二学期期末试卷
- 口腔诊所聘用劳动合同
- 承租电梯房屋合同
- 金融借款合同及分析
- 工程转让合同协议
- 二手房买卖居间合同
- 基础打桩工程泥浆外运承包合同
- 全新采购合同的管理制度
- 河南省南阳市新未来联考2024-2025学年高一下学期4月期中物理试题(含解析)
- 2025年医保政策考试:医保患者权益保障知识竞赛试题库
- 借用品牌合同范本
- 2025年江苏省期无锡市天一实验校初三5月模拟英语试题含答案
- 喷洒除草剂安全协议书(2篇)
- 基础染发培训课件
- 2025年法律职业资格考试民法专项练习卷:民法法条理解与应用题库:婚姻家庭法
- 2025年4月自考00015英语二(13000英语专升本)押题及答案
- LTE-V2X系统性能要求及测试规范
- 2025年北森题库测试题及答案
- 中国大唐集团有限公司陆上风电工程标杆造价指标(2023年)
评论
0/150
提交评论