In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Abnormality caused by temporary reuse, note!
SQL > create index cwdtest.testidx1 on cwdtest.tab_level_2 (FID) tablespace testidx
Create index cwdtest.testidx1 on cwdtest.tab_level_2 (FID) tablespace testidx
*
ERROR at line 1:
ORA-00376: file 3 cannot be read at this time
ORA-01110: data file 3:'/ opt/app/oracle/oradata/orcl/testidx01.dbf'
Alter system set db_block_checksum=false
System altered.
Select 'exec dbms_space_admin.segment_corrupt (''| | tablespace_name | |'','| | relative_fno | |','| | HEADER_BLOCK | |')'
2 from dba_segments where SEGMENT_TYPE='TEMPORARY'and TABLESPACE_NAME = 'TESTIDX'
'EXECDBMS_SPACE_ADMIN.SEGMENT_CORRUPT (''| | TABLESPACE_NAME | |'','| | RELATIVE_FNO |
Exec dbms_space_admin.segment_corrupt ('TESTIDX',3130)
SQL > SQL > exec dbms_space_admin.segment_corrupt ('TESTIDX',3130)
PL/SQL procedure successfully completed.
Select 'exec dbms_space_admin.segment_drop_corrupt (''| | tablespace_name | |'','| | relative_fno | |','| | HEADER_BLOCK | |')'
2 from dba_segments where SEGMENT_TYPE='TEMPORARY'and TABLESPACE_NAME = 'TESTIDX'
'EXECDBMS_SPACE_ADMIN.SEGMENT_DROP_CORRUPT (''| | TABLESPACE_NAME | |'','| | RELATIVE
Exec dbms_space_admin.segment_drop_corrupt ('TESTIDX',3130)
SQL > exec dbms_space_admin.segment_drop_corrupt ('TESTIDX',3130)
PL/SQL procedure successfully completed.
Select owner, segment_name, tablespace_name, relative_fno, HEADER_BLOCK
From dba_segments
Where SEGMENT_TYPE='TEMPORARY'
4 and TABLESPACE_NAME = 'TESTIDX'
No rows selected
SQL > exec SYS.DBMS_SPACE_ADMIN.TABLESPACE_REBUILD_BITMAPS ('TESTIDX')
BEGIN SYS.DBMS_SPACE_ADMIN.TABLESPACE_REBUILD_BITMAPS ('TESTIDX'); END
*
ERROR at line 1:
ORA-00376: file 3 cannot be read at this time
ORA-01110: data file 3:'/ opt/app/oracle/oradata/orcl/testidx01.dbf'
ORA-06512: at "SYS.DBMS_SPACE_ADMIN", line 120
ORA-06512: at line 1
SQL > SHOW PARAMETER db_block_checksum
NAME TYPE VALUE
-
Db_block_checksum string FALSE
SQL > alter system set db_block_checksum=true
System altered.
SELECT distinct (segment_name), owner, segment_type, partition_name FROM dba_extents
2 WHERE tablespace_name = 'TESTIDX'
No rows selected
SQL > create index cwdtest.testidx1 on cwdtest.tab_level_2 (FID) tablespace testidx
Index created.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.