Redo Block Size
Although the size of redo entries ismeasured in bytes, LGWR writes the redo to the log files on disk in blocks. Thesize of redo log blocks is fixed in the Oracle source code and is operatingsystem ...
Redo Write Triggers
There are fourconditions that cause LGWR to perform. a redo write. When LGWR is idle, it sleeps on an rdbms ipc message wait with a timeout of 3 seconds (as does DBWn). If...
从问题看操作系统认证和密码文件认证
今天首先发现sys用户使用什么密码都可以登录SQL> conn sys/sys as sysdba已连接。SQL> conn sys/oracle as sysdba已连接。SQL> conn sys/dfdfsfdsf as sysdba已连接。 原因就是使用了操作系统认证Oper...
Oracle的事务隔离级别
Oracle的事务隔离级别大概搞清楚了,说明还是要多翻翻Concepts IsolationDescriptionDescription(Chinese)Read committedThis is the default transaction isolation level. Each query executed by a...
Connecting with Administrative Privileges
Administrators Guide上有很多很好的实验,我会陆续的实验SQL> connect nba/nba@game已连接。SQL> create table admin_test(name varchar2(20)); 表已创建。 SQL> connect nba/nba@game as sys...
select…for update nowait
nowait的含义很多人都会误解为“不用等待,立即执行”。但实际上该关键字的含义是“不用等待,立即返回”如果当前请求的资源被其他会话锁定时,会发生阻塞,nowait可以避免这一阻塞,因为If another user is in th...
Connection & Session
连接(Connection)物理路径会话(Session)实例中存在的一个逻辑实体。结论:一个连接可以建立0个或1个或多个会话一个会话中的提交不会影响同一条连接上的其他会话。每个会话可能使用不同的帐户会话可能...
dba_data_files & dba_free_space
dba_data_filesColumnDatatypeNULLDescriptionFILE_NAMEVARCHAR2(513) Name of the database file ---数据文件名称FILE_IDNUMBERNOT NULLFile identifier number of t...
SORT_AREA_SIZE & SORT_AREA_RETAINED_SIZE
SORT_AREA_SIZESORT_AREA_SIZE specifies (in bytes) the maximum amount of memory Oracle will use for a sort. After the sort is complete, but before the rows are returned, Oracle releases all of the...
Note-Oracle Architectural Component
今天看了教学录像的第一部分,虽然都是比较基础的概念,但还是有很多的收获,我记录实验的部分和比较关注的点:SQL> show sga –显示sga的相关信息 &n...
Oracle存储的层次结构
从expert one-on-one oracle中节选的In summary, the hierarchy of storage in Oracle is as follows:1. A database is made up of one or more tablespaces.---- 一个数据库是由一个或者多个表空间...
PCTFREE 和 PCTUSED
看Concepts不是太理解这两个设置的含义,感觉图不是太容易理解看完expert one-on-one oracle就比较明白了,顶礼膜拜Thomas ing...Concepts中有助于理解的部分:In a newly allocated data block, the sp...
从0开始--可能会更新
net start oracleservice<sid>lsnrctl startconnect user/pass@sidlsnrctl stopnet stop oracleservice<sid>
高水标记的实验
oracle需要实验,对问题也理解的比较透彻高水标记:曾经包含数据的最右边的块。概念最关键的是曾经:数据插入时,高数标记会升高;但数据被删除时,有很多块可能不包含数据,但是仍然在高水标记以下。全扫描期间...