ситуация похожая:
база магазина
oracle 10.2.0.5 , win2003 32 bit
оптимайзер запускается с -c=о
и останавливается на
Код:
26.07.13 00:13:20 -- Gather stats... Table : "SUPERMAG"."SMCASHCHECKITEMS"
26.07.13 00:13:20 -- Gather...
26.07.13 00:49:54 -- Validating...
сделал
Код:
alter table supermag.SMCASHCHECKITEMS move;
отработало
снова запустил оптимайзер с -c=o
Код:
<skip>
25.07.13 23:03:00 -- Tables check...
25.07.13 23:03:04 -- **************************************************************
25.07.13 23:03:04 -- Gathering list of invalid indexes
25.07.13 23:03:06 -- Rebuilding of SUPERMAG.SMCCASHCHECKITEMS_PK :2 : 580Mb
25.07.13 23:09:16 -- Rebuilding of SUPERMAG.SMCASHCHECKITEMS_ART :1 : 383Mb
25.07.13 23:13:48 -- **************************************************************
25.07.13 23:13:48 -- Partitions and subpartitions state check
25.07.13 23:13:49 -- **************************************************************
25.07.13 23:13:49 -- Gathering list of invalid index partitions
25.07.13 23:13:49 -- **************************************************************
25.07.13 23:13:49 -- Gathering list of invalid index subpartitions
25.07.13 23:13:50 -- Index rebuild completed...
25.07.13 23:13:50 -- **************************************************************
<skip>
26.07.13 00:00:04 -- Table : SUPERMAG.SMCASHCHECKITEMS Size : 728Mb
26.07.13 00:00:05 -- Standart optimization... 14
26.07.13 00:02:26 -- **************************************************************
26.07.13 00:02:26 -- Gathering list of invalid indexes
26.07.13 00:02:28 -- Rebuilding of SUPERMAG.SMCCASHCHECKITEMS_PK :2 : 582Mb
26.07.13 00:08:40 -- Rebuilding of SUPERMAG.SMCASHCHECKITEMS_ART :1 : 379Mb
26.07.13 00:13:19 -- **************************************************************
26.07.13 00:13:19 -- Partitions and subpartitions state check
26.07.13 00:13:19 -- **************************************************************
26.07.13 00:13:19 -- Gathering list of invalid index partitions
26.07.13 00:13:20 -- **************************************************************
26.07.13 00:13:20 -- Gathering list of invalid index subpartitions
26.07.13 00:13:20 -- Index rebuild completed...
26.07.13 00:13:20 -- **************************************************************
26.07.13 00:13:20 -- Gather stats... Table : "SUPERMAG"."SMCASHCHECKITEMS"
26.07.13 00:13:20 -- Gather...
26.07.13 00:49:54 -- Validating...
и опять за 6 часов конца операции не дождался ...
руками пока не пробовал
Код:
ANALYZE TABLE "SUPERMAG"."SMCASHCHECKITEMS" VALIDATE STRUCTURE;
а алерте:
Код:
Thu Jul 25 22:49:20 2013
Some indexes or index [sub]partitions of table SUPERMAG.SMCASHCHECKITEMS have been marked unusable
.........................
Fri Jul 26 00:02:26 2013
Some indexes or index [sub]partitions of table SUPERMAG.SMCASHCHECKITEMS have been marked unusable
что можно сделать?