Time of Update: 2014-11-25
標籤:oracle 鎖表 一次開發人員直接在資料庫伺服器上做delete table作業系統,由時在上班高峰運行,造成長時間執行無反應,進而把SQLPLUS用戶端關閉掉,再次運行刪除語句,造成資料庫運行緩慢。 詢問操作過程知道了是由鎖表造成,最終處理;本文只是類比鎖表處理過程,下次遇到相同問題可以快速處理。1. 查看資料庫的等待事件如果不清楚原因,可以通過先通過等待事件進行分析。SQL> select
Time of Update: 2014-11-24
標籤:blog http io ar os sp 檔案 資料 on 精簡的美麗......一、環境 開發環境
Time of Update: 2014-11-22
標籤:使用 sp 資料 問題 時間 管理 tt 資料庫 sql oracle 10g在win7x64下的安裝: 第一次直接雙擊setup,出錯了……
Time of Update: 2014-11-23
標籤:blog http io ar os 使用 sp for 檔案 首先呢,我們訪問了Oracle的官網: www.oracle.com
Time of Update: 2014-11-21
標籤:io ar os 使用 sp for 資料 on art 本文並不準備介紹全部的oracle函數,當前情勢下,俺也還沒這個時間,需要學習的東西太多了,要把多數時間花在學習經常能用上的技術方
Time of Update: 2014-11-20
標籤:style io ar os sp strong on art size 文法:instr( fatherstr, sonstr [, start_position [,
Time of Update: 2014-11-20
標籤:des style blog http io ar os 使用 sp 以下轉載自:http://blog.itpub.net/29324876/viewspace-1096741/&nbs
Time of Update: 2014-11-19
標籤:oracle sql 經常出現一個問題,oracle的某張表突然無法更新了,無論是通過pl/sql Developer 還是通過sqlplus都無法更新,執行update語句或者執行select * from table_name for update 都一樣,一直處於執行狀態,無法完成,這時候我就猜想是不是session被鎖死了呢?帶著這個問題,我們寫一條SQL語句: --鎖表查詢SQLSELECT
Time of Update: 2014-11-18
標籤:oracle 資料庫 rhel 安裝環境: RHEL 6.4 x86_64 oracle 11.2.0.1
Time of Update: 2014-11-17
標籤:ar sp 資料 bs nbsp c oracle 資訊 測試 首先truncate是DDL語句,而delete是DML語句。truncate的刪除比delete快很多,尤其是表資料量大的
Time of Update: 2014-11-15
標籤:blog http ar 使用 sp strong 檔案 資料 on 前言這個章節主要想說的是Oracle的體繫結構,這個也是理論強些。還有一些比較理論的知識點(比如資料表空間啊),就暫時
Time of Update: 2014-11-17
標籤:style blog http io color ar 使用 sp 資料 本文轉載自:http://www.cnblogs.com/linjiqin/archive/2011/04/18/
Time of Update: 2014-11-13
標籤:style blog http io color ar sp div on 本函數可以將“目標字串”以“指定字串”進行拆分,並通過表結構返回
Time of Update: 2014-11-14
標籤:ar sp 資料 on log ad as size 資料庫 //建立暫存資料表空間create temporary tablespace test_temp tempfile
Time of Update: 2014-11-13
標籤:style blog io color ar sp 檔案 資料 div 1:日期範圍上smalldatetime的有效時間範圍1900/1/1~2079/6/6datetime的有效時間範
Time of Update: 2014-11-11
標籤:oracleCREATE OR REPLACE TRIGGER TRG_KC_SPRK_i BEFORE INSERT ON KC_SPRK FOR EACH ROWDECLARE vSCBH varchar2(40); iCount NUMBER; iFor number;BEGIN select t.bhqz into vSCBH
Time of Update: 2014-11-09
標籤:oracle 資料泵 expdp不依賴和參考NLS_LANG的設定,而是完全按照資料庫本身的字元集進行轉換, 平時資料量不大時一直採用exp/imp導資料庫,到了資料量大的時候expdp/impdp就看到效果了,一次exp匯出28G的DMP檔案用了3個小時,採用EXPDP用了20分鐘。1. 建立測試資料SQL> create tablespace DATA datafile
Time of Update: 2014-11-08
標籤:style http color ar os 使用 sp 檔案 資料 oracle下匯出某使用者所有表的方法
Time of Update: 2014-11-08
標籤:blog http io ar 使用 sp for 資料 div 首先,你要有一張表!CREATE TABLE example(ID Number(4) NOT NULL PRIMARY
Time of Update: 2014-11-06
標籤:blog http io ar os 使用 for sp 資料 首先要確保你的oracle和mysql串連沒有問題,我的oracle10g和mysql5.2,工具是mysql-gui-to