我的甲骨文世界

欢迎来到我的甲骨文世界>>   | 首页 资源中心 | 故障排除 | Unix | SQL优化 | 等待优化 | Internal | Net8 | 对象管理 | 空间管理 | 备份&恢复 | 用户管理 | ITPUB论坛

v$sysstat

发表人:xiaoxiongg | 发表时间: 2005年六月21日, 22:03

本文为Oracle的重要视图v$sysstat提供了一个完整的解释列表,原文发表在:

http://www.mercury.com/us/products/performance-center/loadrunner/monitors/oracle.html

 查看全文

Wait event enqueue的 parameter P1 的 解读

发表人:xiaoxiongg | 发表时间: 2005年六月18日, 22:37

SELECT CHR(bitand(p1,-16777216)/16777215)||
CHR(bitand(p1, 16711680)/65535) "Lock",
TO_CHAR( bitand(p1,65535)) "Mode"
FROM v$session_wait
WHERE event = 'enqueue'


How to Recover From a DROP / TRUNCATE / DELETE TABLE with RMAN

发表人:xiaoxiongg | 发表时间: 2005年六月16日, 19:38

There are three options available:

1. Restore and recover the primary database to a point in time before the drop.
This is an extreme measure for one table as the entire database goes back in
time.

2. Restore and recover the tablespace to a point in time before the drop.
This is a better option, but again, it takes the entire tablespace back in time.

3. Restore and recover a subset of the database as a DUMMY database to export
the table data and import it into the primary database. This is the best option
as only the dropped table goes back in time to before the drop

 查看全文

Common Causes and Solutions on ORA-1157 Error Found in Backup & Recovery

发表人:xiaoxiongg | 发表时间: 2005年六月05日, 15:27

PURPOSE
=======

To explain the ORA-1157 error and discuss the various causes and solutions for this error.

 查看全文

使用dbms_xplan工具查看执行计划

发表人:xiaoxiongg | 发表时间: 2005年五月27日, 19:46

9i有一个新的包 dbms_xplan,对查询plan_table表是一个很有用的工具,相对于以前写一个复杂的SQL语句,然后从plan_table看执行计划,不如调用 dbms_xplan 包,还可以显示格式,这个工具的使用也非常方便。
调用的语法类似

 查看全文

如何判断SQL没有使用绑定变量?

发表人:xiaoxiongg | 发表时间: 2005年五月27日, 19:46

这是ITPUB上的帖子:
http://www.itpub.net/335137.html

1. Jametong
减产前40个字符相同, 有多于5个不同sql版本的sql语句^_^

select substr(sqltext,1,40) sql_text,count(*)
from v$sql
group by substr(sqltext,1,40)
having count(*) >= 5;

 查看全文

说一说如何配置Oracle的MTS

发表人:xiaoxiongg | 发表时间: 2005年五月26日, 19:52

1、  Oracle8i MTS环境常用到的几个参数

 查看全文

如何收集sql跟踪信息

发表人:xiaoxiongg | 发表时间: 2005年五月21日, 19:50


在诊断数据库系统性能的过程中,总会涉及到跟踪效率低下的sql语句,现在就如何跟踪sql语句来做一个简单的总结。权做抛砖引玉之用。 查看全文

buffer busy wait

发表人:xiaoxiongg | 发表时间: 2005年五月19日, 19:50

众多Oracle有关问题中,其中最重要的一个是缓冲区忙等待()事件。缓冲区忙等待是I/O-bound Oracle系统中最常见的现象,尤其是在Oracle STATSPACK报告的前五个忙等待的读(顺序/分散)系统中,正如: 查看全文

ORA-04020: deadlock detected while trying to lock object LBACSYS.LBAC_EVENTS

发表人:xiaoxiongg | 发表时间: 2005年五月16日, 18:44

事情的起因是我要将当前一个在线的数据库imp到一个测试库进行测试。
exp很顺利,没有问题
在测试库上drop user * cascade;
然后重新建用户,然后把刚才的备份都导入,都很顺利。 查看全文

Step-By-Step Installation of 9.2.0.5 RAC on Linux

发表人:xiaoxiongg | 发表时间: 2005年五月10日, 20:27

--------------------------------------------------------------------------------

Note: This note was created for 9i RAC.  The 10g Oracle documentation provides installation instructions for 10g RAC.  These instructions can be found on OTN:

Oracle® Real Application Clusters Installation and Configuration Guide
10g Release 1 (10.1) for AIX-Based Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, Linux, Solaris Operating System (SPARC 64-bit)

 查看全文

使用dbms_repair修复块损坏的例子

发表人:xiaoxiongg | 发表时间: 2005年五月02日, 08:32


dbms_repair是从oracle8i开始提供的。

我们可以用设置event的方法来处理坏块:

http://www.itpub.net/showthread.php?threadid=201766&pagenumber=

 查看全文

总结一下Oracle中与权限,角色相关的视图

发表人:xiaoxiongg | 发表时间: 2005年四月30日, 19:49

 本文简要总结了一下与 权限,角色相关的视图.

 查看全文

ORA-01555

发表人:xiaoxiongg | 发表时间: 2005年四月29日, 18:28

ORA-01555 "Snapshot too old" - Detailed Explanation 查看全文

9i新特性之Flashback Query的应用

发表人:xiaoxiongg | 发表时间: 2005年四月28日, 17:02


在9i之前,如果出现DML的误操作,只能通过备份来完成基于时间点的恢复,9i给提供了一个新的特性Flashback Query,我们可以应用此特性,可以很方便的实现恢复。但是要注意的是,Flashback Query 仅仅是一个查询的机制,不会真正的UNDO任何数据。

 查看全文

Valid XHTML 1.0 Strict and CSS. Powered by pLog
Design by Blog.lvwo.com