Oracle 11g修改open_links參數(shù)的方式--并發(fā) |
發(fā)布時(shí)間: 2012/9/11 17:22:26 |
1、open_links含義 OPEN_LINKS_PER_INSTANCE specifies the maximum number of migratable open connections globally for each database instance. XA transactions use migratable open connections so that the connections are cached after a transaction is committed. Another transaction can use the connection, provided the user who created the connection is the same as the user who owns the transaction. OPEN_LINKS_PER_INSTANCE is different from OPEN_LINKS, which indicates the number of connections from a session. The OPEN_LINKS parameter is not applicable to XA applications. ORA-02020: too many database links in use Cause: The current session has exceeded the INIT.ORA open_links maximum. Action: Increase the open_links limit, or free up some open links by committing or rolling back the transaction and canceling open cursors that reference remote databases. 2、查看open_links Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 3、修改open_links alter system set open_links=255 scope=spfile; 4、使修改后的open_links生效 修改后查看,發(fā)現(xiàn)值沒(méi)有變化。 SQL> show parameters open_links; 重啟一下數(shù)據(jù)庫(kù)查看,值修改過(guò)來(lái)了: [Oracle@eds2db ~]$ dbshut SQL> show parameters open_links;
本文出自:億恩科技【mszdt.com】 服務(wù)器租用/服務(wù)器托管中國(guó)五強(qiáng)!虛擬主機(jī)域名注冊(cè)頂級(jí)提供商!15年品質(zhì)保障!--億恩科技[ENKJ.COM] |