3個預設使用者syschange_on_install[as sysdba]systemmanagerscotttiger建立使用者CREATE USER t0nsha IDENTIFIED BY t0nsha;系統許可權GRANT CREATE SESSION TO t0nsha;GRANT CREATE TABLE TO t0nsha;GRANT UNLIMITED TABLESPACE TO t0nsha;REVOKE CREATE SESSION FROM t0nsha;REVOKE
Test Code:DECLAREBEGIN <<test0>>-- most normal way to handle exception. DECLARE except_test0 EXCEPTION; BEGIN RAISE except_test0; EXCEPTION WHEN except_test0 THEN dbms_output.put_line('test0 except_test0: SQLCODE=' ||
drop user : 僅僅是刪除使用者,drop user ×× cascade :會刪除此使用者名稱下的所有表和視圖。userSpecify the user to be dropped. Oracle Database does not drop users whose schemascontain objects unless you specify CASCADE or unless you first explicitly drop theuser's objects.CASCADE
Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1] Modified 07-JUN-2010 Type PROBLEM Status PUBLISHED In this Document Symptoms Changes Cause Solution ReferencesApplies to: Oracle
RAC 在安裝時意外中斷, 重新安裝clusterware 軟體, 安裝過程中沒有問題,在最後執行root.sh 指令碼的時候出現異常, 指令碼一閃而過,沒有執行成功。 #/u01/oracle/product/10.2.0/crs/root.shWARNING: directory '/u01/oracle/product/10.2.0' is not owned by rootWARNING: directory '/u01/oracle/product' is not owned by
An export from an Oracle9i database fails with:.... exporting triggersEXP-00056: ORACLE error 6550 encounteredORA-06550: line 1, column 26:PLS-00201: identifier 'XDB.DBMS_XDBUTIL_INT' must be declaredORA-06550: line 1, column 14:PL/SQL: Statement ig
1. 先通過top命令查看產用資源較多的spid號 2.查詢當前耗時的會話ID,使用者名稱,sqlID等:select sid,serial#,machine,username,program,sql_hash_value,sql_id, to_char(logon_time,'yyyy/mm/dd hh24:mi:ss') as login_time from v$sessionwhere paddr in (select addr from v$process where