Oracle EBS串連數不足

來源:互聯網
上載者:User

發現有的時候,EBS會報串連數不足的問題。所以嘗試著提高了processes和sessions,EBS安裝完之後,資料庫init參數processes預設為200,sessions預設為400.這裡我把DB的processes和sessions提高到了500和1000。
processes                       = 500    # Max. no. of users x 2
sessions                        = 1000     # 2 X processes


修改完之後,重啟DB,參數就會生效。

addbctl.sh stop  
addbctl.sh start


查看參數設定

show parameter processes
show parameter sessions

文章Oracle EBS DB Init Parameters裡(見  ),有提到Oracle提供一個init parameter參考的設定。

關於Processes和sessions parameters,init.ora有相關描述
#########
#
# Processes and sessions parameters
#
# A database process can be associated with one or more database
# sessions. For all technology stack components other than Oracle
# Forms, there is a one-to-one mapping between sessions and processes.
#
# For Forms processes, there will be one database session per
# open form, with a minimum of two sessions per Forms user (one
# for the navigator form, and one for the active form).
#
# The sessions parameter should be set to twice the value of the
# processes parameter.
#
#########


另外如何查詢當下資料的串連數和最大串連數
  1. --當前的串連數   
  2. select count(*) from v$process;  
  3. --設定的最大串連數(預設值為200)   
  4. select value from v$parameter where name = 'processes';  
  5. ------------------------------------------------   
  6. --查看當前的session使用方式   
  7. SELECT  Count(*) FROM v$session;  
  8. 或  
  9. SELECT   username, machine, program, status, COUNT (machine) AS  
  10. FROM v$session  
  11. GROUP BY username, machine, program, status  
  12. ORDER BY machine;  
  13. --查看系統最大session數   
  14. select value from v$parameter where name = 'sessions';  

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.