indexes of sysman [message #445674] |
Wed, 03 March 2010 05:48 |
gir_sat
Messages: 64 Registered: October 2008 Location: Mumbai
|
Member |
|
|
Hi all,
I am facing problem of logical block curruption.
SQL> select * from v$database_block_corruption;
FILE# BLOCK# BLOCKS CORRUPTION_CHANGE# CORRUPTIO
---------- ---------- ---------- ------------------ ---------
3 61454 1 1417157166 LOGICAL
3 31256 1 1417011117 LOGICAL
OWNER CONSTRAINT_NAME C TABLE_NAME
------------------------------ ------------------------------ - ------------------------------
SYSMAN MGMT_METRICS_RAW_PK P MGMT_METRICS_RAW
Can i recreate the SYSMAN schema index by dropping this one?
Thanks in advancd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: indexes of sysman [message #585325 is a reply to message #585313] |
Thu, 23 May 2013 12:48 |
|
dmrojasb
Messages: 3 Registered: May 2013 Location: Ecuador
|
Junior Member |
|
|
Hi Michel,
I solved this issue following this steps:
1. Open the DB in Restrict Mode.
2. Run following SQL on database as SYSMAN user to recreate MGMT_METRICS_RAW table.
-1. select object_name, object_type from user_objects where status='INVALID';
-2. DROP TABLE MGMT_METRICS_RAW
-3. CREATE TABLE MGMT_METRICS_RAW
(target_guid RAW(16) NOT NULL,
metric_guid RAW(16) NOT NULL,
key_value VARCHAR2(256) DEFAULT ' ',
collection_timestamp DATE NOT NULL,
value NUMBER DEFAULT NULL,
string_value VARCHAR2(4000) DEFAULT NULL,CONSTRAINT mgmt_metrics_raw_pk
PRIMARY KEY (target_guid, metric_guid, key_value, collection_timestamp))
ORGANIZATION INDEX PCTFREE 0 COMPRESS 3 INITRANS 4
OVERFLOW INCLUDING value
MONITORING;
3. Run an analyze on this table and its index.
SQL> analyze table MGMT_METRICS_RAW validate structure cascade;
4. Shutdown and open the database.
But i have another problem when i do a select on some tables using index or when i try to rebuild some indexes. The error is:
ERROR at line 1:
ORA-00600: internal error code, arguments: [25027], [49], [12595041], [], [],
[], [], [], [], [], [], []
|
|
|
|