而創建實例的過程中,Oracle需要的最少參數為一個,即db_name參數。
我們來看一個測試,啟動一個任意設置的實例,本例Oracle_SID=julia:
Oracle最後檢查的文件為initjulia.ora,讓我們創建這個文件,然後數據庫實例即可創建:
我們可以看一下缺省的各類文件的存儲地點:
SQL> show parameter dump_dest NAME TYPE VALUE --------------- ----------------- -------- background_dump_dest string ?/rdbms/log core_dump_dest string ?/dbs user_dump_dest string ?/rdbms/log SQL> show parameter control_files NAME TYPE VALUE --------------- ----------------- ------------ control_files string ?/dbs/[email protected]
我們順便看一下缺省的,警報日志中記錄的信息:
Oracle@jumper dbs]$ cat
$Oracle_HOME/rdbms/log/alert_julia.log
Mon May 8 11:09:04 2006
Starting Oracle instance (normal)
Mon May 8 11:09:04 2006
WARNING: EINVAL creating
segment of size 0x0000000006400000
fix shm parameters in /etc/system or equivalent
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
SCN scheme 2
Using log_archive_dest parameter default value
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up Oracle RDBMS Version: 9.2.0.4.0.
System parameters with non-default values:
db_name = julia
PMON started with pid=2
DBW0 started with pid=3
LGWR started with pid=4
CKPT started with pid=5
SMON started with pid=6
RECO started with pid=7