版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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学年高一上学期期末考试化学试题(含答案)
- 让与担保合同协议的实务操作
- 设备质量保证书承诺
- 设计劳务分包合同样本
- 诚信考试承诺书与保证书
- 语文大专模拟考试卷
- 调解材料采购合同
- 质量上乘的医疗耗材
- 购房合同附录收楼入住合同
- 开放性伤口护理
- 2024年信息系统项目管理师(综合知识、案例分析、论文)合卷软件资格考试(高级)试题与参考答案
- 《公司的解散与清算》课件
- 2024广西专业技术人员继续教育公需科目参考答案(97分)
- 江苏省建筑与装饰工程计价定额(2014)电子表格版
- 山东师范大学《文献学专题》期末考试复习题及参考答案
- 安全心理学智慧树知到答案章节测试2023年太原理工大学
- 最新人教版高中化学实验目录(修订版)
- 泵站自动化技术要求
- 钢筋混凝土工程施工方案(完整版)
- 锅炉检修规程(汽水系统检修)
评论
0/150
提交评论