<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[异道的专栏]]></title><description><![CDATA[Penny is back！]]></description><link>https://blog.csdn.net/web_gus</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; web_gus]]></copyright><item><title><![CDATA[ORACLE GRID]]></title><link>https://blog.csdn.net/web_gus/article/details/52300950</link><guid>https://blog.csdn.net/web_gus/article/details/52300950</guid><author>web_gus</author><pubDate>Wed, 24 Aug 2016 15:34:36 +0800</pubDate><description><![CDATA[rac 
1、clusterware三大功能
    节点成员身份管理
    全局资源管理
    高可用性保证


2、clusterware三大服务
    CSS 自行重起节点 ocssd oprocd oclsomon
    CRS crsd
    EVM evmd racgevt


3、clusterware文件
     OCR 配置文件 类似win]]></description><category></category></item><item><title><![CDATA[oracle sql优化方法论]]></title><link>https://blog.csdn.net/web_gus/article/details/52242605</link><guid>https://blog.csdn.net/web_gus/article/details/52242605</guid><author>web_gus</author><pubDate>Thu, 18 Aug 2016 16:55:56 +0800</pubDate><description><![CDATA[1、降低SQL资源消耗


2、并行执行SQL


3、平衡系统的资源消耗


4、实例
　　　符合索引避免ＮＵＬＬ无法用索引
　　　合适的索引避免排序
　　　LIKE EMP% 可用函数索引REVERSE
      
5、数据库优化步骤
     找到时间最长，资源消耗最多的TOP SQL
     查看SQL执行计划合理性
     进行修正
      ]]></description><category></category></item><item><title><![CDATA[oracle hint 和 并行]]></title><link>https://blog.csdn.net/web_gus/article/details/52238677</link><guid>https://blog.csdn.net/web_gus/article/details/52238677</guid><author>web_gus</author><pubDate>Thu, 18 Aug 2016 10:49:14 +0800</pubDate><description><![CDATA[--------HINT---------------------


1、给优化器多出一种选择 种类： 单表 多表 子查询 整个SQL语句


2、HINT 指定表名不能带上所在SCHEMA名 如果有别名应该使用别名


3、HINT生效的范围仅限于本身所在的查询块（QUERY BLOCK） 如在查询块外则失效 除非指定查询块名称 full(@sel$1 t1) 或 full(]]></description><category></category></item><item><title><![CDATA[oracle 统计信息]]></title><link>https://blog.csdn.net/web_gus/article/details/52216957</link><guid>https://blog.csdn.net/web_gus/article/details/52216957</guid><author>web_gus</author><pubDate>Tue, 16 Aug 2016 09:16:28 +0800</pubDate><description><![CDATA[1、收集 ANALYZE DBMS_STATS
    ANALYZE 不能收集分区表信息 不能并行收集
    DBMS_STATS 只能收集CBO相关统计信息 不能收集行迁移/行链接 不能校验表和索引的结构信息 


2、历史统计信息 WRI$_OPTSTAT_TAB_HISTORY （TRUNCATE后会自动收集统计信息 生产环境上线后应及时收集统计信息避免CBO选择错误计划）
]]></description><category></category></item><item><title><![CDATA[oracle 查询转换]]></title><link>https://blog.csdn.net/web_gus/article/details/52163913</link><guid>https://blog.csdn.net/web_gus/article/details/52163913</guid><author>web_gus</author><pubDate>Tue, 09 Aug 2016 16:32:36 +0800</pubDate><description><![CDATA[1、子查询展开
    SINGLE-ROW（=，,=,
    不能做子查询展开的通常会在SQL执行计划最后一步才执行，一般是FILTER类型计划，效率很差
    IN ，EXISTS， =ANY 可转换为半连接（SEMI JOIN）
    NOT IN， NOT EXISTS， 
    展开2条件：展开后语义完全等价，内嵌视图的子查询必须COST低于原SQL才展开


2]]></description><category></category></item><item><title><![CDATA[oracle cursor和绑定变量]]></title><link>https://blog.csdn.net/web_gus/article/details/51957046</link><guid>https://blog.csdn.net/web_gus/article/details/51957046</guid><author>web_gus</author><pubDate>Tue, 19 Jul 2016 16:28:31 +0800</pubDate><description><![CDATA[1、SHARED CURSOR （位于SGA）
     PARENT CURSOR 只对应SQL文本（V$SQLAREA 不同SCHEMA下相同的SQL ，PARENT CURSOR也相同）
     CHILD CURSOR 对应 VERSION COUNT (V$SQL)
     硬解析：至少需要生成 CHILD CURSOR 占用SHARED POOL LATCH 
LIBRAR]]></description><category></category></item><item><title><![CDATA[oracle 优化器 执行计划]]></title><link>https://blog.csdn.net/web_gus/article/details/51910642</link><guid>https://blog.csdn.net/web_gus/article/details/51910642</guid><author>web_gus</author><pubDate>Thu, 14 Jul 2016 16:39:03 +0800</pubDate><description><![CDATA[1、优化器种类 
 rule
 choose
 first_rows_n
 first_rows
 all_rows(10g后默认)

2、访问表的方法：全表扫描（TABLE ACCESS FULL） rowid扫描（TABLE ACCESS BY USER ROWID|TABLE ACCESS BY INDEX ROWID）

3、访问B树索引的方法
 索引唯一性扫描 IND]]></description><category></category></item><item><title><![CDATA[oracle sql 优化相关]]></title><link>https://blog.csdn.net/web_gus/article/details/50462550</link><guid>https://blog.csdn.net/web_gus/article/details/50462550</guid><author>web_gus</author><pubDate>Wed, 13 Jul 2016 09:54:03 +0800</pubDate><description><![CDATA[oracle net 单次获取结果集 默认10条 可修改array size，jdbc fetchsize 


针对大统计 union all 等改为分析函数提升性能]]></description><category></category></item><item><title><![CDATA[hadoop 测试环境搭建]]></title><link>https://blog.csdn.net/web_gus/article/details/42739813</link><guid>https://blog.csdn.net/web_gus/article/details/42739813</guid><author>web_gus</author><pubDate>Thu, 15 Jan 2015 12:54:42 +0800</pubDate><description><![CDATA[ssh 无密码验证登陆配置比较麻烦
主要是 .ssh文件夹的 700权限，centos7 里默认建立的文件夹权限不行。


sshd_config 里面要改几个地方，要不然securecrt登录不上。


RSAAuthentication yes
PubkeyAuthentication yes

AuthorizedKeysFile      .ssh/authorized]]></description><category></category></item><item><title><![CDATA[使用rman恢复部分表空间]]></title><link>https://blog.csdn.net/web_gus/article/details/38487959</link><guid>https://blog.csdn.net/web_gus/article/details/38487959</guid><author>web_gus</author><pubDate>Mon, 11 Aug 2014 10:14:40 +0800</pubDate><description><![CDATA[±ðÔÚÖ÷»úÉÏÓÃrman ÖŽÐÐ £¬Íš¹ýcommvault»ÖžŽ žßŒ¶ ×Ô¶šÒåœÅ±ŸÖŽÐÐ


SET DBID 3958247272;
run {
allocate channel ch1 type 'sbt_tape'
PARMS="SBT_LIBRARY=/opt/simpana/Base64/libobk.a(shr.o),BLKSIZE=262]]></description><category></category></item><item><title><![CDATA[rman 特性]]></title><link>https://blog.csdn.net/web_gus/article/details/6303281</link><guid>https://blog.csdn.net/web_gus/article/details/6303281</guid><author>web_gus</author><pubDate>Tue, 05 Apr 2011 19:55:00 +0800</pubDate><description><![CDATA[<br />rman 保留窗 自动删除obsolute<br />rman 增量备份   trace文件<br />log_archive_local_first 加快本地归档 <br />db_block_checksum db_block_checking<br />rman 检查数据损坏]]></description><category></category></item><item><title><![CDATA[Oracle 9i 数据库管理员指南]]></title><link>https://blog.csdn.net/web_gus/article/details/6256796</link><guid>https://blog.csdn.net/web_gus/article/details/6256796</guid><author>web_gus</author><pubDate>Thu, 17 Mar 2011 16:55:00 +0800</pubDate><description><![CDATA[<br />暂停数据库的几种模式：<br />
alter system enable restricted session;alter system disable restricted session;<br />
alter system quiesce restricted;alter system unquiesce;<br />
alter system suspend;alter system resume;<br /><br />
分区和并行执行<br />
alter sessi]]></description><category></category></item><item><title><![CDATA[Oracle 10g 新特性 ]]></title><link>https://blog.csdn.net/web_gus/article/details/6254268</link><guid>https://blog.csdn.net/web_gus/article/details/6254268</guid><author>web_gus</author><pubDate>Wed, 16 Mar 2011 17:50:00 +0800</pubDate><description><![CDATA[<br />闪回版本查询 select rate, versions_starttime, versions_endtime from rates versions between timestamp to_date('12/1/2003 15:57:54','mm/dd/yyyy hh24:mi:ss') and to_date('12/1/2003 16:57:55','mm/dd/yyyy hh24:mi:ss')<br /><br />
回滚监视 v$session_longops(elapsed]]></description><category></category></item><item><title><![CDATA[oracle 9i 根据客户端机器名查询ip]]></title><link>https://blog.csdn.net/web_gus/article/details/6219111</link><guid>https://blog.csdn.net/web_gus/article/details/6219111</guid><author>web_gus</author><pubDate>Wed, 02 Mar 2011 20:58:00 +0800</pubDate><description><![CDATA[<br />从系统的listener.log日志中可以查询]]></description><category></category></item><item><title><![CDATA[连接oracle要设置环境变量]]></title><link>https://blog.csdn.net/web_gus/article/details/6206870</link><guid>https://blog.csdn.net/web_gus/article/details/6206870</guid><author>web_gus</author><pubDate>Fri, 25 Feb 2011 10:14:00 +0800</pubDate><description><![CDATA[<br />用sqlplus连接oracle需要确定环境变量ORACLE_SID,否则连到的是另一个实例]]></description><category></category></item><item><title><![CDATA[Oracle tuning the operating system]]></title><link>https://blog.csdn.net/web_gus/article/details/6195948</link><guid>https://blog.csdn.net/web_gus/article/details/6195948</guid><author>web_gus</author><pubDate>Sun, 20 Feb 2011 10:47:00 +0800</pubDate><description><![CDATA[<br />tuning:memory io cpu<br />vmstat iostat top sar<br />para:lock_sga<br />cpu busy rate:90% ,os/usr 40/60<br />monitor usage]]></description><category></category></item><item><title><![CDATA[Oracle monitoring and detecting lock contention]]></title><link>https://blog.csdn.net/web_gus/article/details/6195944</link><guid>https://blog.csdn.net/web_gus/article/details/6195944</guid><author>web_gus</author><pubDate>Sun, 20 Feb 2011 10:46:00 +0800</pubDate><description><![CDATA[<br />modes of locking:exclusive,share<br />types of locks:dml,ddl,internal<br />v$lock type tm:id1 -> table and meterailize log<br />v$lock type tx:id1 -> high 16 bit =xidusn(v$transaction) low 16 bit = xidslot(v$transaction)<br />v$lock v$transaction v$s]]></description><category></category></item><item><title><![CDATA[oracle use materialized views]]></title><link>https://blog.csdn.net/web_gus/article/details/6195943</link><guid>https://blog.csdn.net/web_gus/article/details/6195943</guid><author>web_gus</author><pubDate>Sun, 20 Feb 2011 10:45:00 +0800</pubDate><description><![CDATA[<br />refresh types:complete(delete->insert rowid changed),fast(update,rowid not changed)<br />dbms_mview refresh<br />materialized view log: mlog$_xxx<br />query rewrites para:query_rewrite_enabled,query_rewrite_integrity, query rewrite privilige,hints]]></description><category></category></item><item><title><![CDATA[Oracle application tuning]]></title><link>https://blog.csdn.net/web_gus/article/details/6195938</link><guid>https://blog.csdn.net/web_gus/article/details/6195938</guid><author>web_gus</author><pubDate>Sun, 20 Feb 2011 10:44:00 +0800</pubDate><description><![CDATA[<br />redefine a table online: dbms_redefinition<br />compressed index<br />reverse key index<br />index organized table:pctthreshold,including,overflow,mapping table]]></description><category></category></item><item><title><![CDATA[Oracle using oracle data storage structures efficiently]]></title><link>https://blog.csdn.net/web_gus/article/details/6195935</link><guid>https://blog.csdn.net/web_gus/article/details/6195935</guid><author>web_gus</author><pubDate>Sun, 20 Feb 2011 10:44:00 +0800</pubDate><description><![CDATA[<br />types:heap table ,cluster,index organized table,partition table<br />cluster:index cluster(<> between and),hash cluster(=)<br />partition:range,hash,list,composite<br />partition pruning<br />partition-wise join<br />ps:range(maxvalue新纪录如何整理，add part]]></description><category></category></item></channel></rss>