介紹一個重新命名Oracle asm 磁碟組的工具renamedgTherenamedgtool enables you to change the name of a cloned disk group. The disk group must be dismounted on all nodes in the cluster before runningrenamedgon the disk group.renamedgrenames a disk group using a
今天是2014-06-06,在進行資料庫恢複的時候出現了一個久違的ora-600 [2662]錯誤,特整理如下:問題描述: system資料表空間誤刪,採用恢複資料檔案的方式將資料庫恢複到開始狀態,資料庫為非歸檔模式。在alter database open resetlog開啟資料庫的時候提示ora-600 【2662】錯誤。資訊如下:SQL> col member for a80SQL> select
如果表欄位太多,如果表中有些欄位比較大,即便是你只查有限的幾個欄位,在做表關聯和全表掃的時候,由於掃描的資料區塊多,效能方面還是會不理想。因為oracle掃描的時候是按照塊為單位掃描,讀取的時候也是按塊為單位讀取,所以這種功能無法在SQL層面上最佳化的時候,可以考慮做資料的垂直切分,下面來做個實驗:--製造資料不做垂直切分create table test( a number, b varchar2(4000),
Oracle Table Function在Oracle9i時引入,完美的相容了view和預存程序的優點:應用舉例:1.Table()函數:set feedback offcreate or replace type type_int_date_varchar2 as object (i integer, d date, v varchar2(99))/create or replace type table_int_date_varchar2 as table of
oracle資料庫正常啟動後,在本地可以正常訪問,但是遠程使用sqldevelop卻不能訪問,提示ORA 12505 Listener does not currently know of SID given in connection descriptor,解決這個問題之前,先看一下oracle伺服器正常啟動流程1.啟動監聽 命令:lsnrctl start2.登陸sqlplus 命令:sqlplus /nolog3.以系統管理員身份串連資料庫 命令:conn /
一、常見操作1、複製表結構create table t2 like t1 複製表資料insert into t2 select * from t12、mysql索引 alter table用來建立普通索引、unique索引或primary key索引 alter table t add index index_name(column_list) alter table t add