Consistent Gets,Physical Reads和DB Block Gets的解释(转)
在Oracle的文档中有这样的解释:db block gets:Number of times a CURRENT block was requested. consistent gets:Number of times a consistent read was requested for a block. physical reads:Total number ...
关于rac中的锁简单学习
测试:在节点A上执行:select * from scott.emp for update;在节点B上执行:select * from scott.emp for update;(此时会出现等待现象)在新开会话在节点A上执行查询:select * from v$lock;SQL> select * from v...
关于oracle的相关文件及目录的解读(原)
/etc/oratab文件:该文件看其中的内容就知道是怎么回事了,此外我们可以将手动创建的数据库信息添加到该文件中,此时通过dbca就可以看到我们手动创建的数据库了# This file is used by ORACLE utilities. It i...
关于oracle的orainstRoot.sh解析(原)
该文件与oracle的oraInventory信息相关,脚本位于/u01/ora10g/oraInventory目录下:根据其中的内容不难判断该文件的用途:1、Create the software inventory location pointer file2、Create the inventory directo...
关于oracle安装时的root.sh脚本解析
The root.sh will do different things with different products and product versions. But in general:- if there are any permissions or ownerships to be changed, these are done by root.sh as not all OSs ...
oracle安装官方配置文档
A Installing the Oracle Database SoftwareThis appendix presents a summary of the procedure for installing the Oracle database software. Note that the complete installation procedure is desc...
oracle的监听问题
Microsoft Windows [版本 5.2.3790](C) 版权所有 1985-2003 Microsoft Corp.C:\Documents and Settings\user1>lsnrctlLSNRCTL for 32-bit Windows: Version 9.2.0.7.0 - Production on 27-8月 -2008 09:33:43Copy...
oracle with子句 (转)
以例子学习with:[sql] view plaincopyprint?with --查询部门和部门的总薪水 dept_costs as ( ...
关于时区的划分
时区计算的基础知识:①时区的划分:全球划分为24个时区,每个时区占经度15°,每个时区内使用相同的时刻,不同的时区有不同的时刻。全球有24个区时(标准时)。②时区的名称和分布:0°经线所在的时区(东经7.5°与西...
关于join查询的那么点纠结
测试学习了下oracle种的join的用法,结果让我倍受打击啊,简单的测试如下:SQL> select * from x; EMPNO MGR ENAME &...
orale中的grouping()、cube()、rollup()
当你与COUNT和SUM这类总计函数一起使用GROUP BY语句时,你一般得不到多级总数。GROUP BY中每个唯一的列组合生成一个总数,但这些总数不会“累加”到更高一级的总数中要实现这一点,你可以用GROUP BY ROLLUP或GROUP B...
sql语法相关子查询与非相关子查询
sql语法相关子查询与非相关子查询1:标量子查询(相对于多值子查询): 只有标量子查询返回的是单个记录或者不返回,就是有效的子查询。 Ex1:select OrderId From Orders where EmployeeId= (select E...
oracle外部表的测试学习 (转)
一、外部表的特性位于文件系统之中,按一定格式分割,如文本文件或者其他类型的表可以作为外部表。对外部表的访问可以通过SQL语句来完成,而不需要先将外部表中的数据装载进数据库中。外部数据表都是只读的,因此在...
Oracle资源管理器
Oracle资源管理器简介 Oracle资源管理器(Oracle Database Resource Manager,以下简称DBRM)管理数据库资源,为不同的会话分配不同的数据库资源。DBRM管理的资源主要包括CPU时间。下...
ORACLE FGAC(细粒度权限控制)(转)
ORACLE FGAC(细粒度权限控制)转自:http://www.itpub.net/thread-1037232-1-1.html--主要完成ORACLE fine-grained access control , 以及使用存储过程进行权限封装CONNECT system/yJdg2U1v AS sysdba--授予HR权...
oracle之FGAC(Fine Grainted Access)
Oracle's Fine Grained Access Control (FGAC) provides a row-level security mechanism that's built-in to the Oracle database engine. FGAC allows you to granularly specify the exact information elements ...
关于oracle的控制文件
在oracle10gR201中删除控制文件后,数据库仍然正常运行,如创建表空间、用户、表等没有问题。当查询v$log时却报错:SQL> select group#,status from v$log;select group#,status from v$log &nbs...
关于用户表空间配额的问题
在看ocp习题时遇到这样一个问题:SQL> create user test identified by test99 default tablespace perfstat temporary tablespace temp profile default;User created.SQL> grant create session,create table t...
关于oracle之analyze命令的官网学习小记
ANALYZEPurposeUse the ANALYZE statement to collect statistics, for example, to:Collect or delete statistics about an index or index partition, table or table partition, index-organiz...
深入理解Oracle的并行操作(转载)
并行(Parallel)和OLAP系统 并行的实现机制是:首先,Oracle会创建一个进程用于协调并行服务进程之间的信息传递,这个协调进程将需要操作的数据集(比如表的数据块)分割成很多部分,称为并行处理单元,然后并行协...