转ora600之reset incarnation研究之一
上午刚处理完客户的一个问题,正在发呆,一个哥们在msn上跟我发了个链接,问起我Oracle里incarnation的问题,本来也没想那么多,回答了几个问题,后来觉得这么说说不明白,干脆做个演示好了,于是就在这两天,作了一...
already configured and will be running under init(1M)
RAC 在安装时意外中断, 重新安装clusterware 软件, 安装过程中没有问题,在最后执行root.sh 脚本的时候出现异常, 脚本一闪而过,没有执行成功。 #/u01/oracle/product/10.2.0/crs/root.shWARNING: directo...
10G中查看历史执行计划信息
http://www.dbaroad.me/archives/2009/04/10g_hist_sql_plan.html
v$session_longops
这个视图的来源大致是这样的:SELECT inst_id, ksulosno, ksulosrn, ksulopna, ksulotna, ksulotde, ksulosfr, ksulotot, ksulouni, TO_DATE (ksulostm, 'MM/DD/RR HH24:MI:SS', 'NLS_CALENDAR=Gregor...
朱老总《七绝》
朱德的《七绝》诗。 尖峰岭上产幽兰,古木林中草树边。 多费专家勤采掇,新种移出认人观。 幽兰吐秀乔木下,仍自盘根众草傍; &n...
Error Stack
An error stack describes the current state of a process. It includes the current SQL statement and the process state for the process. Oracle recommends taking an error stack dump to diagnose what the ...
再读陆游
剑门道中遇微雨 陆游 衣上征尘杂酒痕,远游无处不销魂。此身合是诗人未?细雨骑驴入剑门。 《书愤》:早岁那知世事艰,中原北望气如山。楼船夜雪瓜洲渡,铁马秋风大散关。塞...
resetornoreset
连接到:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - ProductionWith the Partitioning, OLAP and Data Mining optionsSQL> select log_mode from v$database;LOG_MODE------------ARCHIVELOGSQ...
转藏ORADEBUG
一、 概要首先看看helpSQL> oradebug helpHELP [command]  ...
转eygle使用 oradebug 转储 systemstate / processstate
当数据库出现一些挂起状态时,如果sqlplus仍然可以连接,可能视图查询没有相应,但是可以通过oradebug工具来进行进程及系统状态信息的转储,从而可以进行Hang分析。DUMP进程状态可以使用: alter sessions set e...
转ORADEBUG
ORADEBUG ORADEBUG is an undocumented debugging utility supplied with Oracle For more general information see ORADEBUG introduction In Oracle 9.2 commands include HELP SETMYPID SETORAPID SETOSPID TRACE...
转--在视图上创建索引需要三个条件
在视图上创建索引需要三个条件:一、视图必须绑定到架构。要做到这点,在 CREATE VIEW 语句中,必须加上 WITH SCHEMABINDING,如果是使用企业管理器,则在设计界面的空白处点击右键,属性,选中“绑定到架构”。二、...
转----改参数db_recovery_file_dest时需要注意
<!-- 修改参数db_recovery_file_dest时需要注意!前两天在pub上看到有人遇到了这个问题,今天讲课时遇到了,可晚上再模拟时却死活都再现不了了.问题就是先屏蔽了flash recovery area功能,之后又恢复该功能,结果在...
转藏ass1.0.9 【awk -f ass.awk fname.trc 】
# Usage Instructions# ~~~~~~~~~~~~~~~~~~# Usage: [n]awk -f ass.awk fname.trc (But read the Portability Section !!)## Configuring Ass:# # By default, 'ass...
转library cache pin&lock
library cache pin=================原理~~~~~An Oracle instance has a library cache that contains the description of different types of objects e.g. cursors, indexes, tables, views, procedure...
Oracle 高水位(HWM)
Oracle 高水位(HWM) 收藏 1. 准备知识:ORACLE的逻辑存储管理. ORACLE在逻辑存储上分4个粒度:表空间,段,区和块. 1.1 块:是粒度最小的存储单位,现在标准的块大小是8K,ORACLE每一次I/O操作也是...
SET UNUSED COLUMN
SQL> select col#, name, segcol#, intcol# 2 from col$ 3 where obj# in (select object_id 4  ...
收藏What’s the Point of Oracle Checkpoints?
(oracle checkpoint相关的一些重要问题)作者简介: Harald van Breederode (oracle大学高级DBA讲师,拥有25年unix方面的经验和12年oracle相关经验。Oracle 8i,9i,10g,11g ocp。Oracle 10g ocm) 原文是一个英...
藏记offline和offline drop
、对一个datafile执行offline或offline drop本质上是一回事,但对一个datafile执行offline只能在归档模式下;而对一个datafile执行offline drop则既可以在归档模式也可以在非归档模式下; 2、对一个datafile...
explain
Usage: tkprof tracefile outputfile [explain= ] [table= ] [print= ] [insert= ] [sys= ] [sort= ]EXPLAINDetermines the execution plan for each SQL sta...