日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問(wèn)題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷解決方案
Oracle并發(fā)連接數(shù)的設(shè)置方案

以下的文章會(huì)向你介紹Oracle并發(fā)連接數(shù)在什么的情況下是可以設(shè)置,在什么的情況下是不可以對(duì)其進(jìn)行設(shè)置的,以及相關(guān)的查詢解決方案的介紹。以下就是文章的具體內(nèi)容的介紹,希望你會(huì)有所收獲,

創(chuàng)新互聯(lián)提供高防服務(wù)器、云服務(wù)器、香港服務(wù)器、達(dá)州電信機(jī)房

OERR: ORA-12519 TNS:no appropriate service handler found

客戶端連接間歇性失敗,報(bào)錯(cuò)ORA-12519

 
 
 
  1. Cause: the listener could not find any available service handlers that are  
  2. appropriate for the client connection.  
  3. Action: run "lsnrctl services" to ensure that the instance(s) have registered  
  4. with the listener, and are accepting connections.   

 

檢查lsnrctl service ,instance已經(jīng)注冊(cè),

狀態(tài)顯示ready時(shí),可以連接。

 
 
 
  1. When the listener believes the current number of connections has reached maximum load,  
  2. it may set the state of the service handler for an instance to "blocked" and begin refusing  
  3. incoming client connections with either of the following errors: ora-12519 or ora-12516  

 

采用服務(wù)動(dòng)態(tài)注冊(cè)的方式,由PMON 通過(guò)SERVICE_UPDATE 來(lái)得到目前連接情況,但SERVICE_UPDATE 有時(shí)間間隔,

所以,listener顯示的Oracle并發(fā)連接數(shù)和當(dāng)前實(shí)際的連接數(shù)可能不同。

查詢解決方法:

查看一下數(shù)據(jù)庫(kù)現(xiàn)有的進(jìn)程數(shù),是否已經(jīng)達(dá)到參數(shù)processes的大小。

1.select count(*) from v$process; 取得數(shù)據(jù)庫(kù)目前的進(jìn)程數(shù)。

2.select value from v$parameter where name = 'processes'; 取得進(jìn)程數(shù)的上限。

3.如已達(dá)到上限,修改initSID.ora中的processes的大小。

4.重新啟動(dòng)數(shù)據(jù)庫(kù)到nomount狀態(tài)下,執(zhí)行create spfile from pfile; 并startup open。

查詢數(shù)據(jù)庫(kù)自啟動(dòng)以來(lái)***的并發(fā)數(shù)量

修改***Oracle并發(fā)連接數(shù):

 
 
 
  1. alter system set processes = 300 scope = spfile; 

重啟數(shù)據(jù)庫(kù):

 
 
 
  1. shutdown immediate;  
  2. startup;  

 

查看當(dāng)前有哪些用戶正在使用數(shù)據(jù)

 
 
 
  1. SELECT osuser, a.username,cpu_time/executions/1000000||'s', sql_fulltext,machine  
  2. from v$session a, v$sqlarea b  
  3. where a.sql_address =b.address order by cpu_time/executions desc;  

 

2

有的時(shí)候我們需要調(diào)整oracle數(shù)據(jù)庫(kù)的***鏈接數(shù),而這個(gè)鏈接數(shù)的調(diào)整是在oacle下的dbs目錄下init.ora文件中調(diào)整的。

Oracle并發(fā)連接數(shù)(sessions)與其參數(shù)文件中的進(jìn)程數(shù)(process)有關(guān),它們的關(guān)系如下:

 
 
 
  1. sessions=(1.1*process+5) 

但是我們?cè)黾觩rocess數(shù)時(shí),往往數(shù)據(jù)庫(kù)不能啟動(dòng)了。這因?yàn)槲覀冞€漏調(diào)了一個(gè)unix系統(tǒng)參數(shù):它是核心參數(shù)中的semmns,這是unix系統(tǒng)的信號(hào)量參數(shù)。每個(gè)process會(huì)占用一個(gè)信號(hào)量。semmns調(diào)整后,需要重新啟動(dòng)unix操作系統(tǒng),參數(shù)才能生效。不過(guò)它的大小會(huì)受制于硬件的內(nèi)存或ORACLE SGA。范圍可從200


分享標(biāo)題:Oracle并發(fā)連接數(shù)的設(shè)置方案
網(wǎng)站網(wǎng)址:http://m.5511xx.com/article/cohpscp.html