日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

oracle 安装ora 27102,Oracle数据库之ORA-27102: out of memory Linux-X86_64

發布時間:2024/3/12 linux 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle 安装ora 27102,Oracle数据库之ORA-27102: out of memory Linux-X86_64 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

本文主要向大家介紹了Oracle數據庫之ORA-27102: out of memory Linux-X86_64,通過具體的內容向大家展現,希望對大家學習Oracle數據庫有所幫助。

一、描述目前生產環境用X86服務器的是越來越多了,非核心系統基本不會用小型機了。客戶服務器擴內存,想修改SGA大小,但是提示報告內存溢出。原有物理內存8G,擴容到32G,SGA和PGA都需要進行調整才能起到優化的效果。

二、報錯信息如下SQL> startup nomountORA-27102: out of memoryLinux-x86_64 Error: 28: No space left on device第一感覺好像是物理內存不夠用了,我們設置SGA+PGA=物理內存的60%左右,結果就是報錯,這里提醒大家,修改參數之前,一定要備份參數文件。

三、分析我們要知道安裝數據庫的時候其實修改了一個文件/etc/sysctl.conf,這個文件里的內容大家要知道是什么意思才行,切勿復制粘貼。原因在這里:SHMALL is the total amount of shared memory, in pages, that the system can use at one time.

四、解決方法Set SHMALL equal to the sum of all the SGAs on the system, divided by the page size.

The page size can be determined using the following command:

$ getconf PAGE_SIZE 4096For example, if the sum of all the SGAs on the system is 16Gb and the result of? '$ getconf PAGE_SIZE' is 4096 (4Kb) then set shmall to 4194304 pages

As the root user set the SHMALL to 4194304 in the /etc/sysctl.conf file:

kernel.shmall = 4194304

then run the following command:

$ sysctl -p$ cat /proc/sys/kernel/shmall4194304

五、總結對于/etc/sysctl.conf這個文件不了解的同學,需要補課了。喜歡的朋友可以轉發,歡迎技術交流。

本文由職坐標整理并發布,希望對同學們學習Oracle有所幫助,更多內容請關注職坐標數據庫Oracle數據庫頻道!

總結

以上是生活随笔為你收集整理的oracle 安装ora 27102,Oracle数据库之ORA-27102: out of memory Linux-X86_64的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。