ORACLE-基础四(数字字典,动态性能视图,控制文件)
来源:互联网 发布:金蝶kis软件视频教程 编辑:程序博客网 时间:2024/06/06 10:44
Other object created with the database:
Data dictionary
Performance tabes
PL/SQL packages
Database event triggers
The 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
How the DD 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 itas a read-only reference for information about the database
DP Example
V$CONTROLFILE
V$DATABASE
V$DATAFILE
V$INSTANCE
V$PARAMETER //存在内存里的信息
V$SESSION
V$SGA
V$SPPARAMETER //存在SPFILE里边的信息
V$TABLESPACE
V$THRED
V$VERSION
Control File
A small binary file
Defines current state of physical database
Maintains integrity of database
Required:
At MOUNT state during database start up
To operate the database
Linked to a single database
Loss may require recovery
Sized initially by CREATE DATABASE
The main determinants of the size of a control file are the values set for the MAXDATAFILES,MAXLOGFILES,MAXLOGMEMBERS,MAXLOGHISTORY,and MAXINSTANCES parameters in the CREATE DATABASE statement that created the associated database.Increasing the valuesof these parameter increases the size of a controlfilethe associated database.
A control file contains the following entries:
Database name and identifier
Time stamp of database creation
Tablespace names
Names and locations of data files and online redo log files
Current online redo log file sequence number
Checkpoint information
Begin and end of undo segments
Redo log archive information
Backup information
Every Oracle database should have at least two control files,each stored on a different physical disk.
add control file (use spfile)
Alter system set control_files='/u01/oradata/wilson/control01.ctl','/u01/oradata/wilson/control02.ctl' scope=spfile
shutdown immediate
cp /u01/oradata/wilson/control01.ctl /u01/oradata/wilson/control02.ctl
GetControl File Information
Information about control file status and locations and be retrieved by querying the following views
V$CONTROLFILE:lists the name and status of allcontrolfilesassociatedwiththeinstance
V$PARAMETER:Listsstatus and location all parameters
V$CONTROLFILE_RECORD_SECTION:Provides informatio about the controfile record sections
SHOW PARAMETER CONTROL_FILES:Lists the name,status, and location of the control files
- ORACLE-基础四(数字字典,动态性能视图,控制文件)
- Oracle动态性能视图与数据字典
- Oracle动态性能视图与数据字典
- Oracle常用数据字典-动态性能视图
- oracle数据字典中的动态性能视图
- Oracle 10g 数据字典和动态性能视图
- oracle 常见的数据字典和动态性能视图
- oracle数据字典和动态性能视图简要说明
- 十三、oracle 数据字典和动态性能视图
- Oracle的数据字典和动态性能视图
- 十三、oracle 数据字典和动态性能视图
- ORACLE的数据字典表和动态性能视图
- 十三、oracle 数据字典和动态性能视图
- Oracle的学习四:数据库管理员、逻辑备份与恢复、数据字典、动态性能视图、管理表空间与数据文件
- 数据字典和动态性能视图---数据字典(一)
- oracle中常用的数据字典表 与动态性能视图(不断更新)
- Oracle数据库操作大全(十一)——数据字典和动态性能视图
- Oracle学习笔记(十六)——数据字典和动态性能视图
- 控制器与导航笔记
- BZOJ 1136 POI2009 Arc 单调队列
- JavaScript的5种调用函数的方法
- Java高手真经_编程基础卷——读书笔记(9)——Java类修饰符
- 说说自己找互联网工作的经验
- ORACLE-基础四(数字字典,动态性能视图,控制文件)
- 计蒜客--第30题:合法分数的组合
- 宅急送项目的第七天笔记!(JBPM工作流)
- 定义学生类
- 2-1 简述智能卡的发展,以及射频电子标签在其中所处的位置
- 理解IP地址和端口号
- java开发总结
- 软考--数据流图
- SQLite3 数据类型