ORA-00845 MEMORY_TARGET not supported on this system
問題描述:
ORA-00845: MEMORY_TARGET not supported on this system
問題定位:
ORACLE引數MEMORY_TARGET或SGA_TARGET的大小超過虛擬記憶體/dev/shm大小。
Linux安裝完後預設/dev/shm為實體記憶體的一半。
技術背景:
Linux大記憶體支援(Very Large Memory)使用了虛擬技術shmfs/tmpfs。/dev/shm目錄掛載型別為tmpfs,此共享記憶體用於交換,尤其對於大檔案優勢明顯。相對於ramfs,tmpfs的優勢在於動態調整實體記憶體的佔用,而ramfs不能調整。
/dev/shm與swap的區別:shm基於記憶體的檔案系統,swap基於硬碟的檔案系統。
在RHEL5.2系統中,安裝好ORALCE或者調整引數後啟動資料庫時提示如下:
ORA-00845: MEMORY_TARGET not supported on this system
問題定位:
ORACLE引數MEMORY_TARGET或SGA_TARGET的大小超過虛擬記憶體/dev/shm大小。
Linux安裝完後預設/dev/shm為實體記憶體的一半。
技術背景:
Linux大記憶體支援(Very Large Memory)使用了虛擬技術shmfs/tmpfs。/dev/shm目錄掛載型別為tmpfs,此共享記憶體用於交換,尤其對於大檔案優勢明顯。相對於ramfs,tmpfs的優勢在於動態調整實體記憶體的佔用,而ramfs不能調整。
/dev/shm與swap的區別:shm基於記憶體的檔案系統,swap基於硬碟的檔案系統。
解決方法:
1 修改MEMORY_TARGET或者SGA_TARGET引數大小
注:當/dev/shm已經調整到合適值時,調整引數。
2 調整/dev/shm的大小。
修改/etc/fstab,重新mount /dev/shm,然後啟動資料庫。
(1)df -k /dev/shm 檢視大小
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 4089416 0 4089416 0% /dev/shm
(2)vim /etc/fstab 更改引數
#tmpfs /dev/shm tmpfs defaults 0 0
tmpfs /dev/shm tmpfs defaults,size=10240M 0 0
(3)重新載入
umount /dev/shm
mount /dev/shm
df -k /dev/shm
(4)sqlplus / as sysdba
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24070945/viewspace-691777/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MEMORY_TARGET not supported on this system
- 解決辦法:ORA-00845: MEMORY_TARGET not supported on thi
- System.Data.SqlClient is not supported on this platform.SQLclientPlatform
- ASP.Net Core 3.1 With Autofac ConfigureServices returning an System.IServiceProvider isn't supported.ASP.NETIDE
- 解決The given version [xx] is not supported, only version 1 to 10 is supported in this buildUI
- Project facet Java version 1.8 is not supportedProjectJava
- cuda runtime error (801) : operation not supportedError
- KSQLException: The authentication type 10 is not supported.SQLException
- 解決 Lumen 中 client charset is not supportedclient
- ORA-00837: Specified value of MEMORY_TARGET greater than MEMORY_MAX_TARGET
- System
- 問題一:Content-Type header is not supportedHeader
- System類
- 解決Project facet Java version 1.8 is not supported.ProjectJava
- 轉載:System:System.arraycopy方法詳解
- Cross origin requests are only supported for protocol schemes: http, data, chromROSProtocolSchemeHTTP
- 連線DB2時出錯:encoding not supported??DB2Encoding
- Mac新建資料夾報錯,mkdir():Operation not supportedMac
- System Design InterviewView
- System design summary
- System.arraycopy
- 1.5.2.3. SYSTEM
- System Error CodesError
- golang system callGolang
- pyhton3解決”tuple parameter unpacking is not supported”問題
- Maven - Maven-dependency-plugin (goals "copy-dependencies","unpack") is not supportedMavenPluginGo
- 用putty連線AWS,報錯“No supported authentication methods available"AI
- system.exit(0)和system.exit(1)的區別
- remount of /system failed: Read-only file system原因及解決REMAI
- Understanding System Statistics(zt)
- System.Net.HttpHTTP
- operating-system structuresStruct
- D. Rating System
- System.arraycopy(...) 用法
- List of Android System PermissionsAndroid
- The Network Diagram on the PVE system
- 30-System類
- System Generator20201224
- C# convert System.Drawing.Bitmap to System.Windows.Media.Imaging.BitmapImageC#WindowsAPI