In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.