ipcs:管理共享内存
对于信号量,可以用以下命令查看:$ ipcs -sopIPC status from /dev/kmem as of Thu Jul 6 14:44:16 2006T ID KEY MODE OWNER GROUPSemaphores:s 0 0x4f1c0139 --ra------- root root... ...s 14 0x6c200ad8 --ra-ra-ra- root roots 15 0x6d200ad8 --ra-ra-ra- root roots 16 0x6f200ad8 --ra-ra-ra- root roots 17 0xffffffff --ra-r--r-- root roots 18 0x410c05c7 --ra-ra-ra- root roots 19 0x00446f6
oracle p001产生大量的trace
启动数据库,数据库可以mount,但是在open的时候就hang了。在alert中发现如下错误。p001_16944_metro.trc文件可以短时间内增长到几十G,内容就是ora600[2022]的错误ORA-00600: internal error code, arguments: [2022], [1], [15], [], [], [], [], [][@more@]29号15点由RECO进程把数据库terminal了启动数据库,数据库可以mount,但是在open的时候就hang了。在alert中发现如下错误。p001_16944_metro.trc文件可以短时间内增长到几十G,内容就是ora600[2022]的错误Errors in file /oracle/app/oracle/product/8.1.7/admin/METRO/bdump/p0
运行sqlplus 的时候报错
在aix上运行sqlplus 的时候报以下错误exec(): 0509-036 Cannot load program oracledgpjxt because of the following errors:0509-130 Symbol resolution failed for /usr/lib/libc.a[aio_64.o] because:0509-136 Symbol kaio_rdwr64 (number 0) is not exported fromdependent module /unix.0509-136 Symbol listio64 (number 1) is not exported fromdependent module /unix.0509-136 Symbol acancel64 (number 2) is not exported fromdependent module /unix.0509-136 Symbol iosuspend64 (number 3) is not exported fromdependent m
V$SESSION_LONGOPS视图
V$SESSION_LONGOPS记录执行时间超过6秒的一些统计信息。[@more@]使用前提:oracle是用CBO TIMED_STATISTICS =TRUE 对表进行过分析这里有一个列很有用,就是TIME_REMAINING,它可以显示sql执行的剩余时间。
IMP的失败恢复
1月23号早上11点做了一个10G大表的imp操作,由于数据量的增大加上imp导入所造成的lock等待,程序速度变慢,开发那边要求中断导入操作。在导入进行了近4个小时后,也就是说下午15点,imp被强行中断.....[@more@]IMP的失败恢复系统环境硬件:PC Server操作系统:windows数据库版本:oracle10GR2 (single database) 1月23号早上11点做了一个10G大表的imp操作,由于数据量的增大加上imp导入所造成的lock等待,程序速度变慢,开发那边要求中断导入操作。在导入进行了近4个小时后,也就是说下午15点,imp被强行中断。查看数据文件,