- 最后登录
- 2015-3-25
- 在线时间
- 14 小时
- 威望
- 0
- 金钱
- 94
- 注册时间
- 2013-12-30
- 阅读权限
- 10
- 帖子
- 31
- 精华
- 0
- 积分
- 0
- UID
- 1613
|
1#
发表于 2014-3-4 09:33:03
|
查看: 10360 |
回复: 7
昨天有个分区表,交换了30多个分区(将业务表30多个分区交换到历史表,然后删除业务表这30多个分区),然后今天早上收集统计信息的时候报错了,请教各位,这个需要重建索引吗?为什么收集统计信息的时候会报错?请各位指教,alterlog和trace信息如下:
alertlog:
Mon Mar 03 22:46:36 CST 2014
GATHER_STATS_JOB encountered errors. Check the trace file.
Mon Mar 03 22:46:36 CST 2014
Errors in file /Data/apps/oracle/admin/detail/bdump/detail_j003_5334.trc:
ORA-12801: error signaled in parallel query server P005
ORA-01502: index 'REPORTUSER.IDX_PROVINCE_DAY' or partition of such index is in unusable state
/Data/apps/oracle/admin/detail/bdump/detail_j003_5334.trc信息:
/Data/apps/oracle/admin/detail/bdump/detail_j003_5334.trc
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /Data/apps/oracle/product/10.2.0/db_1
System name: Linux
Node name: localhost.localdomain
Release: 2.6.18-348.el5
Version: #1 SMP Tue Jan 8 17:53:53 EST 2013
Machine: x86_64
Instance name: detail
Redo thread mounted by this instance: 1
Oracle process number: 30
Unix process pid: 5334, image: oracle@localhost.localdomain (J003)
*** 2014-03-03 22:46:36.917
*** ACTION NAME:(GATHER_STATS_JOB) 2014-03-03 22:46:36.895
*** MODULE NAME:(DBMS_SCHEDULER) 2014-03-03 22:46:36.895
*** SERVICE NAME:(SYS$USERS) 2014-03-03 22:46:36.895
*** SESSION ID:(134.941) 2014-03-03 22:46:36.895
ORA-12801: error signaled in parallel query server P005
ORA-01502: index 'REPORTUSER.IDX_PROVINCE_DAY' or partition of such index is in unusable state
*** 2014-03-03 22:46:36.917
GATHER_STATS_JOB: GATHER_TABLE_STATS('"REPORTUSER"','"STATIC_AGG_PROVINCE_DAY"','""', ...)
ORA-12801: error signaled in parallel query server P005
ORA-01502: index 'REPORTUSER.IDX_PROVINCE_DAY' or partition of such index is in unusable state |
|