Académique Documents
Professionnel Documents
Culture Documents
Management
or
agent
Database Listener
Control
Management interface
Property pages
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.3.0 - Beta
With the Partitioning, OLAP and Data Mining options
LAST_NAME
-------------------------
Abel
Ande
Atkinson
…
$ ./batch_sqlplus.sh
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.3.0 - Beta
With the Partitioning, OLAP and Data Mining options
spfileorcl.ora
Basic Advanced
CONTROL_FILES DB_CACHE_SIZE
DB_BLOCK_SIZE DB_FILE_MULTIBLOCK
PROCESSES _READ_COUNT
UNDO_MANAGEMENT SHARED_POOL_SIZE
… …
Library Other
cache
Parameter Specifies
PGA_AGGREGATE_TARGET Amount of PGA memory
allocated to all server
processes
SHARED_POOL_SIZE Size of shared pool (in bytes)
UNDO_MANAGEMENT Undo space management
mode to be used
• Static parameters:
– Can be changed only in the parameter file
– Require restarting the instance before taking effect
• Dynamic parameters:
– Can be changed while database is online
– Can be altered at:
— Session level
— System level
– Are valid for duration of session or based on SCOPE
setting
– Are changed by using ALTER SESSION and ALTER
SYSTEM commands
Session altered.
SYSDATE
-----------
jun 12 2007
System altered.
or
OPEN
STARTUP
MOUNT
NOMOUNT
Instance
started
SHUTDOWN
OPEN
STARTUP
MOUNT
Control file
opened for this
NOMOUNT instance
Instance
started
SHUTDOWN
OPEN
STARTUP All files opened as
described by the control
MOUNT file for this instance
Control file
opened for this
NOMOUNT instance
Instance
started
SHUTDOWN
SQL> startup 1
Shutdown Mode A I T N
Shutdown modes:
• A = ABORT
• I = IMMEDIATE
• T = TRANSACTIONAL
• N = NORMAL
Consistent database
(clean database)
SQL> shutdown
Oracle instance
Tables
Indexes
Views
Users
Schemas
Procedures
…and so on
c
SELECT USERNAME, ACCOUNT_STATUS FROM
dba_users WHERE ACCOUNT_STATUS = 'OPEN';
d DESCRIBE dba_indexes;