丢失数据文件其没有备份的恢复
论坛里有人问如果没有数据文件的备份但是有文件创建以来的所有归档,能否恢复这个数据文件。http://www.itpub.net/thread-1268153-1-1.html当时马上想起OCP教程里面有该部分内容的介绍,当时一个字一个字读OCP教程已...
本地管理的表空间碎片问题[jonathan lewis]
Oracle ScratchpadMay 29, 2007Autoallocate and PXFiled under: Infrastructure, Parallel Execution, Performance, Troubleshooting — Jonathan Lewis @ 9:22 pm UTC May 29,2007 Here’s a quirkly little set ...
硬件位数&操作系统位数&Oracle数据库软件位数匹配关系
硬件位数&操作系统位数&Oracle数据库软件位数匹配关系Hardware Architecture Windows Version Oracle RDBMS Version Status 32 bit &nb...
ora-600 错误函数大全
Error Mnemonic(s)FunctionalityDescriptionain ainp ram/indexain - alter index; ainp - alter index partition management operationapacb optim/rboused by optimizer in connect ...
遭遇史上最牛数据库
某客户要做数据迁移,需要确认数据文件占用空间和数据实际使用空间首先确认数据文件占用空间JCQ0> select sum(bytes)/1024/1024/1024 from dba_data_files;SUM(BYTES)/1024/1024/1024-------------------------&n...
获取已执行语句的执行计划
曾经都是写脚本到数据字典v$sql_plan里面去取,Christian Antognini却提供了更好的办法。(1)在Oracle 10g中,使用dbms_xplan.display_cursor传递sql_id和子游标child_number参数即可获得。JCQ0> SELECT * FROM tab...
Oracle网络性能诊断误区(tnsping/ping/ftp)
a. "I'm using TNSPING to test my network performance and..."TNSPING should never be used to test network performance. TNSPING's only function is to send a Connect Packet (NSPTCN) to the listene...
em重建全过程
该问题遇到N次,被郁闷N次,特此记录以备不时之需由于n久不用em,而本机在公司使用dhcp自动获取ip,导致ip变化,而使em启动报出ora-12514 DBD ERROR: OCIServerAttach的错误不得不禁用dhcp,分配固定ip并重建em,过...
simulator lru latch 与 buffer cache
simulator lru latch 与 buffer cache某客户等待事件持续等待127号latch SID EVENT &...
ORA-30036报错流程
1. If the current extent has more free blocks then the next free block is allocated.2. Otherwise, if the next extent expired then wrap in the next extent and return the first block.3. If the next exte...
不走CBO的两个hints
一般情况下,如果对sql语句使用了hints,将会强制使用基于成本的优化器,不过有两个hints例外:(1) rule这个很容易理解,这个hints当然是基于规则的。在一些有问题的sql语句上加上这个hints会起到意想不到的效果...
柱状图解析
为了对数据分布不均匀的列产生更好的执行计划,我们可以搜集列的直方图信息,这些信息存放在相应的数据字典中,能够帮助CBO生成更为准确的执行计划。直方图分为两种,一种是基于高度平衡的(Height-Balanced),一种是...
排序区的大小与排序时间
在pga中的sort_area_size是私有进程用于排序的区域Consider a sort area of size S and the amount of data to be sorted of size D. Then:Number of sort runs = ceil[ D/S ]Time for each sort run = K1 S log(...
当subquery遭遇rownum
一般情况下,含有子查询的语句都会在完全执行完子查询后在继续执行外层的查询JCQ0> explain plan for select * from ( select * from test_jcq0 where object_id<=10) where object_name='xxx';已解释。JCQ0> sel...
ORA-07445 [proa_init()+9744]
Errors in file /disk2/oracle/app/admin/jcq0/bdump/jcq01_lmon_20369.trc:ORA-07445: exception encountered: core dump [proa_init()+9744] [SIGSEGV] [Address not mapped to object] [0x000000708] [] []Tue Se...
aix 查看进程占用io情况
下载http://www.ibm.com/developerworks/wikis/download/attachments/53871937/nmon4aix12e.zip?version=1解压# unzip nmon4aix12e.zipArchive: nmon4aix12e.zip inflating: nmon &...
change uncatalog 不支持备份集
使用change uncatalog 可以将catalog中的文件反注册CHANGE ARCHIVELOG ... UNCATALOGCHANGE CONTROLFILECOPY '/tmp/control01.ctl' UNCATALOG;CHANGE DATAFILECOPY '/tmp/system01.dbf' UNCATALOG;如果对备份集...
windows下 寻找端口与进程号的对应关系
1.启动监听G:\LSOF>lsnrctl startLSNRCTL for 32-bit Windows: Version 9.2.0.1.0 - Production on 18-8月 -2009 10:27:38Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.启动tnslsn...
安装Oracle 10g RAC是否需要安装HACMP (zt)
实际上无论在哪个操作系统(AIX,HP-UX,Solaris,Linux)上安装Oracle10g RAC都不再需要Vendor Clusterware(IBM的HACMP,HP的Service Guard,Veritas的VCS等),无论在存储方面是选择裸设备还...
http://space.itpub.net/?14130873
[@more@]