<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Jcat
    寵辱不驚,閑看庭前花開花落~~
    posts - 173,comments - 67,trackbacks - 0
    Oracle建好后,tnsnames和listener中自動(dòng)就帶有如下內(nèi)容,這里咱們就來解釋一下這些東西是干什么用的

    ----TNSNAMES.ora----
    EXTPROC_CONNECTION_DATA =
    ? (DESCRIPTION =
    ??? (ADDRESS_LIST =
    ????? (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    ??? )
    ??? (CONNECT_DATA =
    ????? (SID = PLSExtProc)
    ????? (PRESENTATION = RO)
    ??? )
    ? )

    ----LISTENER.ora----
    SID_LIST_LISTENER =
    ? (SID_LIST =
    ??? (SID_DESC =
    ????? (SID_NAME = PLSExtProc)
    ????? (ORACLE_HOME = /opt/oracle/10gR2)
    ????? (PROGRAM = extproc)
    ??? )
    ? )

    LISTENER =
    ? (DESCRIPTION_LIST =
    ??? (DESCRIPTION =
    ????? (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    ????? (ADDRESS = (PROTOCOL = TCP)(HOST = dcm)(PORT = 1521))
    ??? )
    ? )


    IPC - Inner Process Communication
    When a process is on the same machine as the server, use the IPC protocol for connectivity instead of TCP. Inner Process Communication on the same machine does not have the overhead of packet building and deciphering that TCP has.
    I've seen a SQL job that runs in 10 minutes using TCP on a local machine run as fast as one minute using an IPC connection. The difference in time is most dramatic when the Oracle process has to send and/or receive large amounts of data to and from the database.
    For example, a SQL*Plus connection that counts the number of rows of some tables will run about the same amount of time, whether the database connection is made via IPC or TCP. But if the SQL*Plus connection spools much data to a file, the IPC connection will often be much faster -- depending on the data transmitted and the machine workload on the TCP stack.

    For how to configure it:
    1. you should add one IPC line in the LISTENER.ORA
    2. You should also add one IPC line in the TNSNAMES.ORA



    PLSExtPro - PL/Sql External Procdure
    默認(rèn)安裝時(shí),會(huì)安裝一個(gè)PL/SQL外部程序(extproc--這是程序名)條目在listener.ora中,是oracle為調(diào)用外部程序默認(rèn)配置的監(jiān)聽,它的名字(也就是SID)通常是ExtProc或PLSExtProc
    但一般不會(huì)使用它,可以直接從listener.ora中將這項(xiàng)移除,因?yàn)閷?duì)ExtProc已經(jīng)有多種攻擊手段了,在不使用外部程序時(shí),Oracle也是建議刪除的。



    extproc的作用
    就是在pl/sql中調(diào)用外部語句,如c,java寫的過程。
    現(xiàn)在,Oracle已經(jīng)全面支持JAVA了,這東西也就過時(shí)了,之所以繼續(xù)保留是考慮到兼容以前老版本的數(shù)據(jù)庫實(shí)例。

    [oracle@dcm bin]$ extproc
    Oracle Corporation --- TUESDAY?? JAN 05 2010 21:58:23.878
    Heterogeneous Agent Release 10.2.0.1.0 - Production

    posted on 2010-01-05 21:59 Jcat 閱讀(660) 評(píng)論(0)  編輯  收藏 所屬分類: Database
    主站蜘蛛池模板: 天天影视色香欲综合免费| 羞羞视频网站免费入口| 国产高清在线精品免费软件 | 黄网站色视频免费看无下截| 中文亚洲成a人片在线观看| A在线观看免费网站大全| 国产高潮久久免费观看| 中文字幕亚洲码在线| 亚洲va中文字幕无码久久| 亚洲精品视频免费| 无人影院手机版在线观看免费| 毛片在线播放免费观看| 一级做a爱过程免费视| 亚洲偷自拍另类图片二区| 亚洲欧洲日本精品| 久久亚洲精品中文字幕| 在线观看亚洲成人| 国产午夜亚洲精品午夜鲁丝片| 四虎www免费人成| 免费观看亚洲人成网站| 免费h黄肉动漫在线观看| 四只虎免费永久观看| 亚洲AV永久无码精品一区二区国产| 日韩一级免费视频| 免费a级毛片大学生免费观看| 成人最新午夜免费视频| 无码专区永久免费AV网站| 四虎影院在线免费播放| 一级毛片直播亚洲| 国产亚洲人成网站观看| 久久亚洲AV无码精品色午夜| 亚洲午夜一区二区三区| 黄色一级毛片免费| 国产亚洲高清在线精品不卡| 亚洲国产精品无码第一区二区三区| 国产精品美女久久久免费| 7777久久亚洲中文字幕| 亚洲成人网在线观看| 亚洲精品影院久久久久久| 中文字幕精品三区无码亚洲| 国产高清视频免费在线观看|