RMAN连接与oracle连接模式的关系
RMAN连接与oracle连接模式的关系 总结:1、 RMAN远程连接只能用于专有服务器连接2、 RMAN本地连接数据库,可以不使用口令文件与TNSNAMES.ORA文件 实验(一)tnsnames...
Oracle 优化之SQL(index skip scan使用条件)
高效的SQL(index skip scan使用条件) Index Skip ScanIndex skip scans improve index scans by nonprefix columns. Often, scanning index blocks is faster than scanning table data blocks.Skip scan...
Oracle 优化之SQL【Composite Indexes(最佳前导列的选择)】
Composite Indexes(最佳前导列的选择) 一、前导列是否有序对composite indexes的影响大 1、创建表t1(x,y) x有序列,y随意列doudou@TEST> begin 2 for i in 1.. 1000000 loop&n...
Oracle 优化之SQL优化(二)(联合索引的使用)
SQL优化(二)(联合索引的使用)问题11、从AWR中发现一条SQL性能较差,这条简单的SQL返回值仅仅一行缺消耗7000+cost觉不能忍受,决定优化!SQL> select count(*) from user_doudou where aclass=‘10001’ and e...
Oracle 优化之SQL(index values与index column values关系?)
'596849' reverse key index is? (转载asktom) 本文小实验来源ASKTOM网站,感谢http://asktom.oracle.com doudou@TEST>create table t (x number, y varchar2(10));doudou@TEST>insert into t val...
Oracle 运维之开发 电话区号去前面的0方法
电话区号去前面的0、varchar2转换成number并比较(to_number注意事项)
由Rdba发现 block地址(使用dbms_utility)
由Rdba发现 block地址(使用dbms_utility) 本文转载(eygle)http://www.eygle.com/archives/2006/09/how_to_use_dbms_utility.html 一、问题Start dump data blocks tsn: 9 file#: 6 minblk 20 maxb...
Oracle 优化之SQL( clustering factor减少COST)
高效的SQL( clustering factor减少COST) 1、创建样表cluster_factor(x有序列,y随意列);实验表cluster01(low)、cluster02(high)doudou@TEST> create table cluster_factor(x int, y int);Tabl...
OracleEXP-00056: ORACLE error 932 encountered(ORA-00932)
1、问题?EXP-00056: ORACLE error 932 encounteredORA-00932: inconsistent datatypes: expected BLOB, CLOB got CHAREXP-00056: ORACLE error 932 encounteredORA-00932: inconsistent datatypes: expected BLOB,...
Oracle 优化之SQL(Index unique scan最优化)
高效的SQL(Indexunique scan最优化) 1、 实验表test 唯一约束ID,test1 主键 ID 。(唯一约束与主键会自动创建索引)。另外建立一张没有约束的表test2与test1数据相同,但是没有主...
Oracle 优化之SQL(index range scan优化排序)
高效的SQL(index range scan优化排序) 一、 实验表表的结构、内容、索引(Data is returned in the ascending order of index columns. Multiple rows with identical values are ...
Oracle 优化之SQL Fast full index scan 浅析
Fast full index scan 浅析 Fast Full Index ScanA fast full index scan is a full index scan in which the database accesses the data in the index itself without accessing the table, and the datab...
Oracle 10g DG PROTECTION_MODE is UNPROTECTED at standby database
PROTECTION_MODE is UNPROTECTED at standby database 分析 数据库版本SQL> select * from v$version; BANNER----------------------------------------------------------------------------------...
Oracle expdp ORA-31626: job does not exist 解决方案
expdp ORA-31626: job does not exist 解决方案 1、问题[oracle@oracle-T ~]$ expdp doudou/oracle@test directory=dump dumpfile=doudou.dmp schemas=doudou Export: Release 1...
Flashback database与flashback table使用条件区别
Flashback database与flashback table使用条件区别 FLASHBACK DATABASERequirements for Enabling Flashback database一、应用环境1、数据库必须是archivelog模式,因为flashback database是使用的archived...
Oracle 优化之SQL(隐式转换导致不走索引)
高效的SQL(隐式转换导致不走索引) 1、创建实验表doudou,索引创建在varchar2类型的id列上,索引名DOUDOU_INDEXdoudou@TEST> select count(*) from doudou; COUNT(*)---------- ...
Oracle Cluster Tables
Cluster Tables一、 Cluster table创建语法 1、Creating ClustersCREATE CLUSTER emp_dept (deptno NUMBER(3)) SIZE 600 TABL...
Oracle 11.2.0.4 expdp and impdp
Oracle数据泵1、 使用数据泵,首先要建立,directory目录。如果你不建立,会默认把dp文件放在dumpdp目录下。select * from dba_directories;create directory dump as ‘E:\dba’;grant read,write o...
vmware、操作系统、数据库软件、oracle 补丁集地址下载(转载)
转载:http://space.itpub.net/8334342/viewspace-399662(一)vmware的下载地址:http://www.vmware.com/download/server/(二)操作系统(LINUX)和ORACLE下载地址:可以通过http://edelivery.oracle...
Oracle ins-40937 following host names are not valid(下划线“_”导致)
ins-40937 following host names are not valid(下划线“_”导致) 总结:/etc/hosts配置中 ias最好不使用下划线“_”,不符合RFC 952规则,会报错 192.168.1.1 &...