使用dbms_xplan工具查看执行计划
使用dbms_xplan工具查看执行计划9i有一个新的包 dbms_xplan,对查询plan_table表是一个很有用的工具,相对于以前写一个复杂的SQL语句,然后从plan_table看执行计划,不如调用 dbms_xplan 包,还可以显示格式,这个...
在oracle中调用java程序 (转)
http://www.blogjava.net/willpower88/archive/2006/07/14/58189.html在oracle中调用java程序一、helloWord1 编写JAVA程序 create or replace and compile java source&nb...
在oracle中调用java程序 (转)
http://www.blogjava.net/willpower88/archive/2006/07/14/58189.html在oracle中调用java程序一、helloWord1 编写JAVA程序 create or replace and compile java source&nb...
dbms_stats 使用详解
dbms_stats 使用详解执行一个SQL语句时,数据库必须将查询转换成一个执行计划,并选择检索数据的最佳方式。对于Oracle,每个SQL查询都能选择多种执行计划,包括用哪个索引来检索表行,以哪种顺序来联接多个表,以...
select操作产生redo—oracle延迟块清除
有时候我们在执行select操作的时候也可能会产生redo,其一个可能原因就是oracle块清除。在进行块清除的时候,如果是一个大事务,就会进行延迟块清除块清除就是删除所修改数据块上与”锁定”有关的信息,即事务信息Or...
reverse索引,BITMAP 索引,函数索引都只有CBO下才会用
不光是reverse索引,BITMAP 索引,函数索引都只有CBO才会认!http://www.itpub.net/thread-563349-1-1.html降序索引好像也是只有CBO下才会有效啊。以下是降序索引的测试过程:tstuser@mydb> create index index_t...
分析表
EXEC DBMS_STATS.GATHER_TABLE_STATS('OWNER','TABLE',estimate_percent=>30,CASCADE=> TRUE);EXEC DBMS_STATS.GATHER_TABLE_STATS('TSTUSER','T',estimate_percent=>30,CASCADE=> TRUE); ESTIMATE_ROWS是:...
怎么删除表空间中某一个数据文件?
怎么删除表空间中某一个数据文件?9i 里肯定是不能删掉的, 可以resize 到<=5个数据块, oracle就不会向里面写东西了.10g 好像可以,没试过============================本文主要介绍如何从数据库中删除数据文件。因为A...
oradebug用法
.根据SID找到需要跟踪的进程的SPID或者PIDselect s.username , p.spid os_process_id , p.pid oracle_process_idfrom v$session s , v$process pwhere s.paddr = p.addrand s.sid = ...
oracle 赋debug权限
pl/sql 报错 不能运行debug 时ora-0131:Insufficient privileges关键字: debug connect session system privilege 用pl/sql developer 调试存储过程报错note:debugging requires the debug connect session syst...
数据文件出现坏快的解决之六(转)
http://blog.chinaunix.net/u1/50863/showart_400575.html 参考:http://www.itpub.net/showthread.php?s=&threadid=201766&perpage=10&pagenumber=1 和数据文件出现坏块时之五中提到的前几步一样,...
Features that Require the CBO
The following features require use of the CBOPartitioned tables and indexesn Index-organized tablesn Reverse key indexesn Function-based indexesn SAMPLE clauses in a SELECT statementn Parallel...
大表快速建索引的总结!
大表快速建索引的总结:http://www.itpub.net/viewthread.php?tid=1033604&page=1#pid11171604总结一下:1。 使用并行参数,8个CPU, 可以用parallel 6 ,最多占用6个CPU, 正常情况下没问题(前提是其他应用没有占超...
数据库报以下错误!
Mon Sep 7 12:02:10 2009< Timed out trying to start process J001.< Mon Sep 7 12:04:12 2009< Timed out trying to start process J001.< Mon Sep 7 12:06:07 2009< PMON failed to acquire la...
PMON failed to acquire latch, see PMON dump
这是网上搜到的:To implement the solution, execute the following steps::1. In $ORACLE_HOME/network/admin/listener.ora, of the database where the Metadata Repository is to be loaded, add the line:INBO...
oracle exp ORA-31600和ORA-00942问题的解决
oracle exp ORA-31600和ORA-00942问题的解决在不同版本的Oracle之间Exp导出时,出现ORA-00942错误.连接到: Oracle9i Enterprise Edition Release 9.2.0.7.0 - ProductionWith the Partitioning, OLAP and Oracle D...
RMAN备份归档日志时报RMAN-06059错的解决办法
当你使用RMAN备份数据库时,如果对日志进行备份,当以前的日志被删除过,则会报RMAN-06059错误,如何解决这个错误呢?RMAN-06059: 没有找到预期的归档日志, 归档日志的丢失将影响可恢复性ORA-19625: 识别文件D:\ORADAT...
ORA-27069: skgfdisp: attempt to do I/O beyond the range of the file问题解决
Subject: DB <9.2.0.3 Cannot AUTOEXTEND to 4Gb boundary in NTDoc ID: Note:317174.1Type: PROBLEMLast Revision Date: 02-AUG-2005Status: MODERATED</SCRIPT.In this DocumentITPUB个人空间n ...
由Bug引起的ORA-01114&ORA-27069错误
最近在执行一个大数据量查询时报如下错误:ORA-01114: IO error writing block to file 201 (block # 523913)ORA-27069: skgfdisp: attempt to do I/O beyond the range of the fileOSD-04026: Invalid parameter...
了解Oracle数据库的进制转换
本文带你深入了解Oracle数据库的进制转换,16进制转换为10进制 可以通过to_number函数实现,10进制转换为16进制我们可以通过to_char函数转换。 Oracle数据库的进制转换: 1.16进制转换为10进制 可以...