http://download.oracle.com/docs/cd/B19306_01/win.102/b14306/install.htm
Configuring Extproc Agent Using Windows Service
As part of Oracle Database Extensions for .NET installation, a Windows service is installed. The service is calledOraClrAgnt
and can be accessed through the Service Control Panel, as Oracle
OracleHomeName
ClrAgnt
, whereOracleHomeName
represents your Oracle home.
http://www.oracle.com/technology/global/cn/pub/articles/mastering_dotnet_oracle/williams_sps.html
PL/SQL 存儲過程和函數在與 Oracle 數據庫相同的進程中運行,並且存儲在 Oracle 內部。 另一方面,.NET 存儲過程在外部進程中運行,.NET 代碼將被編譯成“.NET 程序集”,後者是存儲在文件系統中的動態鏈接庫 (DLL) 文件(通常存儲在與數據庫相同的機器上)。 .NET 程序集將被加載到一個名爲 extproc.exe 的“CLR 宿主”外部進程中並在其中運行,該進程由名爲<OracleHomeName>ClrAgnt 的 Windows 服務衍生而來。 當執行 .NET 存儲過程調用時,Oracle 將與這個外部進程通信,傳入參數並檢索結果。 這種通信將由 Oracle 多線程代理體系結構來處理。 對於最終用戶而言,.NET 存儲過程調用看起來與任何其他類型的存儲過程調用沒有什麼區別。 實際上,您可以從能夠調用 PL/SQL 或 Java 存儲過程的任何環境中調用 .NET 存儲過程。