SlideShare a Scribd company logo
1 of 47
Download to read offline
DBA 101 : Calling all New
Database Administrators
Presented by : Gustavo René Antúnez
Oracle DBA
The Pythian Group
April, 2014
About Pythian
•  Recognized Leader:
–  Global industry-leader in remote database administration services and
consulting for Oracle, Oracle Applications, MySQL and Microsoft SQL Server
–  Work with over 250 multinational companies such as Forbes.com, Fox Sports,
Nordion and Western Union to help manage their complex IT deployments
•  Expertise:
–  One of the world’s largest concentrations of dedicated, full-time DBA
expertise. Employ 9 Oracle ACEs/ACE Directors.
–  Hold 7 Specializations under Oracle Platinum Partner program, including
Oracle Exadata, Oracle GoldenGate & Oracle RAC
•  Global Reach & Scalability:
–  Around the clock global remote support for DBA and consulting, systems
administration, special projects or emergency response
About Me
–  Oracle DBA
–  Part of the First Oracle
Associate Group
•  Started with Version 9.2 in 2004
–  With The Pythian Group for the
last year
–  Movie Fanatic
–  Music Lover
–  Bringing the best from México
(Mexihtli) to the rest of the world
and in the process
photographing it :)
–  reneantunez.com
–  @grantunez
•  #CLV14
Where do I come from?
How did you get to be a DBA
Happiest Job of 2014!*
*http://www.forbes.com/sites/susanadams/2014/03/20/the-happiest-and-unhappiest-jobs-in-2014/
Work-life
balance
Relationship with
boss and co-
workers
Daily tasks
Job
resources
Field will grow by
15% between
2012 and 2022
DBA can be the
key driver of
success
Happiest Job of 2034?
*Oxford University: THE FUTURE OF EMPLOYMENT: HOW SUSCEPTIBLE ARE JOBS TO COMPUTERISATION?
•  47 percent of American jobs are at high risk of being
taken by computers within the next two decades.*
–  1st Wave
•  Computers will start replacing people in especially vulnerable
fields like transportation/logistics, production labor, and
administrative support.
–  2nd Wave
•  Dependent upon the development of good artificial
intelligence. This could next put jobs in management, science
and engineering, and the arts at risk.
What is an Oracle database Server ?
•  It is comprised of :
–  Database
–  Database Instance or Instance
•  Each of those is independent, meaning that you can
have one without the other
What is an Oracle database Server ?
•  9i Version Architecture
Snnn
Users
DBWR
SGA
Database Buffer Cache Redo Log Buffer
Dedicated
Server
Process
LCK0RECOPMONSMON
CKPT
User
Process
Dnnn
LGWR ARCH
SNPn
Pnnn
Online
Redo Log
10101
10101
10101
Data Files
10101
10101
10101
Control Files
Archived
Redo Log
What is an Oracle database Server ?
What is an Oracle database Server ?
•  12c Version Architecture:
What is an Oracle database Server ?
Database
101010
Online Redo
Log
10100
Data Files Control Files
Set of files that store data and metadata; these files are
saved on a physical disk
Archived Redo Log Flashback Log
•  There is physical and logical viewpoint, and
each have their own structures
–  Physical
•  Control Files
•  Online Redo Logs
•  Data files
–  Logical
»  Data block
»  Extent
»  Segment
»  Tablespace
Database
Segment
Database
Tablespace
Extent
Oracle data
block
Schema Data file
OS block
Logical Physical
•  Binary file that holds the metadata which
specifies the physical organization of your
database
Controlfiles
10101
Control Files
Checkpoint
information
Current Online Redo Log
Sequence
RMAN Backup
Information
Database Name
•  Set of files that record altered data .A redo log is
made up of redo records and these records
include the following metadata
Online Redo Logs
Online Redo
Log
SCN and time
stamp of the
change
Transaction ID of the
transaction that
generated the
change
SCN and time stamp
when the transaction
committed (if it
committed)
Name and type of
the modified data
segment
Type of operation that
made the change
•  File that contains system and user data
Data files
10100
Data Files
Data File
Header
Used
Free (Formatted, Never
Used)
Free (Previously Used,
Currently Unused)
•  Data block. – It is the smallest logical
unit; data is stored in data blocks
•  Extent. – A single allocation of a number of
logically bordering data blocks. An extent
can exist in only one data file.
•  Segment. – A set of extents allocated
for user, undo or temporary data
•  Tablespace. –This is the container of
segments, defined as a storage unit
that groups related logical structures
Logical
Segment
Database
Tablespace
Extent
Oracle data
block
Schema Data file
OS block
Logical Physical
Oracle database Instance
•  Set of memory structures and processes that
manage database files
System Global Area (SGA)
Shared Pool
Library Cache
Shared SQL Area
SELECT * FROM employees
Private SQL Area
(Shared Server
Only)
Data
Dictionary
Cache
Server
Result
Cache
Other Reserved
Pool
Large Pool
Response
Queue
Request
Queue
Database
Buffer Cache Redo log
Buffer
Fixed
SGA Java Pool
Streams
Pool
Instance
Server
Process
SQL Work Areas
Private SQL AreaSession Memory
DBWn CKPT LGWR ARCn RVWR
Others
MMNL
MMON
RECO
SMON
PMON
Background
Processes
Free Memory
I/O Buffer Area
UGA
PGA
Memory Architecture
System Global Area (SGA)
Shared Pool
Library Cache
Shared SQL Area
SELECT * FROM employees
Private SQL Area
(Shared Server
Only)
Data
Dictionary
Cache
Server
Result
Cache
Other Reserved
Pool
Large Pool
Response
Queue
Request
Queue
Database
Buffer Cache Redo log
Buffer
Server
Process
SQL Work Areas
Private SQL AreaSession Memory
PGA
Contains session-
dependent
variables
Stores copies of
data blocks read
from data files
circular buffer that
caches redo entries
describing changes
made to the database
Intended for memory
allocations that are
larger than is
appropriate for the
shared pool
Group of shared memory
structures that contain data and
control information for one
database instance
It stores
executable SQL
and PL/SQL code
Holds information
about database
tables and views
An Oracle process that
communicates with a client
process and Oracle Database to
fulfill user requests
Critical Proceses
DBWn CKPT LGWR ARCn Others
MMNL
MMON
SMON
PMON
Background
Processes
Monitors other background
process and performs
process recovery
Process in charge of several
system-level cleanup tasks
Writes the contents of the
modified database buffers in
the buffer cache to the
datafiles
RECO Resolves failures in a
distributed transaction
Performs tasks related to the
Automatic Workload
Repository
Updates the control file and
data file headers with the
checkpoint information
Writes the redo entries from
one or more redo log buffer
strands
Copies online redo log files
to offline storage after a redo
log switch occurs
LREG
Registers information about
the database instance with
the Net Listener
What is The Multitenant
Architecture?
•  Container database (CDB) is an Oracle
database that includes zero, one, or many
customer-created Containers or Pluggable
Databases.
•  A pluggable Database (PDB) is a user-created
container holding the data and code for your
specific applications
What is a Pluggable Database?
Root
(CDB$ROOT)
CDB
hrpdb salespdb
Seed
(PDB$SEED)
CDB
Administrator
Sales Application
HR Application
PDB
Administrator
for hrpdb
PDB
Administrator
for salespdb
Logical
Physical
Database
Control
Files
Data
Files
Online
Redo Log
10101 10101
Archived
Redo Log
Flashback
Log
What is a Pluggable Database?
Root
(CDB$ROOT)
HR
PDB
Sales
PDB
CDB
Seed
(PDB$SEED)
Sales
PDB2
CREATE PLUGGABLE DATABASE. . . FROM
New
PDB
CREATE PLUGGABLE DATABASE
Demo
Multitenant Architecture
CDB_view : All of the objects in the CDB across all PDBs.
DBA_view: All of the objects in a CDB or PDB
All_view Objects accessible by the current user
User_view : Objects owned by the current user
Container ID Rows Belong to
0 Whole CDB
1 CDB$ROOT
2 PDB$SEED
All other IDs User created PDBs
Multitenant Architecture Users
•  Common User. – Can connect and perform operations
within the root and every existing and future PDBs.
•  Local User. – Specific user that can only operate within
the PDB. A restriction is that a user cannot begin with
c## or C##
Automatic Workload Repository
•  Periodically makes a snapshot of essential
statistics
•  Licensable option within the Oracle Database
•  Controlled by the parameter
STATISTICS_LEVEL and
CONTROL_MANAGEMENT_PACK_ACCESS
Automatic Workload Repository
•  It has the following components
–  SGA In-Memory AWR statistics
–  AWR snapshots
Database Instance
SGA
Statistics
SYSAUX
AWR
MMON
Oracle Database and High
Availability
•  Availability is percentage of uptime in a year that
a designed system in which it guarantees that it
will be operational during a pre-established
service level of agreement
Oracle Database and High
Availability
•  A highly available architecture should have the
following characteristics:
–  Tolerate Failures
–  Prevent data loss
–  Achieve Recovery Time Objectives (RTO) and
Recovery Point Objectives (RPO)
–  Detect errors in a timely manner
Oracle Real Application Cluster
•  Architecture that has a one Database to many
Instances relationship
•  All datafiles,control files and redo logs must be in
a cluster-aware disks
•  One redo thread per instance
•  If using Automatic Undo Management also
require one UNDO tablespace per instance
Oracle Real Application Cluster
Node 1
Instance 1
Node 2
Instance 2
Interconnect
Shared
Storage
Local
Disk
Local
Disk
Oracle Data Guard
•  Manage and monitor one or up to 30
geographically dispersed standby databases.
•  Only propagates the redo data in the logs, so no
disk corruptions are introduced in the standby
•  Physical Standby
–  Identical copy of the primary database on a block-by-
block basis
•  Logical Standby
–  Contains the same logical information as the primary,
and is synchronized through SQL Apply
Oracle Data Guard
Standby
Redo
Logs
RFSNSA
Primary
Online
Redo Logs
Primary
Database
LGWR
MRP
Oracle Net
Commit
User Transactions
Queries, Updates, DDL
Queries, Reports
Testing & Backups
Active
Standby
Database
SGA
Redo
Buffer
Redo
Buffer
Oracle Golden Gate
•  Logical log based change data capture (CDC) and
replication that enables the exchange and manipulation
at the transaction level amongst heterogeneous
platforms
•  Replication may be uni-directional, bi-directional or multi-
dimensional
•  Considerations should be made:
–  Database in archive log mode
–  Supplemental logging at the source
–  Sufficient disk space to store trail files
–  Use a Data Pump when the target connection is via TCP/IP.
–  If using RAC, Golden Gate should reside on SAN shared by the
RAC servers.
Oracle Golden Gate
Capture Trail
Pump Delivery
TrailLAN/WAN
Internet
TCP/IP
Capture: committed transactions are captured (and can be filtered) as
they occur by reading the transaction logs.
Trail: stages and queues data for routing.
Pump: distributes data for routing to target(s).
Route: data is compressed, encrypted for routing to
target(s).
Delivery: applies data with transaction integrity,
transforming the data as required.
Source
Oracle & Non-Oracle
Database(s)
Target
Oracle & Non-Oracle
Database(s)
Maximum Availability Architecture
(MAA)
•  Oracle’s generally recommended :
–  Oracle Golden Gate for any advanced or granular
replication requirements, combined with Oracle RAC
and Data Guard
My 12c Top Features
•  Online rename and relocation of an active data file.
–  ALTER DATABASE MOVE DATAFILE
•  DDL logging
–  ALTER SYSTEM|SESSION SET ENABLE_DDL_LOGGING=TRUE;
–  $ORACLE_BASE/diag/rdbms/DBNAME/log|ddl
•  Datapump
–  Export View As a Table
–  Turn off redo log generation for Datapump Imports
•  TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y
My 12c Top Features
•  Active Data Guard Far Sync
–  Synchronous replication to a far sync instance (repeater)
situated at distance (reasonable latency), then asynchronous
replication to the final standby
SYNC ASYNC
My 12c Top Features
•  Oracle Flex ASM
–  Enables an Oracle ASM instance to run on a separate
physical server from the database servers
•  Parallel Upgrade Utility
–  $ORACLE_HOME/perl/bin/perl catctl.pl -n 4 -l $ORACLE_HOME/
diagnostics catupgrd.sql
Where is The DBA Job Going in the
near future?
•  Database as a Service (DBaaS)
–  Revenues will grow from 150 million in 2012 to 1.8
billion by 2016 - Forbes
–  Paradigm where end users can request database
services, consume it for the lifetime of the project, and
then have then automatically de-provisioned and
returned to the resource pool.
–  Elasticity to scale out and scale back database
resources
FIT-ACER
•  F – Focus (SLOW DOWN! Are you ready?)
•  I – Identify server/DB name, time, authorization
•  T – Type the command (do not hit enter yet)
•  A – Assess the command (SPEND TIME HERE!)
•  C – Check the server / database name again
•  E – Execute the command
•  R – Review and document the results
Pythian at Collaborate 2014
Session
ID
Session
Date
Start
Time Session Room Session Title
Presenter
Name
157 4/9/2014 8:30 AM Level 3, Lido 3101B Database Private Clouds with Oracle Database 12c Marc Fielding
574 4/9/2014 8:30 AM Level 3, Lido 3005 DBA 101 : Calling all New Database Administrators Rene Antunez
14408 4/9/2014 4:30 PM Sands, Level 1 - 309What's New in Oracle E-Business Suite R12.2 for Database
Administrators?
Vasu Balla
158 4/10/2014 3:00 PM Level 3, San Polo
3403
Accelerate Your Exadata Deployment with the Skills You Already Have Marc Fielding
411 4/10/2014 4:15 PM Level 3, Murano
3306
Thou Shalt Not Steal: Securing Your Infrastructure in the Age of
Snowden
Paul Vallee
544 4/10/2014 11:00 AM Level 3, San Polo
3403
My First 100 days with an Exadata Rene Antunez
135 4/11/2014 9:45 AM Level 3, Lido 3003 Ensuring Your Physical Standby is Usable Michael Abbey
194 4/11/2014 12:15 PM Level 3, Lido 3101B 12c Multi-Tenancy and Exadata IORM: An Ideal Cloud Based Resource
Management
Fahd Chughtai
546 4/11/2014 8:30 AM Level 3, Lido 3103 RMAN in 12c: The Next Generation ReneAntunez
878 4/11/2014 9:45 AM Level 3, San Polo
3405
Practical Machine Learning for DBAs Alex Gorbachev
Thank you – Q&A
To contact us
sales@pythian.com
1-877-PYTHIAN
To follow us
http://www.pythian.com/blog
http://www.facebook.com/pages/The-Pythian-Group/163902527671
@pythian
http://www.linkedin.com/company/pythian
We are hiring!
Booth 1535

More Related Content

What's hot

Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudipasalapudi123
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
My First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMSMy First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMSGustavo Rene Antunez
 
Architecting Your Own DBaaS in a Private Cloud with EM12c
Architecting Your Own DBaaS in a Private Cloud with EM12cArchitecting Your Own DBaaS in a Private Cloud with EM12c
Architecting Your Own DBaaS in a Private Cloud with EM12cGustavo Rene Antunez
 
Oracle Database Overview
Oracle Database OverviewOracle Database Overview
Oracle Database Overviewhonglee71
 
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 R2Mario Redón Luz
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Markus Michalewicz
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new featuresJakkrapat S.
 
Oracle database high availability solutions
Oracle database high availability solutionsOracle database high availability solutions
Oracle database high availability solutionsKirill Loifman
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)Satishbabu Gunukula
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application clusterSatishbabu Gunukula
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationYudi Herdiana
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginnersPini Dibask
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACSatishbabu Gunukula
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantPini Dibask
 

What's hot (20)

Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
My First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMSMy First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMS
 
Architecting Your Own DBaaS in a Private Cloud with EM12c
Architecting Your Own DBaaS in a Private Cloud with EM12cArchitecting Your Own DBaaS in a Private Cloud with EM12c
Architecting Your Own DBaaS in a Private Cloud with EM12c
 
Oracle Database Overview
Oracle Database OverviewOracle Database Overview
Oracle Database Overview
 
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
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Oracle 12c
Oracle 12cOracle 12c
Oracle 12c
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
 
153 Oracle dba interview questions
153 Oracle dba interview questions153 Oracle dba interview questions
153 Oracle dba interview questions
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
Oracle database high availability solutions
Oracle database high availability solutionsOracle database high availability solutions
Oracle database high availability solutions
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
 
Oracle 12c Architecture
Oracle 12c ArchitectureOracle 12c Architecture
Oracle 12c Architecture
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive PresentationNabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
 
Oracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for ConsolidationOracle Database 12c Multitenant for Consolidation
Oracle Database 12c Multitenant for Consolidation
 
Oracle data guard for beginners
Oracle data guard for beginnersOracle data guard for beginners
Oracle data guard for beginners
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RAC
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle Multitenant
 

Viewers also liked

My First 100 days with an Exadata (WP)
My First 100 days with an Exadata  (WP)My First 100 days with an Exadata  (WP)
My First 100 days with an Exadata (WP)Gustavo Rene Antunez
 
Oracle 9i Dba Fundamentals
Oracle 9i Dba FundamentalsOracle 9i Dba Fundamentals
Oracle 9i Dba FundamentalsLiquidHub
 
Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12c
Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12cCosas que “probablemente” no sabes pero deberías de saber en Oracle 12c
Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12cGustavo Rene Antunez
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)Gustavo Rene Antunez
 
Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle ArchitectureNeeraj Singh
 
Goals asignment powerpoint presentation
Goals asignment powerpoint presentationGoals asignment powerpoint presentation
Goals asignment powerpoint presentationDella Smith
 

Viewers also liked (6)

My First 100 days with an Exadata (WP)
My First 100 days with an Exadata  (WP)My First 100 days with an Exadata  (WP)
My First 100 days with an Exadata (WP)
 
Oracle 9i Dba Fundamentals
Oracle 9i Dba FundamentalsOracle 9i Dba Fundamentals
Oracle 9i Dba Fundamentals
 
Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12c
Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12cCosas que “probablemente” no sabes pero deberías de saber en Oracle 12c
Cosas que “probablemente” no sabes pero deberías de saber en Oracle 12c
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)
 
Oracle Architecture
Oracle ArchitectureOracle Architecture
Oracle Architecture
 
Goals asignment powerpoint presentation
Goals asignment powerpoint presentationGoals asignment powerpoint presentation
Goals asignment powerpoint presentation
 

Similar to DBA 101 : Calling all New Database Administrators (PPT)

Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture pptDeepak Shetty
 
Exploring the Oracle Database Architecture.ppt
Exploring the Oracle Database Architecture.pptExploring the Oracle Database Architecture.ppt
Exploring the Oracle Database Architecture.pptMohammedHdi1
 
exploring-the-oracle-database-architecture.ppt
exploring-the-oracle-database-architecture.pptexploring-the-oracle-database-architecture.ppt
exploring-the-oracle-database-architecture.pptAmitavaRoy49
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architectureImran Ali
 
Top 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseTop 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseSandesh Rao
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle DatabaseMeysam Javadi
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaSArush Jain
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016Aaron Shilo
 
Adavanced Databases and Mangement system
Adavanced Databases and Mangement systemAdavanced Databases and Mangement system
Adavanced Databases and Mangement systemMurtazaMughal13
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Aaron Shilo
 
Oracle Database 11g SQL Tuning Workshop - Student Guide.pdf
Oracle Database 11g SQL Tuning Workshop - Student Guide.pdfOracle Database 11g SQL Tuning Workshop - Student Guide.pdf
Oracle Database 11g SQL Tuning Workshop - Student Guide.pdfRajendra Jain
 
Oracle Database Introduction
Oracle Database IntroductionOracle Database Introduction
Oracle Database IntroductionChhom Karath
 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)Marco Gralike
 

Similar to DBA 101 : Calling all New Database Administrators (PPT) (20)

Oracle DBA
Oracle DBAOracle DBA
Oracle DBA
 
Less01_Architecture.ppt
Less01_Architecture.pptLess01_Architecture.ppt
Less01_Architecture.ppt
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
 
Oracle 10g Introduction 1
Oracle 10g Introduction 1Oracle 10g Introduction 1
Oracle 10g Introduction 1
 
Lecture2 oracle ppt
Lecture2 oracle pptLecture2 oracle ppt
Lecture2 oracle ppt
 
Oracle DB
Oracle DBOracle DB
Oracle DB
 
Exploring the Oracle Database Architecture.ppt
Exploring the Oracle Database Architecture.pptExploring the Oracle Database Architecture.ppt
Exploring the Oracle Database Architecture.ppt
 
exploring-the-oracle-database-architecture.ppt
exploring-the-oracle-database-architecture.pptexploring-the-oracle-database-architecture.ppt
exploring-the-oracle-database-architecture.ppt
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architecture
 
Top 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseTop 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous Database
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle Database
 
Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
 
Adavanced Databases and Mangement system
Adavanced Databases and Mangement systemAdavanced Databases and Mangement system
Adavanced Databases and Mangement system
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 
Oracle Database 11g SQL Tuning Workshop - Student Guide.pdf
Oracle Database 11g SQL Tuning Workshop - Student Guide.pdfOracle Database 11g SQL Tuning Workshop - Student Guide.pdf
Oracle Database 11g SQL Tuning Workshop - Student Guide.pdf
 
Oracle Database Introduction
Oracle Database IntroductionOracle Database Introduction
Oracle Database Introduction
 
ora_sothea
ora_sotheaora_sothea
ora_sothea
 
Oracle OpenWo2014 review part 03 three_paa_s_database
Oracle OpenWo2014 review part 03 three_paa_s_databaseOracle OpenWo2014 review part 03 three_paa_s_database
Oracle OpenWo2014 review part 03 three_paa_s_database
 
An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)An AMIS Overview of Oracle database 12c (12.1)
An AMIS Overview of Oracle database 12c (12.1)
 

Recently uploaded

Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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 MenDelhi Call girls
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 

Recently uploaded (20)

Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 

DBA 101 : Calling all New Database Administrators (PPT)

  • 1. DBA 101 : Calling all New Database Administrators Presented by : Gustavo René Antúnez Oracle DBA The Pythian Group April, 2014
  • 2. About Pythian •  Recognized Leader: –  Global industry-leader in remote database administration services and consulting for Oracle, Oracle Applications, MySQL and Microsoft SQL Server –  Work with over 250 multinational companies such as Forbes.com, Fox Sports, Nordion and Western Union to help manage their complex IT deployments •  Expertise: –  One of the world’s largest concentrations of dedicated, full-time DBA expertise. Employ 9 Oracle ACEs/ACE Directors. –  Hold 7 Specializations under Oracle Platinum Partner program, including Oracle Exadata, Oracle GoldenGate & Oracle RAC •  Global Reach & Scalability: –  Around the clock global remote support for DBA and consulting, systems administration, special projects or emergency response
  • 3. About Me –  Oracle DBA –  Part of the First Oracle Associate Group •  Started with Version 9.2 in 2004 –  With The Pythian Group for the last year –  Movie Fanatic –  Music Lover –  Bringing the best from México (Mexihtli) to the rest of the world and in the process photographing it :) –  reneantunez.com –  @grantunez •  #CLV14
  • 4. Where do I come from?
  • 5. How did you get to be a DBA
  • 6. Happiest Job of 2014!* *http://www.forbes.com/sites/susanadams/2014/03/20/the-happiest-and-unhappiest-jobs-in-2014/ Work-life balance Relationship with boss and co- workers Daily tasks Job resources Field will grow by 15% between 2012 and 2022 DBA can be the key driver of success
  • 7. Happiest Job of 2034? *Oxford University: THE FUTURE OF EMPLOYMENT: HOW SUSCEPTIBLE ARE JOBS TO COMPUTERISATION? •  47 percent of American jobs are at high risk of being taken by computers within the next two decades.* –  1st Wave •  Computers will start replacing people in especially vulnerable fields like transportation/logistics, production labor, and administrative support. –  2nd Wave •  Dependent upon the development of good artificial intelligence. This could next put jobs in management, science and engineering, and the arts at risk.
  • 8. What is an Oracle database Server ? •  It is comprised of : –  Database –  Database Instance or Instance •  Each of those is independent, meaning that you can have one without the other
  • 9. What is an Oracle database Server ? •  9i Version Architecture Snnn Users DBWR SGA Database Buffer Cache Redo Log Buffer Dedicated Server Process LCK0RECOPMONSMON CKPT User Process Dnnn LGWR ARCH SNPn Pnnn Online Redo Log 10101 10101 10101 Data Files 10101 10101 10101 Control Files Archived Redo Log
  • 10. What is an Oracle database Server ?
  • 11. What is an Oracle database Server ? •  12c Version Architecture:
  • 12. What is an Oracle database Server ?
  • 13. Database 101010 Online Redo Log 10100 Data Files Control Files Set of files that store data and metadata; these files are saved on a physical disk Archived Redo Log Flashback Log
  • 14. •  There is physical and logical viewpoint, and each have their own structures –  Physical •  Control Files •  Online Redo Logs •  Data files –  Logical »  Data block »  Extent »  Segment »  Tablespace Database Segment Database Tablespace Extent Oracle data block Schema Data file OS block Logical Physical
  • 15. •  Binary file that holds the metadata which specifies the physical organization of your database Controlfiles 10101 Control Files Checkpoint information Current Online Redo Log Sequence RMAN Backup Information Database Name
  • 16. •  Set of files that record altered data .A redo log is made up of redo records and these records include the following metadata Online Redo Logs Online Redo Log SCN and time stamp of the change Transaction ID of the transaction that generated the change SCN and time stamp when the transaction committed (if it committed) Name and type of the modified data segment Type of operation that made the change
  • 17. •  File that contains system and user data Data files 10100 Data Files Data File Header Used Free (Formatted, Never Used) Free (Previously Used, Currently Unused)
  • 18. •  Data block. – It is the smallest logical unit; data is stored in data blocks •  Extent. – A single allocation of a number of logically bordering data blocks. An extent can exist in only one data file. •  Segment. – A set of extents allocated for user, undo or temporary data •  Tablespace. –This is the container of segments, defined as a storage unit that groups related logical structures Logical Segment Database Tablespace Extent Oracle data block Schema Data file OS block Logical Physical
  • 19. Oracle database Instance •  Set of memory structures and processes that manage database files System Global Area (SGA) Shared Pool Library Cache Shared SQL Area SELECT * FROM employees Private SQL Area (Shared Server Only) Data Dictionary Cache Server Result Cache Other Reserved Pool Large Pool Response Queue Request Queue Database Buffer Cache Redo log Buffer Fixed SGA Java Pool Streams Pool Instance Server Process SQL Work Areas Private SQL AreaSession Memory DBWn CKPT LGWR ARCn RVWR Others MMNL MMON RECO SMON PMON Background Processes Free Memory I/O Buffer Area UGA PGA
  • 20. Memory Architecture System Global Area (SGA) Shared Pool Library Cache Shared SQL Area SELECT * FROM employees Private SQL Area (Shared Server Only) Data Dictionary Cache Server Result Cache Other Reserved Pool Large Pool Response Queue Request Queue Database Buffer Cache Redo log Buffer Server Process SQL Work Areas Private SQL AreaSession Memory PGA Contains session- dependent variables Stores copies of data blocks read from data files circular buffer that caches redo entries describing changes made to the database Intended for memory allocations that are larger than is appropriate for the shared pool Group of shared memory structures that contain data and control information for one database instance It stores executable SQL and PL/SQL code Holds information about database tables and views An Oracle process that communicates with a client process and Oracle Database to fulfill user requests
  • 21.
  • 22. Critical Proceses DBWn CKPT LGWR ARCn Others MMNL MMON SMON PMON Background Processes Monitors other background process and performs process recovery Process in charge of several system-level cleanup tasks Writes the contents of the modified database buffers in the buffer cache to the datafiles RECO Resolves failures in a distributed transaction Performs tasks related to the Automatic Workload Repository Updates the control file and data file headers with the checkpoint information Writes the redo entries from one or more redo log buffer strands Copies online redo log files to offline storage after a redo log switch occurs LREG Registers information about the database instance with the Net Listener
  • 23. What is The Multitenant Architecture? •  Container database (CDB) is an Oracle database that includes zero, one, or many customer-created Containers or Pluggable Databases. •  A pluggable Database (PDB) is a user-created container holding the data and code for your specific applications
  • 24. What is a Pluggable Database? Root (CDB$ROOT) CDB hrpdb salespdb Seed (PDB$SEED) CDB Administrator Sales Application HR Application PDB Administrator for hrpdb PDB Administrator for salespdb Logical Physical Database Control Files Data Files Online Redo Log 10101 10101 Archived Redo Log Flashback Log
  • 25. What is a Pluggable Database? Root (CDB$ROOT) HR PDB Sales PDB CDB Seed (PDB$SEED) Sales PDB2 CREATE PLUGGABLE DATABASE. . . FROM New PDB CREATE PLUGGABLE DATABASE
  • 26. Demo
  • 27. Multitenant Architecture CDB_view : All of the objects in the CDB across all PDBs. DBA_view: All of the objects in a CDB or PDB All_view Objects accessible by the current user User_view : Objects owned by the current user Container ID Rows Belong to 0 Whole CDB 1 CDB$ROOT 2 PDB$SEED All other IDs User created PDBs
  • 28. Multitenant Architecture Users •  Common User. – Can connect and perform operations within the root and every existing and future PDBs. •  Local User. – Specific user that can only operate within the PDB. A restriction is that a user cannot begin with c## or C##
  • 29. Automatic Workload Repository •  Periodically makes a snapshot of essential statistics •  Licensable option within the Oracle Database •  Controlled by the parameter STATISTICS_LEVEL and CONTROL_MANAGEMENT_PACK_ACCESS
  • 30. Automatic Workload Repository •  It has the following components –  SGA In-Memory AWR statistics –  AWR snapshots Database Instance SGA Statistics SYSAUX AWR MMON
  • 31. Oracle Database and High Availability •  Availability is percentage of uptime in a year that a designed system in which it guarantees that it will be operational during a pre-established service level of agreement
  • 32. Oracle Database and High Availability •  A highly available architecture should have the following characteristics: –  Tolerate Failures –  Prevent data loss –  Achieve Recovery Time Objectives (RTO) and Recovery Point Objectives (RPO) –  Detect errors in a timely manner
  • 33. Oracle Real Application Cluster •  Architecture that has a one Database to many Instances relationship •  All datafiles,control files and redo logs must be in a cluster-aware disks •  One redo thread per instance •  If using Automatic Undo Management also require one UNDO tablespace per instance
  • 34. Oracle Real Application Cluster Node 1 Instance 1 Node 2 Instance 2 Interconnect Shared Storage Local Disk Local Disk
  • 35. Oracle Data Guard •  Manage and monitor one or up to 30 geographically dispersed standby databases. •  Only propagates the redo data in the logs, so no disk corruptions are introduced in the standby •  Physical Standby –  Identical copy of the primary database on a block-by- block basis •  Logical Standby –  Contains the same logical information as the primary, and is synchronized through SQL Apply
  • 36. Oracle Data Guard Standby Redo Logs RFSNSA Primary Online Redo Logs Primary Database LGWR MRP Oracle Net Commit User Transactions Queries, Updates, DDL Queries, Reports Testing & Backups Active Standby Database SGA Redo Buffer Redo Buffer
  • 37. Oracle Golden Gate •  Logical log based change data capture (CDC) and replication that enables the exchange and manipulation at the transaction level amongst heterogeneous platforms •  Replication may be uni-directional, bi-directional or multi- dimensional •  Considerations should be made: –  Database in archive log mode –  Supplemental logging at the source –  Sufficient disk space to store trail files –  Use a Data Pump when the target connection is via TCP/IP. –  If using RAC, Golden Gate should reside on SAN shared by the RAC servers.
  • 38. Oracle Golden Gate Capture Trail Pump Delivery TrailLAN/WAN Internet TCP/IP Capture: committed transactions are captured (and can be filtered) as they occur by reading the transaction logs. Trail: stages and queues data for routing. Pump: distributes data for routing to target(s). Route: data is compressed, encrypted for routing to target(s). Delivery: applies data with transaction integrity, transforming the data as required. Source Oracle & Non-Oracle Database(s) Target Oracle & Non-Oracle Database(s)
  • 39. Maximum Availability Architecture (MAA) •  Oracle’s generally recommended : –  Oracle Golden Gate for any advanced or granular replication requirements, combined with Oracle RAC and Data Guard
  • 40. My 12c Top Features •  Online rename and relocation of an active data file. –  ALTER DATABASE MOVE DATAFILE •  DDL logging –  ALTER SYSTEM|SESSION SET ENABLE_DDL_LOGGING=TRUE; –  $ORACLE_BASE/diag/rdbms/DBNAME/log|ddl •  Datapump –  Export View As a Table –  Turn off redo log generation for Datapump Imports •  TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y
  • 41. My 12c Top Features •  Active Data Guard Far Sync –  Synchronous replication to a far sync instance (repeater) situated at distance (reasonable latency), then asynchronous replication to the final standby SYNC ASYNC
  • 42. My 12c Top Features •  Oracle Flex ASM –  Enables an Oracle ASM instance to run on a separate physical server from the database servers •  Parallel Upgrade Utility –  $ORACLE_HOME/perl/bin/perl catctl.pl -n 4 -l $ORACLE_HOME/ diagnostics catupgrd.sql
  • 43. Where is The DBA Job Going in the near future? •  Database as a Service (DBaaS) –  Revenues will grow from 150 million in 2012 to 1.8 billion by 2016 - Forbes –  Paradigm where end users can request database services, consume it for the lifetime of the project, and then have then automatically de-provisioned and returned to the resource pool. –  Elasticity to scale out and scale back database resources
  • 44. FIT-ACER •  F – Focus (SLOW DOWN! Are you ready?) •  I – Identify server/DB name, time, authorization •  T – Type the command (do not hit enter yet) •  A – Assess the command (SPEND TIME HERE!) •  C – Check the server / database name again •  E – Execute the command •  R – Review and document the results
  • 45.
  • 46. Pythian at Collaborate 2014 Session ID Session Date Start Time Session Room Session Title Presenter Name 157 4/9/2014 8:30 AM Level 3, Lido 3101B Database Private Clouds with Oracle Database 12c Marc Fielding 574 4/9/2014 8:30 AM Level 3, Lido 3005 DBA 101 : Calling all New Database Administrators Rene Antunez 14408 4/9/2014 4:30 PM Sands, Level 1 - 309What's New in Oracle E-Business Suite R12.2 for Database Administrators? Vasu Balla 158 4/10/2014 3:00 PM Level 3, San Polo 3403 Accelerate Your Exadata Deployment with the Skills You Already Have Marc Fielding 411 4/10/2014 4:15 PM Level 3, Murano 3306 Thou Shalt Not Steal: Securing Your Infrastructure in the Age of Snowden Paul Vallee 544 4/10/2014 11:00 AM Level 3, San Polo 3403 My First 100 days with an Exadata Rene Antunez 135 4/11/2014 9:45 AM Level 3, Lido 3003 Ensuring Your Physical Standby is Usable Michael Abbey 194 4/11/2014 12:15 PM Level 3, Lido 3101B 12c Multi-Tenancy and Exadata IORM: An Ideal Cloud Based Resource Management Fahd Chughtai 546 4/11/2014 8:30 AM Level 3, Lido 3103 RMAN in 12c: The Next Generation ReneAntunez 878 4/11/2014 9:45 AM Level 3, San Polo 3405 Practical Machine Learning for DBAs Alex Gorbachev
  • 47. Thank you – Q&A To contact us sales@pythian.com 1-877-PYTHIAN To follow us http://www.pythian.com/blog http://www.facebook.com/pages/The-Pythian-Group/163902527671 @pythian http://www.linkedin.com/company/pythian We are hiring! Booth 1535