Oracle DG ORA-16191: Primary log shipping client not logged on standby
ORA-16191: Primary log shipping client not logged on standby 一、客户巡检发现alert日志中有报错alert.log日志Mon Jan 28 07:17:15 2013Error 1017 received logging on to the standby-------------...
Oracle 同义词学习
同义词学习(和兜兜一起学习官档) 1、 Overview of SynonymsA synonym is an alias for a schema object.Because a synonym is simply an alias, it requires no storage other than its definition in the...
Oracle 官档学习序列
序列学习(和兜兜一起学习官档) 1、 权限本身拥有system权限,或者拥有create any sequence权限 2、 创建SQL 范例CREATE SEQUENCE emp_sequence INCRE...
Oracle 视图insert,delete,update对基表的影响(视图初识)
视图进行insert,delete,update对基表的影响(视图初识) 一、问题:解决官档部分词语不理解官档中oracle concepts=>partitions,views有这样一段话不理解。All operations performed on a view actually aff...
Oracle 优化之分区索引(初识)
partitioned indexes local partitioned index ...
Oracle 优化之分区 range,list,hash partitioning tables 初识
Partitioning table 初识,区分(堆表与分区表、分区特性) 1、create range partition table CREATE TABLE time_range_sales ( prod_id NUM...
Oracle 10g 优化之分区 What are number-of-subpartitions
What are number-of-subpartitions of composite range-hash partitioning tables (number of subpartitions在组合分区表中的作用)? 10g官档中:http://docs.oracle.com/cd/B19306_01/server.102/b14231/par...
Oracle 优化之SQL CTAS优化FLASHBACK_TRANSACTION_QUERY
CTAS优化FLASHBACK_TRANSACTION_QUERY查询使用 问题:FLASHBACK_TRANSACTION_QUERY 使用where的查询,执行很慢近8分钟(00:07:58.76)、consistent gets近3百万(3260345)。每次查询竟然需要8分钟 ,实...
Oracle 优化之SQL(Index-Organized Tables优化精确查询和范围查询)
高效的SQL(Index-Organized Tables优化精确查询和范围查询) 本文3部分1、创建索引组织表(PCTTHRESHOLD和OVERFLOW的意义)2、索引组织表中删除大量数据及重建索引(不是index rebuild而是alter table tab...
Oracle 优化之SQL(Function-based Indexes 函数、运算优化思路)
高效的SQL(Function-based Indexes 函数、运算优化思路) ①Function-based Indexes situations1、 UPPER function http://www.oracle-base.com/articles/8i/function-based-indexes.php2、&n...
Oracle 优化之SQL(bitmap indexes optimize low cardinality columns)
高效的SQL(bitmap indexes optimize low cardinality columns) ①Bitmap indexes situations1、 indexed columns have low cardinality2、 redo-only or not subject to significant modification...
Oracle Export and import right application or execute import imp-00010
Export and import right application or execute import imp-00010 error solve ①、Export and import right applicationSource database: the database where the data is exported fromTarget database...
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...