- 浏览: 978674 次
- 性别:
- 来自: 杭州
文章分类
最新评论
-
孤星119:
好熟悉的数据库字段啊, 上家公司做的项目每天都跟这些字段打招呼 ...
Oracle exp compress参数引起的空间浪费 -
itspace:
quxiaoyong 写道遇到个问题,网上一搜,全他妈这篇文章 ...
数据库连接错误ORA-28547 -
quxiaoyong:
遇到个问题,网上一搜,全他妈这篇文章。你转来转去的有意思吗?
数据库连接错误ORA-28547 -
hctech:
关于version count过高的问题,不知博主是否看过ey ...
某客户数据库性能诊断报告 -
itspace:
invalid 写道写的不错,我根据这个来安装,有点理解错误了 ...
AIX 配置vncserver
alter日志显示:
其trc文件显示
可以看到此job执行一共失败了26次
手工执行job,报错依然,经检查是业务程序引起的,注意黑体部分,修正后问题解决,再次执行成功
引用
Fri Jun 19 10:00:05 2009
Errors in file /ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc:
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
Fri Jun 19 10:00:06 2009
Errors in file /ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc:
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
Fri Jun 19 10:00:07 2009
Errors in file /ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc:
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
ORA-06512: at line 5
ORA-06512: at "ASSET.TOPSEXCEPTION", line 30
ORA-06512: at line 1
ORA-06512: at line 56
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
Fri Jun 19 10:00:07 2009
Errors in file /ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc:
ORA-00600: internal error code, arguments: [4406], [0x3DCD09EC], [0x3DCCFF94], [], [], [], [], []
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
ORA-06512: at line 5
ORA-06512: at "ASSET.TOPSEXCEPTION", line 30
ORA-06512: at line 1
ORA-06512: at line 56
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
Fri Jun 19 10:00:09 2009
Errors in file /ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc:
ORA-00600: internal error code, arguments: [ORA-00600: internal error code, arguments: [4406], [0x3DCD09EC], [0x3DCCFF94], [], [], [], [], []
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
ORA-06512: at line 5
ORA-06512: at "ASSET.TOPSEXCEPTION", line 30
ORA-06512: at line 1
ORA-06512: at line 56
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
ORA-06512: at "SYS.DBMS_STATS", line 19089
], [], [], [], [], [], [], []
Errors in file /ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc:
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
Fri Jun 19 10:00:06 2009
Errors in file /ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc:
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
Fri Jun 19 10:00:07 2009
Errors in file /ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc:
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
ORA-06512: at line 5
ORA-06512: at "ASSET.TOPSEXCEPTION", line 30
ORA-06512: at line 1
ORA-06512: at line 56
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
Fri Jun 19 10:00:07 2009
Errors in file /ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc:
ORA-00600: internal error code, arguments: [4406], [0x3DCD09EC], [0x3DCCFF94], [], [], [], [], []
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
ORA-06512: at line 5
ORA-06512: at "ASSET.TOPSEXCEPTION", line 30
ORA-06512: at line 1
ORA-06512: at line 56
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
Fri Jun 19 10:00:09 2009
Errors in file /ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc:
ORA-00600: internal error code, arguments: [ORA-00600: internal error code, arguments: [4406], [0x3DCD09EC], [0x3DCCFF94], [], [], [], [], []
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
ORA-06512: at line 5
ORA-06512: at "ASSET.TOPSEXCEPTION", line 30
ORA-06512: at line 1
ORA-06512: at line 56
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
ORA-06512: at "SYS.DBMS_STATS", line 19089
], [], [], [], [], [], [], []
其trc文件显示
引用
[ora10g@mcprod admin]$ more /ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc
/ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /ora10g/oracle/product/10.2.0/db_1
System name: Linux
Node name: mcprod
Release: 2.6.18-53.el5PAE
Version: #1 SMP Mon Nov 12 02:55:09 EST 2007
Machine: i686
Instance name: mctest
Redo thread mounted by this instance: 1
Oracle process number: 31
Unix process pid: 12715, image: oracle@mcprod (J001)
*** ACTION NAME:(GATHER_STATS_JOB) 2009-06-19 10:00:05.410
*** MODULE NAME:(DBMS_SCHEDULER) 2009-06-19 10:00:05.410
*** SERVICE NAME:(SYS$USERS) 2009-06-19 10:00:05.410
*** CLIENT ID:() 2009-06-19 10:00:05.410
*** SESSION ID:(131.2) 2009-06-19 10:00:05.410
*** 2009-06-19 10:00:05.410
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
Current SQL statement for this session:
begin :1:=dbms_transaction.local_transaction_id;exception when others then null ;end;
----- PL/SQL Call Stack -----
object line object
handle number name
0x3a4c6600 104 package body SYS.DBMS_TRANSACTION
0x3a4d3c1c 1 anonymous block
0x3a676a38 45 package body ASSET.TASSETAPI
0x3a676a38 634 package body ASSET.TASSETAPI
0x3a67b494 3 anonymous block
0x3a6ace40 41 anonymous block
0x39fb62bc 692 package body SYS.DBMS_STATS_INTERNAL
0x3a09fcb4 9854 package body SYS.DBMS_STATS
0x3a09fcb4 10560 package body SYS.DBMS_STATS
0x3a09fcb4 13153 package body SYS.DBMS_STATS
0x3a09fcb4 19015 package body SYS.DBMS_STATS
。。。
TABLE: "SYS"."WRI$_OPTSTAT_TAB_HISTORY".""
TABLE: "SYS"."HIST_HEAD$".""
TABLE: "SYS"."WRI$_OPTSTAT_HISTHEAD_HISTORY".""
TABLE: "SYS"."TAB$".""
TABLE: "SYS"."SEG$".""
TABLE: "SYS"."IND$".""
TABLE: "SYS"."TRIGGER$".""
TABLE: "SYS"."OBJ$".""
TABLE: "SYS"."WRH$_SYSMETRIC_SUMMARY".""
TABLE: "SYS"."WRI$_OPTSTAT_HISTGRM_HISTORY".""
TABLE: "SYS"."CDEF$".""
TABLE: "SYS"."LINK$".""
TABLE: "SYS"."JOB$".""
TABLE: "SYS"."EXTERNAL_TAB$".""
TABLE: "SYS"."EXTERNAL_LOCATION$".""
ORA-00600: internal error code, arguments: [ORA-00600: internal error code, arguments: [4406], [0x3DCD09EC], [0x3DCCFF94], [], [], [], [], []
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
ORA-06512: at line 5
ORA-06512: at "ASSET.TOPSEXCEPTION", line 30
ORA-06512: at line 1
ORA-06512: at line 56
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
ORA-06512: at "SYS.DBMS_STATS", line 19089
], [], [], [], [], [], [], []
OPIRIP: Uncaught error 447. Error stack:
ORA-00447: fatal error in background process
ORA-00600: internal error code, arguments: [ORA-00600: internal error code, arguments: [4406], [0x3DCD09EC], [0x3DCCFF94], [], [], [], [], []
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
ORA-06512: at line 5
ORA-06512: at "ASSET.TOPSEXCEPTION", line 30
ORA-06512: at line 1
ORA-06512: at line 56
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
ORA-06512: at "SYS.DBMS_STATS", line 19089
], [], [], [], [], [], [], []
/ora10g/app/admin/mctest/bdump/mctest_j001_12715.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
ORACLE_HOME = /ora10g/oracle/product/10.2.0/db_1
System name: Linux
Node name: mcprod
Release: 2.6.18-53.el5PAE
Version: #1 SMP Mon Nov 12 02:55:09 EST 2007
Machine: i686
Instance name: mctest
Redo thread mounted by this instance: 1
Oracle process number: 31
Unix process pid: 12715, image: oracle@mcprod (J001)
*** ACTION NAME:(GATHER_STATS_JOB) 2009-06-19 10:00:05.410
*** MODULE NAME:(DBMS_SCHEDULER) 2009-06-19 10:00:05.410
*** SERVICE NAME:(SYS$USERS) 2009-06-19 10:00:05.410
*** CLIENT ID:() 2009-06-19 10:00:05.410
*** SESSION ID:(131.2) 2009-06-19 10:00:05.410
*** 2009-06-19 10:00:05.410
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
Current SQL statement for this session:
begin :1:=dbms_transaction.local_transaction_id;exception when others then null ;end;
----- PL/SQL Call Stack -----
object line object
handle number name
0x3a4c6600 104 package body SYS.DBMS_TRANSACTION
0x3a4d3c1c 1 anonymous block
0x3a676a38 45 package body ASSET.TASSETAPI
0x3a676a38 634 package body ASSET.TASSETAPI
0x3a67b494 3 anonymous block
0x3a6ace40 41 anonymous block
0x39fb62bc 692 package body SYS.DBMS_STATS_INTERNAL
0x3a09fcb4 9854 package body SYS.DBMS_STATS
0x3a09fcb4 10560 package body SYS.DBMS_STATS
0x3a09fcb4 13153 package body SYS.DBMS_STATS
0x3a09fcb4 19015 package body SYS.DBMS_STATS
。。。
TABLE: "SYS"."WRI$_OPTSTAT_TAB_HISTORY".""
TABLE: "SYS"."HIST_HEAD$".""
TABLE: "SYS"."WRI$_OPTSTAT_HISTHEAD_HISTORY".""
TABLE: "SYS"."TAB$".""
TABLE: "SYS"."SEG$".""
TABLE: "SYS"."IND$".""
TABLE: "SYS"."TRIGGER$".""
TABLE: "SYS"."OBJ$".""
TABLE: "SYS"."WRH$_SYSMETRIC_SUMMARY".""
TABLE: "SYS"."WRI$_OPTSTAT_HISTGRM_HISTORY".""
TABLE: "SYS"."CDEF$".""
TABLE: "SYS"."LINK$".""
TABLE: "SYS"."JOB$".""
TABLE: "SYS"."EXTERNAL_TAB$".""
TABLE: "SYS"."EXTERNAL_LOCATION$".""
ORA-00600: internal error code, arguments: [ORA-00600: internal error code, arguments: [4406], [0x3DCD09EC], [0x3DCCFF94], [], [], [], [], []
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
ORA-06512: at line 5
ORA-06512: at "ASSET.TOPSEXCEPTION", line 30
ORA-06512: at line 1
ORA-06512: at line 56
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
ORA-06512: at "SYS.DBMS_STATS", line 19089
], [], [], [], [], [], [], []
OPIRIP: Uncaught error 447. Error stack:
ORA-00447: fatal error in background process
ORA-00600: internal error code, arguments: [ORA-00600: internal error code, arguments: [4406], [0x3DCD09EC], [0x3DCCFF94], [], [], [], [], []
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
ORA-06512: at line 5
ORA-06512: at "ASSET.TOPSEXCEPTION", line 30
ORA-06512: at line 1
ORA-06512: at line 56
ORA-00600: internal error code, arguments: [15470], [0x3DCD09EC], [], [], [], [], [], []
ORA-06512: at "SYS.DBMS_STATS", line 19089
], [], [], [], [], [], [], []
可以看到此job执行一共失败了26次
SQL> select t.job_name,t.owner,t.failure_count from dba_scheduler_jobs t 2 where t.job_name='GATHER_STATS_JOB' 3 ; JOB_NAME OWNER FAILURE_COUNT ------------------------------ ------------------------------ ------------- GATHER_STATS_JOB SYS 26
手工执行job,报错依然,经检查是业务程序引起的,注意黑体部分,修正后问题解决,再次执行成功
SQL> exec dbms_stats.gather_database_stats_job_proc PL/SQL procedure successfully completed.
发表评论
-
buffer cache 的内部结构
2020-03-18 14:21 576BUFFER CACHE作为数据块的 ... -
Oracle OMC介绍
2020-03-18 13:19 484Oracle管理云服务(OMC)的大数据平台,自动收集的企业 ... -
参加Oracle勒索病毒防范专题培训会议
2019-09-27 17:15 5112019年7月22日,受邀参加Oracle勒索病毒防范专题培训 ... -
记一次内存换IO的Oracle优化
2019-09-27 16:50 826某客户数据库从P595物理 ... -
如何定位Oracle SQL执行计划变化的原因
2019-07-03 14:49 1458性能优化最难的是能够 ... -
如何定位Oracle SQL执行计划变化的原因
2018-10-30 09:24 1185性能优化最难的是能够 ... -
数据库性能优化目标
2018-10-08 10:59 518从数据库性能优化的场 ... -
数据库无法打开的原因及解决办法
2018-10-05 20:45 2117数据库的启动是一个相当复杂的过程。比如,Oracle在启动之前 ... -
怎么样彻底删除数据库?
2018-09-18 11:10 598Oracle提供了drop database命令用来删除数据库 ... -
Oracle减少日志量的方法
2018-09-10 10:17 865LGWR进程将LOG BUFFER中的 ... -
如何快速关闭数据库
2018-09-09 13:14 1231“一朝被蛇咬,十年怕井绳”。在没被“蛇”咬之前,很多DBA喜欢 ... -
关于《如何落地智能化运维》PPT
2018-05-17 10:19 1128在DTCC 2018发表《如何落地智能化运维》演讲,主要内容如 ... -
记录在redhat5.8平台安装oracle11.2容易忽视的几个问题
2018-05-11 19:58 577问题一:ping不通问题 在虚拟机上安装好linux系统后, ... -
《Oracle DBA实战攻略》第一章
2018-05-11 10:42 945即日起,不定期更新《OracleDBA实战攻略》一书电子版,请 ... -
Oracle 12c新特性
2018-05-11 10:33 898查询所有pdb [oracle@gj4 ~]$ sqlplu ... -
关于修改memory_target的值后数据库无法启动的问题
2017-02-28 12:24 3981操作系统:RHEL6.5 数据库版本:11.2.0.4 ... -
10g rac安装error while loading shared libraries libpthread.so.0 问题
2017-02-28 12:22 69311g rac安装在二节点跑脚本一般会报此错误: 解决这个问 ... -
记一次Oracle会话共享模式故障处理过程
2017-02-27 19:16 798故障简述 XXX第八人民医院HIS数据库7月13日11点左右从 ... -
RESMGR:cpu quantum等待事件处理过程
2017-02-27 18:23 2615由于数据库上线过程中出现大量的RESMGR:cpu quant ... -
谈谈log file sync
2014-03-19 14:18 1757数据库中的log file sync等待事件指的是,当user ...
相关推荐
从 Oracle Database 10g 开始,Oracle 在建库后就默认创建了一个名为 GATHER_STATS_JOB 的定时任务,用于自动收集 CBO 的统计信息,调用 DBMS_STATS.GATHER_DATABASE_STATS_JOB_PROC 收集统计信息。默认情况下在工作...
- 使用`BEGIN dbms_scheduler.disable('GATHER_STATS_JOB'); END;`来禁用自动收集任务。 ##### 2. 高度变化的表 - **处理方式**: - 将这些表上的统计信息设置为`NULL`,当Oracle遇到没有统计信息的对象时,会...
查询`dba_scheduler_jobs`可以查看`GATHER_STATS_JOB`的状态,判断自动分析是否开启。使用`dbms_scheduler.enable()`和`dbms_scheduler.disable()`可以控制该任务的启停。 5. **手动执行统计信息收集**: 对特定表...
从Oracle Database 10g开始,数据库默认创建了一个名为GATHER_STATS_JOB的定时任务,用于自动收集统计信息,以保持CBO的准确性。这个任务通常在非工作时间运行。如果不需要这个功能,可以使用`BMS_SCHEDULER.DISABLE...
WHERE job_name = 'GATHER_STATS_JOB'; ``` 这条SQL语句将显示自动收集机制的状态,如果ENABLED列为FALSE,那么自动收集机制未被启用。 三、启用自动收集机制 要启用自动收集机制,我们可以使用以下SQL语句: ``...
1. **Job名称:** `GATHER_STATS_JOB` 2. **Job收集的统计信息类型:** - **缺失的统计信息 (Missing statistics):** 指那些从未被收集过统计信息的对象。 - **过时的统计信息 (Stale statistics):** 当一个对象的...
EXEC DBMS_STATS.GATHER_DATABASE_STATS_JOB_PROC(); ``` 执行成功后,我们可以看到新表已经被收集统计信息。 ### 4. 验证统计信息 使用以下 SQL 语句来验证统计信息: ```sql SELECT TABLE_NAME, NUM_ROWS, ...
18. **DBMS_STATS.GATHER_SCHEMA_STATS**: 收集整个模式的统计信息,优化性能。 19. **DBMS_PROFILER**: 性能分析工具,追踪PL/SQL代码的执行时间。 20. **DBMS_METADATA_DIFF**: 比较并显示两个数据库对象之间的...
`DBMS_STATS.GATHER_TABLE_STATS`用于收集表的统计信息,`DBMS_STATS.PUSH_SCHEMA_STATS`将统计信息推送到数据字典。 13. **DBMS_APPLICATION_INFO**: 在PL/SQL程序中设置和查询应用信息,如客户端信息和工作负载...
1. **调整统计信息顾问频率**:可以通过修改数据库参数`_optimizer_gather_stats_job_freq`来控制统计信息顾问的执行频率。减少该参数的值可以降低顾问任务的运行次数,从而减缓SYSAUX表空间的增长。 2. **清理顾问...
从Oracle Database 10g开始,系统会自动创建GATHER_STATS_JOB任务来定期收集统计信息。 Oracle索引是提升查询速度的关键结构,它由根节点、分支节点和叶子节点构成。根节点指向分支节点,分支节点再指向叶子节点,...
exec dbms_job.what(2, 'dbms_stats.gather_table_stats(''scott'',''emp'');'); exec dbms_job.next_date('2', 'sysdate+1'); ``` 通过`DBMS_OUTPUT`和`DBMS_JOB`,开发者可以在Oracle环境中实现高级的调试和自动...
WHERE job_name = 'GATHER_STATS_JOB'; ``` **11g**: ```sql SELECT client_name, status FROM dba_autotask_client; ``` - **禁止自动收集统计信息的任务**: ```sql EXEC DBMS_AUTO_TASK_ADMIN.DISABLE( ...
5. **定期收集数据**:你可以通过调度任务(如Oracle的DBMS_JOB或DBMS_SCHEDULER)定期执行Statspack的`GATHER_SCHEMA_STATISTICS`或`GATHER_DATABASE_STATISTICS`过程。 6. **生成报告**:一旦数据被收集,就可以...
### Oracle数据库日常维护手册知识点概览 ...- **SQL命令**:`DBMS_STATS.GATHER_TABLE_STATS(ownname => 'SCHEMA_NAME', tabname => 'TABLE_NAME', cascade => TRUE);` - 用于收集表的统计信息。 - ...
- **命令**: `DBMS_STATS.GATHER_SYSTEM_STATS;` **3. 设置自动快照** - **命令格式**: `EXEC DBMS_WORKLOAD_REPOSITORY.SET_SNAPSHOT_INTERVAL(INTERVAL => <间隔时间>, MODE => 'MANUAL');` **4. 设置数据采集的...
- **方法**:使用`DBMS_STATS`包中的`GATHER_SCHEMA_STATS`过程来更新表的统计信息。 **5.8 检查缓冲区命中率** - **目的**:评估数据块缓存的有效性。 - **方法**:使用`V$SYSSTAT`视图中的`BUFFER_GETS`和`...