日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

ORA-08103: object no longer exists

發布時間:2025/3/11 编程问答 25 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ORA-08103: object no longer exists 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.


今天工具箱報錯:

ORA-08103:?object?no?longer?exists?
查了原因,是有session在操作表,比如插入,更新等。而工具箱這個操作剛好在select表,所以報錯。




-------下文是英文解釋-----

ORA-08103: object no longer exists錯誤,
后描述是其中一進程順序執行truncate,insert動作,而同時有另一進程對
同一表做select動作,造成ora-8103
metalink資料:
fact: Oracle Server - Enterprise Edition 8
symptom: Error performing a SELECT statement
symptom: ORA-08103: object no longer exists
symptom: Table is being truncated by other session
symptom: Analyze table validate structure cascade returns no errors
cause: This ORA-08103 occurs on the next block read after the truncate?
command.
The LOCK TABLE IN EXCLUSIVE MODE does not prevent the table from being
SELECTED from. Thus, when the query has started and while this query runs
and the truncate occurs, this ORA-08103 may surface on the next block read.
This is considered intended behavior.
When a TRUNCATE occurs the DATAOBJ# in OBJ$ gets increased by one and thus
may lead to this ORA-08103 'object no longer exists'

?

fix:

Possible solutions are:
- Use DELETE instead of TRUNCATE
- Use SELECT FOR UPDATE as this will try to lock the table

?

?

另ora-08103還有其他解釋:

Solution: 'ORA-8103: Object no longer exists' When Insert Into External Table after Truncate With Storage Performed

?

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.3
This problem can occur on any platform.

Symptoms

The following error can occur on an insert with SQL Loader?into an?external organized table after a truncate with storage option has been performed

ORA-08103: object no longer exists

SQL> insert?
/*+ PARALLEL(a, 8)*/?
into iad_o_ast_new a?
select /*+ full(b) parallel(b,8)*/?
* from iad_o_ast_ext b?
where rownum<10000 ;?
into iad_o_ast_new a?
*?
ERROR at line 3:?
ORA-08103: object no longer exists

.

Changes

The table was truncated with storage option before the insert .

Cause

The bitmap information is not correct after truncating with the storage option.? The solutions update the bitmap information in the tablespace.?

Solution

There are two known solutions at this time.

1.??Add another datafile to increase the size of the tablespace for the insert.? You will need to still use the correct truncate option next time you truncate the table.

2.? Drop the table and recreate it.? You will need to still use the correct truncate option next time you truncate the table.?

Do not truncate the table with the storage option.

Do not truncate the base table using:?
truncate?;?
truncate?drop storage;?


Use the following instead:?
truncate?reuse storage;?




總結

以上是生活随笔為你收集整理的ORA-08103: object no longer exists的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。