OCP exam notes(2)
来源:互联网 发布:linux扩大home空间 编辑:程序博客网 时间:2024/05/16 06:47
1. Database Initialization Parameter
- Parameter ---- basic / advance
- Hidden parameter
2. Initialization Parameter File
SPFILE ( continuously read and update ) ---- V$SPPARAMETER ---- shows the values stored in the spfile on disk
PFILE ( only read once at instance startup ) ---- V$PARAMETER( isbasic='TURE' ) ---- shows the parameter values currently in effect in the running instance
*****Special Parameter: OPTIMIZER_MODE ----values--- ALL_ROWS: complete ASAP
--- FIRST_ROWS: feedback to user ASAP
3. Database startup and shutdown
Normal order : Database control ---> Database listener ---> Database
|
The configuration of Database Control is done at database creation time: the hostname, the TCP port ( https://hostname:port/em )
Normal stages: nomount --------> mount ----------> open
(spfile/pfile) (controlfile) (datafiles&redo logs)
The syntax of CONNECT:
- The default of data dictionary authentication: sqlplus user/pwd[@connect_alias]
- The password file authentication: sqlplus user/pwd[@connect_alias] as sysdba
- The operation system authentication: sqlplus / as sysdba
****tip: SYSDBA and SYSAUX are not users but privileges
The order oracle database find the spfile when instance startup: spfileSID.ora ---- spfile.ora ---- initSID.ora
Shutdown options:
- normal --- no new user, all current connections are allowed to continue.
- transactional --- no new user, sessions currently involved in transaction are allowed to complete.
- immediate --- no new session, all currently connected sessions are terminated.
- abort --- equivalent of a power failure.
4. Oracle network
Graphical tools to Manage Oracle Net : Enterprise Manager ( Database Control or Grid Control ), the Net Manager, the Net Configuration Assistant
Database Registration: static and dynamic
dynamic : preferred method, PMON process will use "local_listener" parameter to locate a listener. (register should after the listener start )
Three critical files involved in configuration Oracle Net:
- listener.ora --- server-side file
- tnsnames.ora --- client-side file
- sqlnet.ora --- server-side, client-side or both,It contains settings that apply to all connections and listeners, such as security rules and encryption.
5. Oracle Share Server Architecture ( PGA uses share memory )
user process- dispatcher | |response queue --- user process
user process- dispatcher | --- common queue --- share server processes --- parse-bind-execute --- |response queue --- user process
user process- dispatcher | |response queue --- user process
User global area ( UGA ) in large pool of SGA is used to stores most of the session data
Two parameters for share server configuration : dispatchers & shared_servers
Share Server save memory space but will reduce performance ( take longer time and use more CPU ).
- OCP exam notes(2)
- OCP exam notes
- ocp exam 150-end
- ocp exam c 120-150
- ORACLE OCP Exam OCP 考试说明
- CISSP Learning Notes (1) Information of Exam
- ocp 053 exam c 1-30
- OCP 053 exam c 30-60
- ocp 053 exam c 60-90
- ocp 053 exam c 90-120
- OracleDatabase-10g-OCP Certification AIO - Exam Guide
- OCP Oracle Database 11g Administration II Exam Guide: Exam 1Z0-053
- Java exam(2)
- hdoj--5240--Exam()
- HDOJ5240(sort)(Exam)
- exam
- Exam
- OCP 论证书籍 -- ORACLE DATABASE 10G OCP Certification All-in - One Exam Guide
- SQL Server 分页查询通用存储过程
- mvc4 操作cookie
- LeetCode Valid Number
- java Quartz定时任务实现
- 图说设计模式——观察者模式
- OCP exam notes(2)
- 开源版Resin4服务器的集群部署
- 今天同学发了一个说说,我用代码帮他解决了
- jQuery HTML
- Spring jpa data多条件分页查询
- Cocos2dx3.2rc+cocosstudio学习日记(2)
- ASIHttpRequest详解
- 使用Spring框架的12个开源项目
- ArcGIS 坐标系统文件