Oracle 資料庫調優

2021-09-12 08:58:11 字數 598 閱讀 5178

通常我們在安裝完oracle資料庫以後本地就直接使用了,但是用在正式的生產環境上還是需要一點優化的,否則就會是預設的最低配機器配置。難以發揮伺服器的效能。

這裡記錄一下比較常用的幾個引數:

進入檔案

/etc/sysctl.conf

kernel.shmmax=24051816858  (記憶體的70%)

kernel.sem=2010 257280 2010 128

檔案:

/etc/security/limits.conf

oracle   soft   nproc    65535

oracle hard nproc 131072

oracle soft nofile 65535

oracle hard nofile 131072

oracle soft core unlimited

oracle hard core unlimited

oracle資料庫調優筆記

select tablespace name,file id,bytes 1024 1024,file name from dba data files order byfile id selectgroup member from v logfile select from v logfile s...

資料庫調優

1 資料庫調優 計算機硬體調優 資料庫物件的放置策略 利用資料庫分割槽技術,均勻地把資料分布在系統的磁碟中,平衡i o 訪問,避免i o 瓶 頸 使用磁碟硬體優化資料庫 基本表設計優化 第三正規化的基本特徵 是非主鍵屬性只依賴於主鍵屬性。優點 一是能消除 冗餘資料 節省磁碟儲存空間 二是有良好的資料...

資料庫調優

檢視資料庫連線個數 show global variables like max connections 資料庫連線不上可能是max connections數太少了 增加連線數 配置檔案 etc my.cnf.d server.cnf mysqld mysqld max connections 10...