http://tektalkin.blogspot.com/
the RSS Feed is here:
http://feeds.feedburner.com/blogspot/Te
-Steve
You are viewing
stevechol

In this the final part of my OCA Study Guide, I have gathered together an assortment of facts and figures that you will need to be aware of to pass the OCA Admin 1 examination.
All committed transactions are guaranteed to be stored in a physical file within the Redo Logs.
Segments
Extents
Database Blocks
Operating System Blocks
QUERY: SELECT
DML: INSERT, UPDATE, DELETE
DDL: CREATE, ALTER, RENAME
DCL: GRANT, REVOKE
The USER PROCESS initiates a CONNECTION to the INSTANCE. When connected a SESSION is established in the instance. A SERVER PROCESS is then started on the HOST.
A PGA (Program Global Area) is created for each user. The PGA contains session specific information.
A transaction begins with the first DML commit issued and finishes with a COMMIT or ROLLBACK.
DDL forces an implicit COMMIT.
Abnormal DB connection terminations can result in an implicit ROLLBACK.
Before a DML process is completed, Undo is written to the UNDO SEGMENTS.
UNDO_MANAGEMENT (Auto / Manual) cannot be changed without restarting the Instance.
SQL>alter database backup control file to trace;
The file that results from the above command contains the SQL necessary to recreate the Control File.
A Cartesian Product is the result of joining every row in one table to every row in another table. Usually an undesirable result.
From the Oracle SQL tools the describe command will show the structure of a table, and is used in the following manner:
SMON performs Instance Recovery.
Redo Log Files are usually named in the following fashion:
Redo2c.Log
The ‘2’ means that this file (member) belongs to Redo Log Group Number 2 and the ‘c’ indicates that this is the 3rd of the multiplexed files within this group.
Changes to a ROLE will be available immediately.
To enable ARCHIVELOG:
Database to MOUNT state
ALTER DATABASE ARCHIVELOG
After the loss a CONTROL FILE the database will NOT open
The Oracle Enterprise Management Framework, consists of:
Service
Agent
Repository
The Agent communicates with the Service to populate the Repository.
emctl Default Port: 5500
isqlplus Default Port: 5560
In Oracle 10g the Service Name is usually the same as the Global Database Name.
Key Alert Log Entries:
A Control File is missing
A Datafile is missing
A Redo Member is missing
The SYSTEM tablespace is being used as TEMPORARY space
Internal Errors or Block Corruption
Deadlocks
When using DBCA to create a DB all accounts are locked except:
SYS
SYSTEM
SYSMAN
DBSNMP
AWR Statistics are viewed via: DBMS_WORKLOAD_REPOSITORY
V$SGASTAT shows memory used
SAME: Stripe and Mirror Everything
$ORACLE_HOME - The location of the Oracle Software
If the DBA kills a session, this is not classed as a failure.
A server process is not considered part of the instance.
If running in NOARCHIVELOG mode, you only valid backup options are OFFLINE, FULL backups of everything.
Valid DB States:
SHUTDOWN
OPEN
MOUNT
NOMOUNT
Software Development * Security * Database * Training
Technology Consultancy from GENeSYS Solutions
www.genesyssolutions.co.uk
"I was brought up to believe that the only thing worth doing was to add to the sum of accurate information in the world." - Margaret Mead













