ORA-04062
通过db_link调用存储过程的时候,出现ORA-04062: 提示时间戳改变了show parameter remote_dependencies_mode:说明: 该参数用于指定数据库为远程 PL/SQL 存储的过程处理被依赖对象的方式。如果设置为 TIM...
回缩表空间
--计算datafile可以resize收缩的空间.col name for a40col resizecmd for a80select a.file#,a.name,a.bytes/1024/1024 CurrentMB, ceil(HWM * a.block_size)/1024/1024 Resiz...
oracle 远程调用函数 (dblink)
oracle 支持远程调用函数。实现方法sql:=' begin function@dblink(:1..); end; ';execute imediate sql using var1;注意:这里的参数不能使用自定义的数据库类型。 ...
ORACLE报错ORA-01578
文件有坏块。一,如果是索引那简单了之间重建索引就可以了。二,如果是数据块ALTER SYSTEM SET EVENTS='10231 trace name context forever,level 10';方法一 导出数据删除这个TABLE导入这个表方法二在数据库...
Linux Error: 29: Illegal seek
The listener fails to start with the following errors:TNS-12537: TNS:connection closedTNS-12560: TNS:protocol adapter errorTNS-00507: Connection closedLinux Error: 29: Illegal seek情况一 Verify the ...
index table
move tablerebuild index partition
ORA-600 [kdsgrp1]的解决
ORA-600 [kdsgrp1]的解决今天一个同事执行一个sql,老报ORA-600 [kdsgrp1]的错误,在metallink查找这个错误,和大家共享一下,并有如下的疑问和大家共同探讨一下: 1,在这个文档中,提到了row piece的...
ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], []
Running into the this error for last 2 days.Per the trace file generated, checked the SQL causing the error.For the tables identified in the trace file,ran the following:analyze table <tab_name> va...
DBMS_STATS.GATHER_DATABASE_STATS_JOB_PROC存储过程(摘)
Automatic Statistics Gathering在Oracle10g中引入的优化器统计信息(Optimizer Statistics)自动收集,是一个看上去很不错的功能,但是在实际应用中却往往没有起到相应的效果,甚至在某些系统中我们会建议禁用这个...
每次执行sql所要做得io最多
物理读:select disk_reads,executions,disk_reads/(executions+0.01),sql_text from v$sqlwhere disk_reads/(executions+0.01)>1000 order by disk_reads desc;逻辑读:select buffer_gets,executions,buffer_g...
ORA-00444 ORA-07446
startup ORA-00444: background process “MMAN” failed while startingORA-07446: sdnfy: bad value ” for parameter .ProblemThe path to bdump,adump or udump does not exist. Oracle itself does notcre...
bulk collection
bulk collection
通过dblink调用函数
function@dblink(parameters);
plsql - trim
trim()注意点:这个函数处理字符串的时候,如果字符串是小空,也就是空格的时候会返回 null而不是‘’
ora-600 [6006]
Errors in file /u01/app/oracle/admin/orcl/bdump/orcl_smon_5686.trc:ORA-00600: internal error code, arguments: [6006], [1], [], [], [], [], [], []ORACLE Instance orcl (pid = 8) - Error 600 encountered ...
ORA-00600 [4137]
ORA-00600: internal error code, arguments: [4137], [], [], [], [], [],[], []Oracle Note:47456.1:DESCRIPTION: While backing out an undo record (i.e. at the time ofrollback) we found a transaction id m...
ORA-00600 [4000]
ORA-00704: 引导程序进程失败ORA-00704: 引导程序进程失败ORA-00600: 内部错误代码, 参数: [4000], [12], [], [], [], [], [], []查询了该错误的问题:Oracle Note:47456.1:DESCRIPTION: This has the potential to b...
比较复杂的一次数据库故障解决
问题描述客服人员说数据库启动异常,报错说控制文件不一致。心想这个问题好解决只要找一个为基准,复制三个就可以了。但是使用三个控制文件为副本都不能启动数据库。1.控制文件check失败Errors in file /u01/app/o...
删除失败节点
情况两个节点的环境。节点1损坏了。从新安装了节点1的操作系统。节点2可以正常使用。目标把节点1从新添加到rac环境中去。摄像做法1.删除残留信息[oracle@node2 bin]$ crs_stat -t名称 &nb...
pfile 丢失
今天本来头让修改一下数据库的参数。发现不知道哪位大侠把参数文件都给删了。呵呵还好数据库是启动状态。于是create pfile from memory;create spfile from memory;...