標籤:
Oracle 11g XE 是 Oracle 資料庫的免費版本,支援標準版的大部分功能,11g XE 提供 Windows 和 Linux 版本。
做為免費的 Oracle 資料庫版本,XE 的限制是:
- 最大資料庫大小為 11 GB
- 可使用的最大記憶體是 1G
- 一台機器上只能安裝一個 XE 執行個體
- XE 只能使用單 CPU,無法在多CPU上進行分布處理
下面介紹安裝過程:
首先下載 Oracle 11g XE 並解壓,解壓後的DISK1目錄中包含了 setup.exe 檔,雙擊啟動安裝程式,首先會顯示一個協議資訊,點擊繼續安裝:
- 作業系統至少是 Windows XP
- 當前操作使用者必須有管理員權限
- 當前機器尚未安裝 XE
選擇安裝目錄:
設定資料庫密碼:
前面幾步過後會顯示一個安裝概要資訊,包含以下內容:
- 接聽程式連接埠: 1521
- MTS 服務連接埠: 2030
- HTTP 偵聽連接埠: 8080
接下來看看 XE 在我們的系統中安裝了什嗎?
服務詳細列表:
- OracleServiceXE
This is the actual database engine.
- OracleXETNSListener
This service is responsible for listening incoming connections and passing successful connections to the database engine. Note, that if this service is down, you won’t be able to connect to the database remotely. Existing connections won‘t be affected.
- OracleJobSchedulerXE
This service is used when external jobs are run. By default it is disabled. If you plan to run external jobs (such as executables, batches etc), modify the account the service uses to use proper, low-privileged credentials and start the service.
- OracleXEClrAgent
On Windows platforms Oracle offers CLR integration. Since a CLR operation is run using an extproc process, it’s normally done using a dedicated (single threaded)extproc for a single session. This may not be the optimal way to handle CLR calls. ClrAgent provides a multi-threaded mechanism so that a single extproc process may serve several CLR calls.
- OracleMTSRecoveryService
This one is responsible of resolving in-doubt transactions when Oracle is participating in distributed transactions with Microsoft Transaction Server.
程式列表:
在開始菜單中,你會發現 Oracle 新安裝的程式:
這些程式包括:
- Start and Stop Database are used to control the OracleServiceXE service
- Backup and Restore Database are scripts for backing up or restoring the database data using rman
- Run SQL Command Line opens a console based SQL*Plus which can be used to execute SQL commands or to run scripts against the database
- Get Started opens a web site used for investigating
- storage, the amount of disk space used by tablespaces or drill to segments
- current sessions and basic information about the sessions such as client and application information and active SQL statement
- parameters show current initialization parameter values.
一些附加的工具
這是一個圖形化的 SQL 編輯器,可用來執行 SQL 命令、查看結果集、建立各種資料庫物件等等。
Oracle 11g XE 是 Oracle 資料庫的免費版本