亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

Oracle安裝TNS_ADMIN環(huán)境變量設(shè)置參考

 更新時(shí)間:2021年10月27日 14:45:11   作者:田攀  
這篇文章主要為大家介紹了Oracle安裝過(guò)程中關(guān)于TNS_ADMIN環(huán)境變量設(shè)置的參考,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步

很多oracle產(chǎn)品都有自己的TNS文件,如果你的系統(tǒng)里裝了多個(gè)Oracle的產(chǎn)品的話,那么客戶端連instance的時(shí)候,到底是使用那個(gè)tnsnames.ora呢?這個(gè)時(shí)候就需要看TNS_ADMIN這個(gè)參數(shù)了。

Question: What is the tns_admin parameter and how do I use tns_admin to define a common location for my TNS files?

Answer:  The tns_admin parameter determines the location of the tns administration files (e.g. tnsnames.ora and listener.ora, etc.) 

The tns_admin parameter is super useful on servers with many databases on different release levels (hence different $ORACLE_HOME directories) because all databases tns_admin values can be set to a single location, allowing a single set of SQL*Net files for all databases on the server. 

Without the tns_admin variable, each instance would have it's own set of TNS files in the $ORACLE_HOME/network/admin directory.

查看方法:命令行 C:\Documents and Settings\ptian>set TNS_ADMIN TNS_ADMIN=D:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN 這就表示客戶端會(huì)從D:\oracle\product\10.1.0\Db_1\NETWORK\ADMIN下讀取TNS的設(shè)置

修改方法: 有兩個(gè)地方可以修改,一個(gè)是注冊(cè)表,一個(gè)是系統(tǒng)環(huán)境變量。 注冊(cè)表的位置:HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0\TNS_ADMIN 系統(tǒng)環(huán)境變量的優(yōu)先級(jí)高于注冊(cè)表,如果設(shè)置了環(huán)境變量,那么就會(huì)忽略注冊(cè)表的值。

轉(zhuǎn)載請(qǐng)注明出處: http://blog.csdn.net/pan_tian/article/details/7699599
======EOF======

以上就是Oracle安裝TNS_ADMIN環(huán)境變量設(shè)置參考的詳細(xì)內(nèi)容,更多關(guān)于TNS_ADMIN環(huán)境變量的資料請(qǐng)關(guān)注腳本之家其它相關(guān)文章!

相關(guān)文章

最新評(píng)論