Академический Документы
Профессиональный Документы
Культура Документы
4 Votes
ORACLE ARCHITECTURE
The Structural and Functional representation of Oracle DataBase
Server.
Oracle Server:
Data.
Oracle Database:
The DataBase Files provide the Actual Physical Storage for DataBase
Information.
Important View in Database:
SQL> select DBID,NAME,LOG_MODE,CHECKPOINT_CHANGE#,
CONTROLFILE_CREATED,CONTROLFILE_TIME,OPEN_RESETLOGS,VERSIO
N_TIME,OPEN_MODE
2 from v$database;
DBID NAME LOG_MODE CHECKPOINT_CHANGE# CONTROLFI
Oracle Instance:
User Process:
Server Process:
Physical Structure
Database Files: NonDataBase Files:
DataFiles Password File
ControlFiles Parameter File
RedologFiles Archived RedoLogFiles
DataFiles:
10 5 ONLINE 10485760
/home/oracle/tarun4/datafiles/users01.dbf
SQL> select file_name,file_id,tablespace_name,bytes,status,online_status
from dba_data_files where tablespace_name=RUBRICS;
FILE_NAME
ControlFiles:
Max allowed is 8.
NO 16384 440
RedologFiles:
Password File:
password=- entries=5
Parameter File:
If both the parameter files are present than spfile is given higher
priority than pfile.
Once the instance is Started the parameter file not needed until the
next Start of the instance.
The advantage of spfile is that the changes made to parameter
when the database is up it can update for the current instance.
The default path for parameter file is $ORACLE_HOME/dbs where
Oracle Home is the home directory for Oracle Software installed
directory.
spfile string
/home/oracle/oracle/product/10
.2.0/db_1/dbs/spfiletarun4.ora
SQL> select NAME,TYPE,VALUE,HASH from v$parameter ;
[oracle@rubrics ~]$ vi
/home/oracle/oracle/product/10.2.0/db_1/dbs/inittarun4.ora
*.background_dump_dest=/home/oracle/tarun4/bdump
*.compatible=10.2.0.1.0
*.control_files=/home/oracle/tarun4/control/c1.ctl
*.db_block_size=4096
*.db_cache_size=62914560
*.db_name=RUBRICS
*.log_archive_dest=/home/oracle/tarun4/archive
*.log_archive_format=arch_%t_%r_%s.arc
*.remote_login_passwordfile=exclusive
*.shared_pool_size=232m
*.undo_management=auto
*.user_dump_dest=/home/oracle/tarun4/udump
Archived RedoLogFiles:
LOGICAL STRUCTURE
TABLESPACE
SEGMENT
EXTENT
BLOCK
LOGICAL STRUCTURE:
TABLESPACE:
SEGMENT:
EXTENT:
BLOCK:
The Oracle Server manages the storage space in the data files in
units called Oracle blocks or data blocks.
Oracle data block are the smallest units of storage that the Oracle
Server can allocate,read or write.