標籤:概述:鎖表是很容易發生的現象,當有多人對錶進行操作時就容易發生。如下是解決鎖表的步驟鎖表原因:由於Oracle資料庫具有保持資料的一致性,所以當一個人對錶進行操作,沒有提交,另一個人在需要操作的時候,就不能操作,必須等表提交,就一直處於等待狀態,就導致鎖表。鎖表報錯資訊: 如果發現修改一個表資料時不能提交而報下面的錯誤:Record is locked by another user解決方案:
標籤:Oracle資料庫的經典問題 snapshot too old是什麼原因引起的ORACLE經典錯誤求解:ORA-1555錯誤(Snapshot too old ) - ... 書上說是因為the rollback image need for read consistency has prbably been overwriteten by an active transaction.
標籤:在安裝完oracle資料庫後,以sql developer的方式啟動資料庫:結果提示一個小框,提示Enter the Full PathName for java.exe對此解決方式: 在所安裝的oracle路徑下尋找java.exe檔案,找到以下兩個路徑的java.exe: 第一個:D:\app\Administrator\product\11.2.0\dbhome_1\jdk\jre\bin\java.exe
標籤:show-space oracle tom大神寫了一個用於查看Oracle資料庫物件空間使用方式。 下面示範一下如何使用:–工具源碼CREATE OR REPLACE PROCEDURE show_space(p_segname IN VARCHAR2, p_owner IN VARCHAR2 DEFAULT USER,
標籤:excel串連列名產生oracle注釋notes: A2為列名,B2為注釋="comment on column ColAgreementHeader."&A2&" is q‘{"&B2&"}‘;" 效果如下: comment on column table1.Id is q‘{PK}‘;comment on column table1.col1 is q‘{Counterparty Organization ID}‘;comment on
標籤:文法delete from aa truncate table aa 區別 1.delete from後面可以寫條件,truncate不可以。2.delete from記錄是一條條刪的,所刪除的每行記錄都會進日誌,而truncate一次性刪掉整個頁,因此日至裡面只記錄頁釋放,簡言之,delete from更新日誌,truncate基本不,所用的交易記錄空間較少。3.delete from刪空表後,會保留一個空的頁,truncate在表中不會留有任何頁。4.當使用行鎖執行 DELETE
標籤:系統:RHEL6.5 + oracle11G x86_64 (CentOS上安裝與此大同小異)使用本地yum源(提前下載pdksh包),具體過程參考(適用於RHEL/CentOS):http://www.cnblogs.com/chinas/p/4536181.html首先,官網介紹安裝的大體過程參考:Logging In to the System as root 以root身份登入系統Checking the Hardware Requirements
標籤:先看oracle 10g的官方文檔:Database UtilitiesData Performance Improvements for Data Pump Export and ImportThe improved performance of the Data Pump Export and Import utilities is attributable to several factors, including the following:Multiple worker
標籤:[[email protected] ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.4.0 Production on Mon Apr 20 17:19:32 2015Copyright (c) 1982, 2013, Oracle. All rights reserved.Connected to an idle instance.SQL> startup ORACLE instance started.Total