SlideShare ist ein Scribd-Unternehmen logo
1 von 47
FUO/13/CSI/954
1
INTRODUCTION
 ORACLE CORPORATION is an American multinational
computer technology corporation, headquartered in Redwood city,
Califonia. The company specializes in developing and marking
database software and technology, cloud engineered systems and
enterprise software products particularly its own brand of data
base management systems.
 A Database is a collection of information that is organized and
treated as unit so that it can easily be accessed, managed, and
updated. In one view, databases can be classified based on
number of users ( single and multi-user), location (centralized and
distributed), and the use of the database(operational).
FUO/13/CSI/954
2
ORACLE DATABASE INNOVATION
Private DB Cloud
Defense in Depth
Information Lifecycle Mgt
Extreme Availability
Flex Clusters
Performance and Ease of Use
Oracle Grid Infrastructure
Real Application Testing
Automatic SQL Tuning
Fault Management
Audit Vault
Database Vault
Secure Enterprise Search
Grid Computing
Automatic Storage Mgmt
Self Managing Database
… continuing with
Oracle Database 12c
… with Oracle Database 11g
… with Oracle
Database 10g
TASKS OF AN ORACLE DATABASE ADMINISTRATOR
A database administrator's responsibilities can include the following tasks:
• Installing and upgrading the Oracle server and application tools
• Allocating system storage and planning future storage requirements for the database system
• Creating primary database storage structures (tablespaces) after application developers have
designed an application
• Creating primary objects (tables, views, indexes) once application developers have designed an
application
• Modifying the database structure, as necessary, from information given by application
developers
• Enrolling users and maintaining system security
• Controlling and monitoring user access to the database
• Monitoring and optimizing the performance of the database
• Planning for backup and recovery of database information
• Maintaining archived data on tape
•Backing up and restoring the database
FUO/13/CSI/954
4
TOOLS FOR ADMINISTERING AN ORACLE
DATABASE
 Virtualization tool (VMWare)
 Linux Operating System
 Oracle Universal Installer (OUI)
 Database Configuration Assistant (DBCA)
 Database Upgrade Assistant
 Oracle Net Manager
 Oracle Enterprise Manager (OEM)
 SQL*Plus
 Recovery Manager
 Oracle Secure Backup
 Data Pump
 SQL*Loader
FUO/13/CSI/954
5
INSTALLATION PREREQUISITES
(HARDWARE & SOFTWARE)
 Hardware – doesn’t require a server-class machine
 Processor – Intel or AMD, 32 bit or 64 bit
 Memory – 1GB
 Virtual memory/Swap space =1.5 times the amount of the
RAM
 Disk space = 4GB
 All current Windows OS versions (Windows 7 and above)
 Linux OS ( Oracle Linux, Suse, Asianux, Red Hat)
FUO/13/CSI/954
6
ORACLE UNIVERSAL INSTALLER (OUI)
 Oracle Universal Installer (OUI) is used (as its name suggests)
to install any Oracle software.
 OUI can be installed as a self-contained product in its own
Oracle Home, but this is not usually necessary, as it is shipped
with every Oracle product and can be launched from the
product installation media; it will install itself into the Oracle
Home along with the product.
 The OUI will install a number of other tools for managing a
database and related components, notably SQL*Plus.
Depending on the installation type chosen, it may also install
SQL Developer.
 The OUI is written in Java, using JDK/JRE1.5. This means that
it is the same on all platforms.
FUO/13/CSI/954
7
8
FUO/13/CSI/954
9
FUO/13/CSI/954
10
FUO/13/CSI/945
11
FUO/13/CSI/945
12
FUO/13/CSI/954
13
FUO/13/CSI/954
14
FUO/13/CSI/954
15
FUO/13/CSI/954
16
FUO/13/CSI/954
17
FUO/13/CSI/954
18
FUO/13/CSI/954
19
LISTENER
 Oracle Net Listener is a separate process that runs on the database server.
It receives incoming client connection requests and manages the traffic of
the requests to the database server.
 The following steps are used to configure a Listener
in Oracle Database 12c:
• From your terminal, you invoke Net Configuration Assistance (NetCA),
• Select Listener Configuration and click on next button,
• Click on ‘Add’ to add new listener,
• Enter the Listener Name,
• Select which protocol (TCP/IP) you which to use,
• Select ‘use the Standard Port Number of 1521, click on ‘Next’,
• Then click on FINISH
FUO/13/CSI/954
20
FUO/13/CSI/954
21
FUO/13/CSI/954
22
Configuring A Listener
FUO/13/CSI/954
23
FUO/13/CSI/954
24
CREATING DATABASE USING DBCA
25
FUO/13/CSI/954
26
FUO/13/CSI/954
27
FUO/13/CSI/954
28
FUO/13/CSI/954
29
FUO/13/CSI/954
30
FUO/13/CSI/954
31
FUO/13/CSI/954
32
PREDEFINED ADMINISTRATIVE ACCOUNTS
 SYS:
 Owns the data dictionary and the Automatic Workload Repository
(AWR)
 Used for startup and shutdown of the database instance
 SYSTEM: Owns additional administrative tables and views
 SYSBACKUP: Facilitates Oracle Recovery Manager (RMAN) backup
and recovery operations
 SYSDG: Facilitates Oracle Data Guard operations
 SYSKM: Facilitates Transparent Data Encryption wallet operations
FUO/13/CSI/954
33
DATABASE STORAGE ARCHITECTURE
 Control Files
 Data Files
 Online Redo Log Files
 Parameter Files
 Backup Files
 Archive Redo Log Files
 Password Files
 Alert log and trace Files.
FUO/13/CSI/954
34
 Control Files: contains data about the database
itself ( that is physical Database structure
information). These files are critical to the
database. Without them, you cannot open data
files that contains data in a database
 Data Files: contains the user or the application
data of the database, as well as meta data and
the data dictionary.
 Online redo log files: Allows for instance
recovery of the database. If the database sever
crashes and does not lose any data file, the
instance can recover the database with the
information of these files.
FUO/13/CSI/954
35
 Parameter files: Is used to define how the instance
is configured when it start up. It allows users using
the Sysdba, Sysoper, and Sysasm roles to connect
remotely to the instance and perform administrative
task.
Backup files: Are used for database recovery.
Archive Redo log files: Contains an ongoing history
of data changes (redo) that are generated by instance.
Using these files and the backup of the database, you
can recover lost data files. That is archive log enable
the recovery of restored data files.
FUO/13/CSI/954
36
CONCEPT OF A DATABASE
Schemas
Tables
Object
Views
Synonyms
Indexes
FUO/13/CSI/954
37
SQL STATEMENTS USED
Statements Description
SELECT
INSERT
UPDATE
DELETE
MERGE
Retrieves data from the database, enters new rows,
changes existing rows and removes unwanted rows from
the tables in the database, respectively. Collectively known
as data manipulation language (DML)
CREATE
ALTER
DROP
RENAME
TRUNCATE
COMMENT
Sets up, changes, and removes data structures from
tables. Collectively known as data definition language
(DDL)
GRANT
REVOKE
Provides or removes access rights to both the Oracle
Database and the structures within it. Collectively known
as data control language (DCL)
COMMIT
ROLLBACK
SAVEPOINT
Manages the changes made by DML statements,
Changes to the data can be grouped together into logical
transactions. (transaction control)
FUO/13/CSI/954
38
 A secure system ensures the confidentiality of the data that it
contains. There are several aspects of security:
• Restricting access to data and services
• Authenticating users
• Monitoring for suspicious activity
 Separation of Responsibilities
• Users with DBA privileges must be trusted.
– Abuse of trust
– Audit trails protecting the trusted position
• DBA responsibilities must be shared.
• Accounts must never be shared.
• The DBA and the system administrator must be different people.
• Separate operator and DBA responsibilities.
FUO/13/CSI/954
39
Oracle Database Security
The administrator’s duties related to backup and recovery of data are to:
• Protect the database from failure wherever possible
• Increase the mean time between failures (MTBF)
• Protect by redundancy
• Decrease the mean time to recover (MTTR)
• Minimize the loss of data
Failures can generally be divided into the following categories:
 Statement failure
 User process failure
 Network failure
 User error
 Instance failure
 Media failure
FUO/13/CSI/954
40
BACKUP AND RECOVERY CONCEPT
CONFIGURING FOR RECOVERABILITY
To configure your database for maximum recoverability,
you must:
• Schedule regular backups
• Multiplex control files
• Multiplex redo log groups
• Retain archived copies of redo logs
FUO/13/CSI/954
41
PERFORMING BACKUP
 Backups can be performed by using:
• Recovery Manager ( RMAN)
• Oracle Secure Backup
• User-managed backup
Oracle’s recommended backup and recovery tool is RMAN, the
Recovery Manager. Using RMAN is not compulsory: Oracle
Corporation still supports backups created with operating system
utilities
FUO/13/CSI/954
42
RUNNING BACKUP USING RMAN
A backup carried out with operating system commands is known
as a user-managed backup. A backup carried out by RMAN is
known as a server-managed backup.
There are three decisions to make before carrying out a server-
managed ( RMAN) backup. Should it be
 Closed or open?
 Whole or partial?
 Full or incremental?
FUO/13/CSI/954
43
 A closed backup is carried out when the database is shut down;
alternative terms for closed are cold, consistent, and offline.
 An open backup is carried out while the database is in use;
alternative terms are hot, inconsistent, and online. An open
backup can only be made if the database is in archivelog mode.
 A whole backup is a backup of all the datafiles and the control
files.
 A partial backup is a backup of a subset of these. In most
circumstances, partial backups can only be made if the database is
in archivelog mode.
FUO/13/CSI/954
44
 A full backup includes all used blocks of the files
backed up.
 An incremental backup includes only those blocks
that have been changed since the last backup.
 An incremental backup can be cumulative (including
all blocks changed since the last full backup) or
differential (including all blocks changed since the
last incremental backup).
FUO/13/CSI/954
45
CONCLUSION
In this lesson, we have covered:
 How to install Oracle Database 12c
 Create a listener
 Create a Table
 Importance of security in Oracle database 12c
 Principles of lease privilege as DBA
 Identify the types of failure that can occur in an Oracle database
 Run backup using RMAN
 Create consistent database backups
 Create incremental backups
 Use SQL command to run backups
FUO/13/CSI/954
46
FUO/13/CSI/954
47
THANKS

Weitere ähnliche Inhalte

Was ist angesagt?

Less09 managing undo data
Less09 managing undo dataLess09 managing undo data
Less09 managing undo data
Imran Ali
 
AIXpert - AIX Security expert
AIXpert - AIX Security expertAIXpert - AIX Security expert
AIXpert - AIX Security expert
dlfrench
 

Was ist angesagt? (20)

Less09 managing undo data
Less09 managing undo dataLess09 managing undo data
Less09 managing undo data
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
 
Les 01 core
Les 01 coreLes 01 core
Les 01 core
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
 
Less17 moving data
Less17 moving dataLess17 moving data
Less17 moving data
 
AIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge ShareAIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge Share
 
Xpp b tspitr
Xpp b tspitrXpp b tspitr
Xpp b tspitr
 
Les 07 rman_rec
Les 07 rman_recLes 07 rman_rec
Les 07 rman_rec
 
Less14 br concepts
Less14 br conceptsLess14 br concepts
Less14 br concepts
 
Oracle database 12c client quick installation guide 8
Oracle database 12c client quick installation guide 8Oracle database 12c client quick installation guide 8
Oracle database 12c client quick installation guide 8
 
AIXpert - AIX Security expert
AIXpert - AIX Security expertAIXpert - AIX Security expert
AIXpert - AIX Security expert
 
Xpp c user_rec
Xpp c user_recXpp c user_rec
Xpp c user_rec
 
Dataguard physical stand by setup
Dataguard physical stand by setupDataguard physical stand by setup
Dataguard physical stand by setup
 
Les 11 fl2
Les 11 fl2Les 11 fl2
Les 11 fl2
 
Implementing Flash Storage for SQL Server from Virident
Implementing Flash Storage for SQL Server from ViridentImplementing Flash Storage for SQL Server from Virident
Implementing Flash Storage for SQL Server from Virident
 
Les 02 config
Les 02 configLes 02 config
Les 02 config
 
Smpe
SmpeSmpe
Smpe
 
Les 20 dup_db
Les 20 dup_dbLes 20 dup_db
Les 20 dup_db
 
Oracle database 12c client quick installation guide 7
Oracle database 12c client quick installation guide 7Oracle database 12c client quick installation guide 7
Oracle database 12c client quick installation guide 7
 
Les 03 catalog
Les 03 catalogLes 03 catalog
Les 03 catalog
 

Ähnlich wie Power point oracle db 12c

how to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vaulthow to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vault
Anar Godjaev
 
twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633
Arush Jain
 
Oracle Solaris 11.1 New Features
Oracle Solaris 11.1 New FeaturesOracle Solaris 11.1 New Features
Oracle Solaris 11.1 New Features
Orgad Kimchi
 
MySQL Enterprise Backup & Oracle Secure Backup
MySQL Enterprise Backup &  Oracle Secure BackupMySQL Enterprise Backup &  Oracle Secure Backup
MySQL Enterprise Backup & Oracle Secure Backup
Sanjay Manwani
 
Oracle database edition-12c
Oracle database edition-12cOracle database edition-12c
Oracle database edition-12c
Asha BG
 

Ähnlich wie Power point oracle db 12c (20)

High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
 
Dataguard presentation
Dataguard presentationDataguard presentation
Dataguard presentation
 
how to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vaulthow to protect your sensitive data using oracle database vault
how to protect your sensitive data using oracle database vault
 
twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633twp-oracledatabasebackupservice-2183633
twp-oracledatabasebackupservice-2183633
 
Oracle Solaris 11.1 New Features
Oracle Solaris 11.1 New FeaturesOracle Solaris 11.1 New Features
Oracle Solaris 11.1 New Features
 
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
 
MySQL Enterprise Backup & Oracle Secure Backup
MySQL Enterprise Backup &  Oracle Secure BackupMySQL Enterprise Backup &  Oracle Secure Backup
MySQL Enterprise Backup & Oracle Secure Backup
 
Oow14 con7681-rman-1
Oow14 con7681-rman-1Oow14 con7681-rman-1
Oow14 con7681-rman-1
 
Backups And Recovery
Backups And RecoveryBackups And Recovery
Backups And Recovery
 
Rman 12c new_features
Rman 12c new_featuresRman 12c new_features
Rman 12c new_features
 
FOISDBA-Ver1.1.pptx
FOISDBA-Ver1.1.pptxFOISDBA-Ver1.1.pptx
FOISDBA-Ver1.1.pptx
 
Oracle Database 12c : Multitenant
Oracle Database 12c : MultitenantOracle Database 12c : Multitenant
Oracle Database 12c : Multitenant
 
Oracle_DB_sobre_Oracle
Oracle_DB_sobre_OracleOracle_DB_sobre_Oracle
Oracle_DB_sobre_Oracle
 
Database Upgrades Automation using Enterprise Manager 12c
Database Upgrades Automation using Enterprise Manager 12cDatabase Upgrades Automation using Enterprise Manager 12c
Database Upgrades Automation using Enterprise Manager 12c
 
Collaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mysteryCollaborate 2012 - RMAN eliminate the mystery
Collaborate 2012 - RMAN eliminate the mystery
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)
 
Oracle database edition-12c
Oracle database edition-12cOracle database edition-12c
Oracle database edition-12c
 
R12 d49656 gc10-apps dba 03
R12 d49656 gc10-apps dba 03R12 d49656 gc10-apps dba 03
R12 d49656 gc10-apps dba 03
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Power point oracle db 12c

  • 2. INTRODUCTION  ORACLE CORPORATION is an American multinational computer technology corporation, headquartered in Redwood city, Califonia. The company specializes in developing and marking database software and technology, cloud engineered systems and enterprise software products particularly its own brand of data base management systems.  A Database is a collection of information that is organized and treated as unit so that it can easily be accessed, managed, and updated. In one view, databases can be classified based on number of users ( single and multi-user), location (centralized and distributed), and the use of the database(operational). FUO/13/CSI/954 2
  • 3. ORACLE DATABASE INNOVATION Private DB Cloud Defense in Depth Information Lifecycle Mgt Extreme Availability Flex Clusters Performance and Ease of Use Oracle Grid Infrastructure Real Application Testing Automatic SQL Tuning Fault Management Audit Vault Database Vault Secure Enterprise Search Grid Computing Automatic Storage Mgmt Self Managing Database … continuing with Oracle Database 12c … with Oracle Database 11g … with Oracle Database 10g
  • 4. TASKS OF AN ORACLE DATABASE ADMINISTRATOR A database administrator's responsibilities can include the following tasks: • Installing and upgrading the Oracle server and application tools • Allocating system storage and planning future storage requirements for the database system • Creating primary database storage structures (tablespaces) after application developers have designed an application • Creating primary objects (tables, views, indexes) once application developers have designed an application • Modifying the database structure, as necessary, from information given by application developers • Enrolling users and maintaining system security • Controlling and monitoring user access to the database • Monitoring and optimizing the performance of the database • Planning for backup and recovery of database information • Maintaining archived data on tape •Backing up and restoring the database FUO/13/CSI/954 4
  • 5. TOOLS FOR ADMINISTERING AN ORACLE DATABASE  Virtualization tool (VMWare)  Linux Operating System  Oracle Universal Installer (OUI)  Database Configuration Assistant (DBCA)  Database Upgrade Assistant  Oracle Net Manager  Oracle Enterprise Manager (OEM)  SQL*Plus  Recovery Manager  Oracle Secure Backup  Data Pump  SQL*Loader FUO/13/CSI/954 5
  • 6. INSTALLATION PREREQUISITES (HARDWARE & SOFTWARE)  Hardware – doesn’t require a server-class machine  Processor – Intel or AMD, 32 bit or 64 bit  Memory – 1GB  Virtual memory/Swap space =1.5 times the amount of the RAM  Disk space = 4GB  All current Windows OS versions (Windows 7 and above)  Linux OS ( Oracle Linux, Suse, Asianux, Red Hat) FUO/13/CSI/954 6
  • 7. ORACLE UNIVERSAL INSTALLER (OUI)  Oracle Universal Installer (OUI) is used (as its name suggests) to install any Oracle software.  OUI can be installed as a self-contained product in its own Oracle Home, but this is not usually necessary, as it is shipped with every Oracle product and can be launched from the product installation media; it will install itself into the Oracle Home along with the product.  The OUI will install a number of other tools for managing a database and related components, notably SQL*Plus. Depending on the installation type chosen, it may also install SQL Developer.  The OUI is written in Java, using JDK/JRE1.5. This means that it is the same on all platforms. FUO/13/CSI/954 7
  • 8. 8
  • 20. LISTENER  Oracle Net Listener is a separate process that runs on the database server. It receives incoming client connection requests and manages the traffic of the requests to the database server.  The following steps are used to configure a Listener in Oracle Database 12c: • From your terminal, you invoke Net Configuration Assistance (NetCA), • Select Listener Configuration and click on next button, • Click on ‘Add’ to add new listener, • Enter the Listener Name, • Select which protocol (TCP/IP) you which to use, • Select ‘use the Standard Port Number of 1521, click on ‘Next’, • Then click on FINISH FUO/13/CSI/954 20
  • 33. PREDEFINED ADMINISTRATIVE ACCOUNTS  SYS:  Owns the data dictionary and the Automatic Workload Repository (AWR)  Used for startup and shutdown of the database instance  SYSTEM: Owns additional administrative tables and views  SYSBACKUP: Facilitates Oracle Recovery Manager (RMAN) backup and recovery operations  SYSDG: Facilitates Oracle Data Guard operations  SYSKM: Facilitates Transparent Data Encryption wallet operations FUO/13/CSI/954 33
  • 34. DATABASE STORAGE ARCHITECTURE  Control Files  Data Files  Online Redo Log Files  Parameter Files  Backup Files  Archive Redo Log Files  Password Files  Alert log and trace Files. FUO/13/CSI/954 34
  • 35.  Control Files: contains data about the database itself ( that is physical Database structure information). These files are critical to the database. Without them, you cannot open data files that contains data in a database  Data Files: contains the user or the application data of the database, as well as meta data and the data dictionary.  Online redo log files: Allows for instance recovery of the database. If the database sever crashes and does not lose any data file, the instance can recover the database with the information of these files. FUO/13/CSI/954 35
  • 36.  Parameter files: Is used to define how the instance is configured when it start up. It allows users using the Sysdba, Sysoper, and Sysasm roles to connect remotely to the instance and perform administrative task. Backup files: Are used for database recovery. Archive Redo log files: Contains an ongoing history of data changes (redo) that are generated by instance. Using these files and the backup of the database, you can recover lost data files. That is archive log enable the recovery of restored data files. FUO/13/CSI/954 36
  • 37. CONCEPT OF A DATABASE Schemas Tables Object Views Synonyms Indexes FUO/13/CSI/954 37
  • 38. SQL STATEMENTS USED Statements Description SELECT INSERT UPDATE DELETE MERGE Retrieves data from the database, enters new rows, changes existing rows and removes unwanted rows from the tables in the database, respectively. Collectively known as data manipulation language (DML) CREATE ALTER DROP RENAME TRUNCATE COMMENT Sets up, changes, and removes data structures from tables. Collectively known as data definition language (DDL) GRANT REVOKE Provides or removes access rights to both the Oracle Database and the structures within it. Collectively known as data control language (DCL) COMMIT ROLLBACK SAVEPOINT Manages the changes made by DML statements, Changes to the data can be grouped together into logical transactions. (transaction control) FUO/13/CSI/954 38
  • 39.  A secure system ensures the confidentiality of the data that it contains. There are several aspects of security: • Restricting access to data and services • Authenticating users • Monitoring for suspicious activity  Separation of Responsibilities • Users with DBA privileges must be trusted. – Abuse of trust – Audit trails protecting the trusted position • DBA responsibilities must be shared. • Accounts must never be shared. • The DBA and the system administrator must be different people. • Separate operator and DBA responsibilities. FUO/13/CSI/954 39 Oracle Database Security
  • 40. The administrator’s duties related to backup and recovery of data are to: • Protect the database from failure wherever possible • Increase the mean time between failures (MTBF) • Protect by redundancy • Decrease the mean time to recover (MTTR) • Minimize the loss of data Failures can generally be divided into the following categories:  Statement failure  User process failure  Network failure  User error  Instance failure  Media failure FUO/13/CSI/954 40 BACKUP AND RECOVERY CONCEPT
  • 41. CONFIGURING FOR RECOVERABILITY To configure your database for maximum recoverability, you must: • Schedule regular backups • Multiplex control files • Multiplex redo log groups • Retain archived copies of redo logs FUO/13/CSI/954 41
  • 42. PERFORMING BACKUP  Backups can be performed by using: • Recovery Manager ( RMAN) • Oracle Secure Backup • User-managed backup Oracle’s recommended backup and recovery tool is RMAN, the Recovery Manager. Using RMAN is not compulsory: Oracle Corporation still supports backups created with operating system utilities FUO/13/CSI/954 42
  • 43. RUNNING BACKUP USING RMAN A backup carried out with operating system commands is known as a user-managed backup. A backup carried out by RMAN is known as a server-managed backup. There are three decisions to make before carrying out a server- managed ( RMAN) backup. Should it be  Closed or open?  Whole or partial?  Full or incremental? FUO/13/CSI/954 43
  • 44.  A closed backup is carried out when the database is shut down; alternative terms for closed are cold, consistent, and offline.  An open backup is carried out while the database is in use; alternative terms are hot, inconsistent, and online. An open backup can only be made if the database is in archivelog mode.  A whole backup is a backup of all the datafiles and the control files.  A partial backup is a backup of a subset of these. In most circumstances, partial backups can only be made if the database is in archivelog mode. FUO/13/CSI/954 44
  • 45.  A full backup includes all used blocks of the files backed up.  An incremental backup includes only those blocks that have been changed since the last backup.  An incremental backup can be cumulative (including all blocks changed since the last full backup) or differential (including all blocks changed since the last incremental backup). FUO/13/CSI/954 45
  • 46. CONCLUSION In this lesson, we have covered:  How to install Oracle Database 12c  Create a listener  Create a Table  Importance of security in Oracle database 12c  Principles of lease privilege as DBA  Identify the types of failure that can occur in an Oracle database  Run backup using RMAN  Create consistent database backups  Create incremental backups  Use SQL command to run backups FUO/13/CSI/954 46

Hinweis der Redaktion

  1. As a result of its early focus on innovation, Oracle has maintained the lead in the industry with a large number of trend-setting products. Some of the marquee areas in the Oracle Database 12c release are the following: Private Database Cloud Defense in Depth including Oracle Data Redaction, Real Application Security Information Lifecycle Management (ILM), which includes hot/cold data classification, declarative compression and tiering, In-database Archiving, and Valid-Time Temporal Flex Clusters Extreme Availability, which includes Data Guard Far-Sync and Application Continuity Lower Cost Migrations Performance and Ease of Use, which includes “just-in-time” optimizations, attribute clustering, and zone maps for Exadata only