Oracle ORA-4031錯誤產生的原因首先這個錯誤發生時的表現如下:ORA-04031: unable to allocate XXXX bytes of shared memory (“shared pool,“unknown object”,”sga heap(1,0)”,”obj stat memor“)就是最基本的查詢簡單的動態效能檢視都無法完成:下面來細細的分析一下原因:這就需要從shared pool 的記憶體結構來分析了, 首先shared pool
關於instance 設定參數(scope sid) alter system set parameter 時候:文法為 alter system set parameter=value scope=(both(default),spfile,memory)<DEFERRED> sid=sid|*(default *) COMMENT<注釋>【sid】:主要用在 rac 下
設定同義字,方便使用select * from emp;等用於select * from abc;建立共有的同義字如果使用者的等級不夠建立public同義字,可以在system下授權:grant create any synonym to scott;grant create public synonym to scott;取消授權:revoke create any synoym from scott;revoke create public synoym from
The snapshot control file is a temporary snapshot control file that RMAN creates to re-synchronize from a read-consistent version of the control file. RMAN only needs a snapshot control file when re-synchronizing with the recovery catalog or when
主要是利用Oracle中記錄行的rowid唯一。 去除重複記錄(注意多次執行直到影響記錄為0行) delete from WBH_TEMP2 where terminal_id in ( select terminal_id from WBH_TEMP2 group by terminal_id having count(*)>