quan:Exadata计算节点由kswapd0进程引起的IO使用率100%,内存不足的故障处理
系统环境:Exadata X2-2 1/4 Rack, 11.2.0.7 RAC问题描述:计算节点二登陆异常缓慢,系统资源严重不足,SWAP交换分区剩余0
append与nologging的正确配合才能提高查询效率
使用append hint称为直接路径加载插入,数据不经过Buffer cache而是直接插到数据文件中。具体的原理是:使用append hint则系统不查找freelist链表中的空闲块(freeblock),而是直接在segment高水位(HWM)以上插入数据,省略了freeblock的查找时间,因此速度快,但是由于总是在HWM以上插数据,导致了空间的...
SCN与时间的互相转换
--SCN与时间的互相转换 <br />select dbms_flashback.get_system_change_number() scn1, timestamp_to_scn(sysdate) scn2 from dual; <br /><br /><br />select to_char(scn_to_timestamp(1468702), 'yyyy-mm-dd hh24:mi:ss') scndate from dual; --将SCN转换成时间戳 <br /><br /><br />select to...
oracle redo丢失或损坏的处理方法
<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code476')">此处</span>)折叠或打开</p></div><div id="code476" class="codeText"><ol style="margin:0 1px 0 0;padding:5px 0pt;" start="1" class="dp-css none_number"><li><spa...
详解Oracle后台进程
ITPUB上有一篇很好的文章 转载过来看看 原文:http://blog.itpub.net/28793776/viewspace-1653502/<br /><br /><h3 style="margin:0px;padding:0px;color:#666666;font-family:song, Verdana;line-height:26px;white-space:normal;widows:1;background-color:#FFFFFF;"><span style="font-family:宋体;">后台进程</span...
Windows下使用已格式化分区创建ASM单实例
<br />实验目的:学习在windows下手工创建ASM实例的步骤<br />实验环境:windows7-64bit; oracle 11gR2;<br /><br /><h3 style="white-space:normal;">第零步:创建CSS服务-10g在DBHOME的bin目录下,11g已经没有了localconfig命令而是集成到OHASD服务中。所以如果是11g DB需要安装grid standalone,启动cssd服务</h3...
ORACLE查询归档日志的切换频率及大小SQL
<br />啥都不说了,见下面的语句:<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code202')">此处</span>)折叠或打开</p></div><div id="code202" class="codeText"><ol style="margin:0 1px 0 0;padding:5px 0pt;" start="1" class="dp-c...
oracle万能表空间使用率查询SQL
在有些情况下表空间的数据文件既有自动扩展的也有非自动扩展的,用普通的表空间容量查询语句得到的结果一般不准确,为了解决这个问题我进行了区分统计,首先得到TOTAL_MB这个列,TOTAL_MB的值来自于数据文件的BYTES(非自动扩展)与数据文件最大值32G(自动扩展)的和;然后再用dba_segments取到每...
Oracle CASE WHEN 用法介绍
<h3 style="margin:10px 0px;font-size:16px;color:#666666;background-image:none;font-family:Verdana;white-space:normal;background-color:#FFFFFF;background-repeat:no-repeat no-repeat;"><strong>1. CASE WHEN 表达式有两种形式</strong></h3><div class="cnblogs_code" style="background-color:#F5F5F5;borde...
quan的实验室:oracle数据文件迁移-本机迁移实验
1.目的将Linux服务器上的oracle数据文件,日志文件,控制文件,归档文件,备份文件移动从/u01/oradata/avayaiq目录 移动到 /data/avayaiq目录下。本实验适用于windows,linux,unix环境。 2.实施步骤 1.1 &n...
Mysql版本区别
<p style="margin-top:10px;margin-bottom:10px;border:0px;list-style:none;word-wrap:normal;word-break:normal;line-height:23.799999237060547px;font-size:14px;white-space:normal;color:#555555;font-family:Verdana, Arial, Helvetica, sans-serif;background-color:#F9F9F9;">MySQL 的官网下载地址:<a href="ht...
ORA-12526:TNS:listener:all appropriate instances are in restricted mode
<p style="margin-top:0px;margin-bottom:0px;font-family:Arial;font-size:14px;line-height:26px;white-space:normal;background-color:#FFFFFF;">数据库维护时执行了下面的语句限制用户登陆:</p><div class="dp-highlighter bg_sql" style="font-family:Consolas, 'Courier New', Courier, mono, serif;background-...
How Oracle Database Works 一般意义上Oracle处理SQL的过程
<p style="max-width:70em;color:#222222;font-family:Tahoma, sans-serif;font-size:small;line-height:19px;white-space:normal;background-color:#FFFFFF;">The following example describes Oracle Database operations at the most basic level. This illustrates an Oracle Database configuration where the user ...
redo和undo的一般性理解
<h3 class="title pre fs1" style="overflow:hidden;white-space:normal;word-break:break-all;font-size:16px;margin:34px 0px 10px;padding:0px;line-height:normal;color:#000000;font-family:'Hiragino Sans GB W3', 'Hiragino Sans GB', Arial, Helvetica, simsun, u5b8bu4f53;background-color:#EAEAEA;">redo-->...
deal ORA-30012: undo tablespace 'UNDO_2' does not exist or of wrong type
<p style="margin:10px auto;color:#111111;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:13px;line-height:23px;white-space:normal;background-color:#FFFFFF;">ORA-30012: undo tablespace 'UNDO_2' does not exist or of wrong type</p><p style="margin:10px auto;color:#111111;font-family:Ver...
摘录ORA-00704: bootstrap process failure 的处理
昨天一个网友问我 在启动数据库时报以下错误,问我怎么解决SQL> startupORACLE 例程已经启动。Total System Global Area 251658240 bytesFixed Size &...
记录一个意外断电导致控制文件损坏的case
Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE</w:LidThemeComplexScript. ...
flashback怎样找回drop掉的用户
在flashback开启的情况下,而且有足够的flashback log的前提下,是可以通过flashback database 闪回drop掉的用户的。 SQL codeSQL> create user me identified by oracle;User created.SQL> grant dba to me;...
转载:对参数FAST_START_MTTR_TARGET = 0 的误解及设定
笔者Google了一下关于描述了FAST_START_MTTR_TARGET参数,看到很多文章将该参数置为0时为启用自动调整的检查点功能 如:Oracle10gR2自动检查点调整的新...
local_listener 与 remote_listener 参数说明
一. LOCAL_LISTENER 和 REMOTE_LISTENER说明1.1 LOCAL_LISTENER官网信息如下: PropertyDescriptionParameter typeStringSyntaxLOCA...