查看錶索引資訊 需要用到dba_indexes, dba_ind_columns,查看錶索引列資訊,包括複合索引的指令碼: WITH nonformat AS (SELECT i.index_name,i.table_name,t.column_name,t.column_position,i.uniqueness,t.table_owner FROM
user, user account, schema的區別A user isa person who connects to a user account by establishing a session against theinstance and log on with the user account nameA schemais a set of objects owned by a user
在手動寫ASM參數檔案後啟動ASM遇到一個問題,在啟動asm執行個體的時候提示:ORA-29701 :unable to connect to Cluster Manager通過對於聯機文檔的解讀,我瞭解到是沒有添加CSS服務的原因,好,下面我們在root使用者下執行/u01/app/Oracle/product/10.2/db_1/bin/localconfig add命令去添加CSS服務,好!問題解決,但是在啟動asm執行個體卻報了ORA-15110: nodiskgroups
Suppose a subprogram declares an IN parameter, an OUT parameter, and an IN OUT parameter. When you call the subprogram, the IN parameter is passed by reference. That is, a pointer to the IN actual parameter is passed to the corresponding formal
這兩天學習Oracle的觸發器,建立觸發器的時候時不時會遇到:“無法對sys擁有的對象建立觸發器”的錯誤提示。使用的使用者登入是自己建立的新使用者XXX下登入,之後再XXX使用者下建立一個名為MECITY的資料表空間,接著在XXX使用者下的MECITY資料表空間下建立名為CITYS的表。然後,想給CITY表建立一個觸發器,使每次插入資料時表的ID列會自動增加1。建立觸發器語句:CREATE TRIGGER TRI_CITY_IDBEFORE INSERT ON CITYSFOR EACH
配置data guard網路監聽的時候,串連測試報錯如下:ERROR:ORA-12514: TNS:listener does not currently know of service requested in connectdescriptor出錯原因是由於,在修改init$Oracle_SID.ora檔案時,在主庫裡面新添加了一項db_unique_name=10gpri;備庫上新添加一項db_unique_name=10gstandby.在配置監聽檔案和用戶端tnsnames.ora時,
今天把虛擬機器的記憶體改小了一點,然後啟動資料的時候就出現如下錯誤:SQL> startupORA-00845: MEMORY_TARGET not supported on this system我猜想應該是系統記憶體和sga衝突的問題,後來到網上查了一下,果然如此:來自Oracle的官方解析是:Starting with Oracle Database 11g, the Automatic Memory Management feature requires more shared