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;?




本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/539645.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/539645.shtml
英文地址,請注明出處:http://en.pswp.cn/news/539645.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

【Spark】Spark-空RDD判斷與處理

Spark-空RDD判斷與處理 SparkKafkaDemo - Streaming Statisticsrdd isempty count_百度搜索Spark RDD.isEmpty costs much time - Stack OverflowSpark Streaming中空RDD的處理-Spark-about云開發[SPARK-5270] Provide isEmpty() function in RDD API - ASF JIRA19 Spark Stre…

JDBC開發步驟

JDBC開發步驟&#xff1a; 1、加載數據庫驅動 2、通過DriverManager獲取數據庫連接Connection 3、通過Connection獲取Statement/PreparedStatement 4、將SQL語句綁定到Statement/PreparedStatement中去&#xff0c;準備向數據庫發送SQL語句 5、執行完sql語句后&#xff0c…

DAY3-“忙里偷閑”找你玩耍2018-1-11

接觸Java第三天&#xff0c;嘿嘿&#xff0c;今天近代史期末考試&#xff0c;提前一小時交卷&#xff0c;回宿舍繼續學習&#xff0c;中午去見女神姐姐了&#xff0c;每次見完女神姐姐都是滿滿地動力。這次女神姐姐告訴我們要好好規劃自己的時間&#xff0c;早上花20分鐘規劃好…

java 數據保存內存_java中的各種數據類型在內存中存儲的方式 一

1.java是如何管理內存的java的內存管理就是對象的分配和釋放問題。(其中包括兩部分)分配&#xff1a;內存的分配是由程序完成的&#xff0c;程序員需要通過關鍵字new為每個對象申請內存空間(基本類型除外)&#xff0c;所有的對象都在堆(Heap)中分配空間。釋放&#xff1a;對象的…

Gradle學習之構建java與web項目

一.使用Gradle的java插件構建Java項目 1&#xff09;Gradle插件包含了若干個接口定義和已有的任務項&#xff0c;語法結構&#xff1a;apply plugin:插件名 ,此處我們定義插件 apply plugin : java 2&#xff09;Gradle希望我們的java項目需要遵循以下規范&#xff1a; src/mai…

Hibernate單表開發步驟

Hibernate單邊開發步驟&#xff1a; 1、創建Configuration&#xff0c;加載src/hibernate.cfg.xml配置文件&#xff0c;該配置文件中又去加載Hello.hbm.xml映射文件。 2、通過Configuration創建重量級SessionFactory。重量級&#xff1a;創建慢&#xff0c;內存占用大&#…

基于ssm出租車管理系統的設計與實現論文

摘 要 現代經濟快節奏發展以及不斷完善升級的信息化技術&#xff0c;讓傳統數據信息的管理升級為軟件存儲&#xff0c;歸納&#xff0c;集中處理數據信息的管理方式。本出租車管理系統就是在這樣的大環境下誕生&#xff0c;其可以幫助管理者在短時間內處理完畢龐大的數據信息&…

redission java_Java注解如何基于Redission實現分布式鎖

這篇文章主要介紹了Java注解如何基于Redission實現分布式鎖,文中通過示例代碼介紹的非常詳細&#xff0c;對大家的學習或者工作具有一定的參考學習價值,需要的朋友可以參考下1、定義注解類Target({ ElementType.METHOD })Retention(RetentionPolicy.RUNTIME)Documentedpublic i…

Spring Security源碼分析四:Spring Social實現微信社交登錄

2019獨角獸企業重金招聘Python工程師標準>>> 社交登錄又稱作社會化登錄&#xff08;Social Login&#xff09;&#xff0c;是指網站的用戶可以使用騰訊QQ、人人網、開心網、新浪微博、搜狐微博、騰訊微博、淘寶、豆瓣、MSN、Google等社會化媒體賬號登錄該網站。 前言…

jdbc開發優缺點

1&#xff09;優點&#xff1a;簡單易學,上手快,非常靈活構建SQL&#xff0c;效率高 2&#xff09;缺點&#xff1a;代碼繁瑣&#xff0c;難以寫出高質量的代碼&#xff08;例如&#xff1a;資源的釋放&#xff0c;SQL注入安全性等&#xff09; 開發者既要寫業務邏輯&#xff0…

java numberformat 方法_Java NumberFormat parse()用法及代碼示例

parse(str)方法是java.text.NumberFormat的內置方法&#xff0c;該方法從給定字符串的開頭解析文本以產生數字。該方法可能不使用給定字符串的整個文本用法:public Number parse?(String str)參數&#xff1a;該函數接受一個字符串str&#xff0c;其開頭應進行分析。返回值&am…

hibernate開發優缺點

1&#xff09;優點&#xff1a;不用寫SQL&#xff0c;完全以面向對象的方式設計和訪問&#xff0c;不用管底層具體數據庫的語法&#xff0c;&#xff08;例如&#xff1a;分頁&#xff09;便于理解。 2&#xff09;缺點&#xff1a;處理復雜業務時&#xff0c;靈活度差, 復雜的…

求方程的解 Solve the Equation

為什么80%的碼農都做不了架構師&#xff1f;>>> 問題&#xff1a; Solve a given equation and return the value of x in the form of string "x#value". The equation contains only , - operation, the variable x and its coefficient. If there is …

[C#學習] DataAdapter.Fill()分頁

查詢結果分頁是以較小數據子集&#xff08;即頁&#xff09;的形式返回查詢結果的過程。 它通常用于以易于管理的小塊形式向用戶顯示結果。DataAdapter 提供了通過 Fill 方法的重載來僅返回一頁數據的功能。 但是&#xff0c;對于大量的查詢結果&#xff0c;它可能并不是首選的…

java流讀取字符串_javaIO之字符流是怎么讀取的?

最近在看io相關的知識&#xff0c;遇到一些小問題&#xff0c;以下有例子來說明問題&#xff1a;比如&#xff1a;12345 是一個十進制數根據ASCII碼找到是 &#xff1a;二進制 00110001 00110010 00110011 00110100 00110101十進制4950515253十六進制 0x310x320x330x340x35文件…

什么是mybatis,mybatis有什么特點

jdbc開發優缺點&#xff1a;http://blog.csdn.net/zengmingen/article/details/51180796 hibernate開發優缺點&#xff1a;http://blog.csdn.net/zengmingen/article/details/51180805 1&#xff09;基于上述二種支持&#xff0c;我們需要在中間找到一個平衡點呢&#xff1f;結…

簡易RPC框架實現

寫在最前面 PRC(Remote Procedure Call) 遠程過程調用。通俗的講就是程序通過RPC框架調用遠程主機的方法就如同調用本地方法一樣。Dubbo就是這樣一個Rpc框架&#xff0c;本文主要參考Dubbo的設計思路&#xff0c;簡易實現了Rpc框架。 本文涉及到知識點包括&#xff1a; Jdk 動態…

kafka java獲取topic_通過編程方式獲取Kafka中Topic的Metadata信息

如果我們需要通過編程的方式來獲取到TopicMetadataRequest請求到 def findLeader(topic: String): Unit {val consumer connect("www.iteblog.com", 9092)val req TopicMetadataRequest(TopicMetadataRequest.CurrentVersion,0, kafkaGroupId, List(topic))val to…

redis java 遍歷key_java遍歷讀取整個redis數據庫實例

redis提供了靈活的數據查詢方式&#xff0c;最牛的就是key的搜索支持正則表達式。jedis.keys(“*”);表示搜索所有keyjedis.keys(“abc*”)表示搜索開頭為abc的key數據遍歷了key就能遍歷到value。其實就是一個setRedisDO rd new RedisDO();rd.open();Set s rd.jedis.keys(&qu…

js學習

為什么80%的碼農都做不了架構師&#xff1f;>>> /* my code */ var gArrSpell [ 1111, 2222, 3333, 4444, 5555, 6666, 7777, 8888, 999999, AAAA, bbbb, cccc, dddd, eeee, fffff ];var gArrSplDmg [11,12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24…