Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Starting Database Administration: Oracle DBA
Starting Database Administration: Oracle DBA
Starting Database Administration: Oracle DBA
Ebook188 pages1 hour

Starting Database Administration: Oracle DBA

Rating: 3 out of 5 stars

3/5

()

Read preview

About this ebook

This ebook contain articles on oracle database administration.RMAN, Backup & Recovery, Datapump and export/import, database auditing etc are important concepts in oracle database administration. All these are well explained in this eBook. Each topic is described with appropriate examples.
If you have a grip on the topics described in this eBook, your understanding on the concepts of oracle administration will become much simpler and easier.
This eBook can be referred by people who are preparing for interviews in oracle database administration.
The articles in this guide can also be referred by starter DBAs as well as experienced professionals.

LanguageEnglish
Release dateJun 1, 2014
ISBN9781310003813
Starting Database Administration: Oracle DBA

Related to Starting Database Administration

Related ebooks

Teaching Methods & Materials For You

View More

Related articles

Reviews for Starting Database Administration

Rating: 3 out of 5 stars
3/5

2 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Starting Database Administration - Oraclesql-plsql

    Starting Database Administration: Oracle DBA

    Published by oraclesql-plsql at Smashwords

    Copyrights 2014 oraclesql-plsql

    oraclesql-plsql is a website which contains articles on Database administration, SQLplus and PLSQL.

    It is designed with the view of sharing knowledge and help people who want to learn Database administration, SQL queries/concepts & PLSQL programming.

    This eBook is contains articles on oracle database administration.

    RMAN, Backup & Recovery, Datapump and export/import, database auditing etc are important concepts in oracle database administration. All these are well explained in this eBook. Each topic is described with appropriate examples.

    If you have a grip on the topics described in this eBook, your understanding on the concepts of oracle administration will become much simpler and easier.

    This eBook can be referred by people who are preparing for interviews in oracle database administration.The articles in this guide can also be referred by starter DBAs as well as experienced professionals.

    The examples described in this pocket guide have been tested in our test environment (Oracle 10G database) and sometimes differences in version, configuration settings etc may give dissimilar results. oraclesql-plsql will not take responsibility for any loss/damage that may result from the use of this eBook.

    This eBook/all content in this eBook is a sole property of oraclesql-plsql and no other party except oraclesql-plsql or other authorized parties can sell this eBook or its contents. This eBook or E-Pocket guide can be/must be purchased only from oraclesql-plsql or authorized parties.

    oraclesql-plsql is not affiliated to Oracle Corporation.

    It is designed by professionals who have working experience on RDBMS.

    Contents -

    Introduction to Oracle database

    Oracle Database component

    Connecting to the Database instance

    SYS and SYSTEM users

    SYSDBA and SYSOPER privileges

    Starting the database

    Startup NOMOUNT

    Startup MOUNT

    Startup OPEN

    Startup FORCE

    Startup RESTRICT

    Startup OPEN RECOVER

    Example: Starting a oracle database instance

    Database shutdown

    SHUTDOWN NORMAL

    SHUTDOWN IMMEDIATE

    SHUTDOWN TRANSACTIONAL

    SHUTDOWN ABORT

    Quiescing the database

    Suspending and Resuming database instance

    Background processes

    SGA (System Global Area)

    What is a Controlfile

    Controlfile backup methods

    Controlfile recovery methods

    Moving Controlfiles from one location to other

    What is a Datafile?

    Datafile backup

    Datafile Recovery

    Datafile Relocation: Moving datafiles from one location to another

    What is a Tablespace?

    Tablespace movement/relocation

    System views containing tablespace information

    Redo Logs

    Archive logs

    System views containing Archive log/Redo log information

    To put the database in Archive log mode execute the following steps

    To put the database in Noarchive log mode execute the following steps

    Creating redo log files

    Deleting redo log files

    Clearing Archivelog/Redo logs

    Redo logs movement/relocation

    Profiles

    Roles

    Role: WITH ADMIN OPTION

    Dropping a role

    Role with password

    Alter Role

    Enabling and Disabling Roles

    Views containing ROLE information

    System and Object privileges

    Oracle System Privileges

    Oracle Object Privileges

    View containing privileges information

    Object partitioning

    Partition key

    Types of Partitioning – List/Range/Hash

    Oracle External Tables

    Creating External Tables

    Creating external tables from existing database tables

    Introduction to backup and recovery

    Export and Import utility

    Export Parameters

    Import Parameters

    Performing full database export/import

    Performing export/import for specific user data

    Importing data from one users schema to another

    Performing export/import for specific tables

    Exporting/Importing only Table structure not data

    Performing export/import for specific records

    Introducing Datapump

    Difference between expdp/impdp and exp/imp

    Data pump export (EXPDP) parameter

    Data pump import (IMPDP) parameter

    Datapump: Performing export/import using EXCLUDE

    Datapump: Performing export/import using QUERY

    Datapump: Importing to a new Schema

    Datapump: Importing data into existing tables

    Generating SQL for import jobs

    RMAN – The Recovery Manager

    RMAN repository

    Creating Catalog and Registering target database

    RMAN configuration parameters

    RMAN commands

    RMAN Backup types

    Use RMAN to perform a full database backup

    Using RMAN to perform database recovery

    Using RMAN to recover controlfile

    Using RMAN to recover datafile:

    Using RMAN to perform Incomplete or Point in Time Recovery

    Incremental Backups

    Level 0 incremental backup

    Level 1 incremental backup

    Block Change Tracking

    Validating Backup and Recovery operations

    Database Auditing

    Types of Auditing

    Statement auditing

    Privilege auditing

    Schema Object auditing

    Example Standard auditing

    FGA

    Example FGA

    Introduction to Oracle Database

    A database is a collection of data stored a database server which is easy to maintain and access

    Data on a database is stored in form of blocks, extents and segments. Block is the smallest unit of storage. An Extent is the next level of storage and consists of one or more blocks. A Segment consists of more or more extents.

    An oracle database environment consists of several files.

    Every database will consist of atleast one Controlfile, Datafiles and Redologs. These 3 are the most important files of the DB. A Controlfile holds important information such as datafile location, backup and recovery information etc., Datafiles holds the actual data of the database and Redologs enables us to redo sql statements.

    In addition to the above 3 files, there are some other files as well which support the database –

    The Alert log is file that stores information about errors, alerts and other operations. It describes the errors and contains the location of a trace file, which contains details about the errors. If the alert log gets deleted by mistake, it gets recreated automatically.

    A Password file stores passwords for certain privileged users. These are users who generally start or stop the database. When a user tries to connect to a running database, their verification is done by the DB itself. But when the DB is not running and a user tries to start the database, the verification is done by means of the password file. The password file allows us to store the passwords outside the DB i.e. in the OS.

    A Parameter file contains configuration parameter settings which control the behavior of the database.

    Oracle Database component –

    Oracle database structure is made up of two main components –

    Physical structure – Comprises of files that physically exist on the database. Controlfile, Datafiles and Redologs are the most important files of a database. In addition to these 3 important files, there are also other files which support the database – Archivelogs, Alert.log, Password files etc.

    Logical structure – Comprises of the logical components of the database. By logical components we mean the SGA and background processes. SGA is the database memory and background processes are processes that run internally

    Enjoying the preview?
    Page 1 of 1