oracle rat spa
<span style="font-size:14px;">rat的两个主要组件database replay和sql performance analyzer(SPA),其中SPA来预测任何更改对sql工作负载的影响,以主动发现升级问题.</span><br /><span style="font-size:14px;">spa可用于数据库和应用升级,硬件更改,操作系统更改,初始化参数更改,sql调整活动,模式更改.</span><br /><spa...
oracle rat database replay
<span style="font-size:14px;">rat的两个主要组件database replay和sql performance analyzer(SPA),其中database reply可capture生产库的工作负载,并replay到测试库上,以主动发现升级问题.</span><br /><span style="font-size:14px;">database replay可以用于测试数据库升级,操作系统升级,存储系统升级,数据库配置更改....
oracle小知识点7--索引的unusable,disable,invisible
UNUSABLE ClauseWhen you make an index unusable, it is ignored by the optimizer and is not maintained by DML. When you make one partition of a partitioned index unusable, the other partitions of the inde...
ORA-16157: media recovery not allowed following successful FINISH recovery
客户在执行物理standby日志应用时,把recover managed standby database disconnect记错,误输入为recover managedstandby database finish.然后再次执行recover managed standby database disconnect没有报错,但standby无法接收和应用日...
11G通过物理standby进行滚动升级实例说明及注意
参考文档:<br />http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-transientlogicalrollingu-1-131927.pdf<br /><br />以下对文档中的实例进行说明:<br />PROD:primary <br />PSTBY:物理standby<br />LSTBY:逻辑standby<br /><table style="width:70%;" class="" border="1" bordercol...
11G通过逻辑standby滚动升级实例说明及注意
<p style="text-indent:2em;">参考文档:<br />http://www.oracle.com/technetwork/database/features/availability/maa-wp-10gr2-rollingupgradebestprac-1-132006.pdf<br /><br />以下是对文档中实例说明:<br /> <table style="width:70%;" class="" height="6969" border="1" bordercolor...
oracle小知识点6--oracle dml触发器的fire_once_only属性
<span style="font-size:14px;"> 一般oracle dml触发器的fire_once_only属性为true,这样普通用户进程执行dml操作时,rdbms去激活它们,但在logical standby的sql apply进程中是自动禁用,<br />这样保证了logical standby和主库数据的一致性.当然也可以把触发器的fire_once_only属性改为false,...
oracle官网的中文培训视频
<span style="font-size:14px;"><strong>在oracle官网下载了一些的中文培训视频,转存到51cto,有兴趣的可以学习学习~<br />持续更新中~</strong></span><br /><br /><span style="font-size:14px;"><strong>webex player</strong></span><br /><span style="font-size:14px;">http://down.51cto.com/data/2090309</span...
oracle小知识点5--通过dbms_workload_repository.awr_report_html产生awr报告
生成awr报告的方法有很多,常用有通过em,toad,awrrpt.sql.通过em,比较方便,鼠标点点就行了,但需在服务端开启em.通过toad,比较方便,但有些人不习惯使用toad.通过awrrpt.sql,需要手动执行,
rhel 6 映射多路径(DM Multipath)配置及管理
<p><span style="font-size:9.0pt;font-family:宋体;color:#888888;">第</span><span style="font-size:9.0pt;font-family:"color:#888888;"> </span><span style="font-size:9.0pt;font-family:"color:#888888;">1 </span><span style="font-size:9.0pt;font-family:宋体;color:#888888;">章</span><span styl...
oracle小知识点4--利用将字段拆分成多个属性实现order by复杂排序
<span style="font-size:14px;">工作偏运维DBA,所以性能优化的sql问题比较多,但功能实现的sql问题比较少.今天遇到一个用户功能实现的sql问题,简单但比较有意思.</span><br /><span style="font-size:14px;">贴出来分享给大家.</span><br /><br /><span style="font-size:14px;"><strong>问题:</strong></span><br /><sp...
通过Oracle 11g 逻辑standby实现BI的需求
逻辑standby用的很少,特别是在11g,物理standby也可以只读打开并实时应用,物理standby也可以做滚动升级.不过,最...
bash shell 实现快速排序算法
<span style="font-size:14px;"><strong>[oracle@ct6605 testshell]$ cat test01.sh</strong></span><br /><span style="font-size:14px;">#!/bin/bash</span><br /><span style="font-size:14px;">function array()</span><br /><span style="font-size:14px;">{</span><br /><span style="font-size:14px;"> lo...
bash shell 读取参数文件常见方法
<span style="font-size:14px;"><strong>1.通过eval</strong></span><br /><span style="font-size:14px;"><em><strong>[oracle@ct6605 ~]$ cat config.ini</strong></em></span><br /><span style="font-size:14px;">GDBNAME=ct6605</span><br /><span style="font-size:14px;">SID="ct6605"</span><br /><span style=...
用sql模拟:从12个乒乓球中找到假乒乓球
<span style="font-size:14px;">有12个乒乓球,其中一个是假的,其余的都是真的,用天平秤来称重,你能用此天平秤秤3次,就能分出哪一个乒乓球是假的?并且假乒乓球比真的轻还是重?<br /></span><br /><span style="font-size:14px;"><strong>--创建测试表,测试表中一行代表一种可能<br /></strong></span><br /><span style=...
bash的通配符与特殊符号
<p>原文地址:http://www.cnblogs.com/ggjucheng/archive/2012/10/30/2746963.html<br />在 bash 的操作环境中还有一个非常有用的功能,那就是通配符 (wildcard) ! 我们利用 bash 处理数据就更方便了!底下我们列出一些常用的通配符喔:</p><table style="width:95%;" bgcolor="lightyellow" border="1" cellpadding=...
linux awk命令详解
地址:http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2858470.html简介awk是一个强大的文本分析工具,相对于grep的查找,sed的编辑,awk在其对数据分析...
linux sort,uniq,cut,wc命令详解
原文地址:http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2858385.htmlsortsort 命令对 File 参数指定的文件中的行排序,并将结果写到标准输出。如果 F...
linux sed命令详解
原文地址:http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2856901.html简介sed 是一种在线编辑器,它一次处理一行内容。处理时,把当前处理的行存储在...
linux grep命令详解
原文地址:http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2856896.html简介grep (global search regular expression(RE) and print out the line,全面...