SlideShare a Scribd company logo
1 of 36
Download to read offline
ORACLE FOR THE
     SQL SERVER DBA
KELLYN POT’VIN, SR. TECHNICAL CONSULTANT
ABOUT THE PRESENTER

• Oracle and MsSQL DBA for over twelve years.
• Oracle ACE
• Board of Directors for RMOUG, (Rocky Mountain Oracle
  User Group)
• Database Track Committee for ODTUG’s, (Oracle
  Developer Tools User Group) KSCOPE 2012
• Presenting this year at RMOUG, Miracle World,
  (Denmark) KSCOPE, Oracle User Group’s Harmony,
  (Finland) and other international conferences.
• Resides in Broomfield, CO.
• Honing skills at Enkitec, a Platinum Oracle Partner out of
  Dallas, Tx.
“...GET NO RESPECT…”

• Oracle in comparison to SQL Server DBA’s in the
  technical arena.
• Rarely do Oracle DBA’s have other technical
  groups performing their tasks.
• Microsoft pushes the database platform for it’s
  “ease of management.”
• “We won’t need your SQL Server skills, no [mission
  critical] MsSQL databases here…”
• Only one position has kept that deal.
DIVERGENCE

• Oracle Marketshare?
• Oracle’s Latest Innovations?

• SQL Server’s Marketshare?
• SQL Server’s Latest Innovations?

• MySQL in the mix…
MULTI-PLATFORM

“A database is a database…”

• Must be able to adapt quickly.
• Must be open-minded.
• Must like challenges.
• Must be able to absorb a lot of information and
  keep it well organized mentally.
• Must be open to finding the right platform/product
  for the task/project.
WHAT IS THE SAME

• Both ACID Compliant, (atomicity, consistency,
  isolation, durability).
• Extensive tuning options in both databases.
• OLTP and DSS/Warehouse features.
• Multiple Backup and Recovery level features.
• High Availability and stand-by
• Fully auditable, accountable and transactional
  level recoverable.
VERY DIFFERENT

• System Databases and Temp Database- None in
  Oracle.
• Oracle contains a SYSTEM schema, along with other
  schemas that house important information vs.
  having in separate database, i.e. SQL Server’s
  System tablespaces.
• Temporary work is all performed in the TEMP
  tablespace for Oracle, which does possess physical
  files underneath, but no separate database.
• SQL Server’s transaction log and temp database
  handles processing a bit differently than Oracle’s
  temp tablespace, redo and undo.
THE INSTANCE

• INSTANCE
 • Oracle- The core services, (i.e. memory structure and
   background processes) that identifies the database. It is
   not the database, but again, the background processes,
   controlfiles and configuration, (initialization parameter file)
   that will be used by the database. One instance per
   database, unless a RAC, (Real Application Cluster.)
 • SQL Server- An Instance allows more than one copy of the
   SQL Server software to run at one time, each copy, also
   known as an instance. This allows the DBA to run multiple
   versions of SQL Server from one server, as well. For an
   Oracle DBA, we would translate this more to the term
   “Oracle Homes” instead of the term of “Instance”.
SQL SERVER MAIN
ORACLE DATABASE MAIN VIEW
ORACLE ARCHITECTURE
SQL SERVER CONFIGURATION
ORACLE INITIALIZATION PARAMETERS

• “Init” parameters are
  required to (no)mount or
  open a database, either
  by:
 • Text based, “pfile” or
   parameter file.
 • Naming convention
   init<sid>.ora

 • Bit-secure version, “spfile”
   or secure parameter file.
 • Naming convention
   sp<sid>.ora
SQL SERVER DATABASE FILES
ORACLE DATAFILES
SQL SERVER FILEGROUPS
ORACLE TABLESPACES

Logical structure, datafiles underneath.
ORACLE CONTROLFILES
ORACLE REDO LOGS

• Redo logs are stored in “member groups” and each file within the
  member group is referred to as a “member”.
• Each Member Group includes information about last SCN change, if
  active, inactive and if archived.
ORACLE REDO LOG FILES

• Files are mirrored for security reasons.
• These files are REQUIRED to be moved for recovery and are archived
  off, (archive logs…)
• Files are stored as part of groups and although .log is standard naming
  convention .rdo is recommended.
• Can you suspect why the naming convention recommendation
  change?
ORACLE ARCHIVE LOGS

• Once the Redo log is no longer Current, the archiver is able to archive
  the redo log file off for recovery purposes.
• All archive logs contain a sequence, SCN change number and dates
  of activity included in their information stored.
ORACLE UNDO

• Undo is required to “undo” or rollback changes. Either from a rollback
  request, timeout, failure or recovery scenario.
• Automatic Undo tablespace, replaced Static, manually sized
  “Rollback Segments” as of Oracle 9i.
• Automatic and easy to manage, (still many myths regarding this
  feature.
SQL SERVER MULTI-LEVEL LOGINS
ORACLE USERS

• Users can be created within the database, use Windows
  authentication or Oracle’s “Wallet”.
MONITORING SQL SERVER USERS

• Simple SP_WHO2 call.
• Shows running, sleeping and waiting.
• Database, login, user, SPID and if blocked.
MONITORING ORACLE ACTIVITY
ORACLE ASM

Oracle’s answer to reduce redundancy and give DBA’s more control
over storage, luns, placement and performance of database files.
COOL ORACLE ENTERPRISE MANAGER
            FEATURES




Able to historically trace back activity in Oracle to a given “snapshot in
time”.
Data is aggregated, but can drill down to individual sessions and pull
information.
SQL SERVER LINKED SERVERS

Select * from loufin01.db1.dbo.table1 [GO]
User logging in from linked server privileges are links
privileges.
ORACLE DATABASE LINKS

Select * from schema.table1@dblinkname;
• Can be private or public.
SQL SERVER GRANTS/MAPPINGS
ORACLE GRANTS/PRIVILEGES

• System, Schema and Role Grants
• VPD, (replaces row level grants in Oracle.)
ORACLE SQL MONITOR, (11G)
             SQL Identifier
Activity
                          Degree of Parallelism   SQL Text
  Duration
                   User             Wait Event
ORACLE SCHEDULER

Oracle DBA’s Often do not use the Oracle Scheduler- Why?
• Scripting gives more control, (shell, perl, etc. with Cron in Linux/Unix)
• Scheduling time “inching”- Next execution based off completion
  time, allows execution movement.
• Complicated command line syntax and dependencies.
• New to 10g, previous scheduler, DBA Jobs, was less efficient.
BACKUP AND RECOVERY

• Backups are performed by a Oracle supplied
  product RMAN, (Recovery Manager)
• Extremely robust and flexible.
• Supports full, incremental, archive log backups..
• Can be used for duplicating, cloning and
  dataguard, (standby)
• Can be configured through command line, scripts
  and the Enterprise Manager.
REVIEW & QUESTIONS

• Oracle is a very robust RDBMS platform.
• Differences are many, but its main goal is the same as SQL Server.
• The goal to learning to be an Oracle DBA is to keep an open mind
  and embrace that with added features, comes added management.



                         Thank you!

More Related Content

What's hot

Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13cClone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13cAlfredo Krieg
 
Running E-Business Suite Database on Oracle Database Appliance
Running E-Business Suite Database on Oracle Database ApplianceRunning E-Business Suite Database on Oracle Database Appliance
Running E-Business Suite Database on Oracle Database ApplianceMaris Elsins
 
Oracle Exadata Management with Oracle Enterprise Manager
Oracle Exadata Management with Oracle Enterprise ManagerOracle Exadata Management with Oracle Enterprise Manager
Oracle Exadata Management with Oracle Enterprise ManagerEnkitec
 
Exadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13cExadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13cAlfredo Krieg
 
New awesome features in MySQL 5.7
New awesome features in MySQL 5.7New awesome features in MySQL 5.7
New awesome features in MySQL 5.7Zhaoyang Wang
 
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016Geir Høydalsvik
 
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2Dobler Consulting
 
IaC MeetUp Active Directory Setup for Oracle Security LAB
IaC MeetUp Active Directory Setup for Oracle Security LABIaC MeetUp Active Directory Setup for Oracle Security LAB
IaC MeetUp Active Directory Setup for Oracle Security LABStefan Oehrli
 
My sql crashcourse_2012
My sql crashcourse_2012My sql crashcourse_2012
My sql crashcourse_2012sqlhjalp
 
What's new in my sql smug
What's new in my sql smugWhat's new in my sql smug
What's new in my sql smugTed Wennmark
 
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlMy sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlsqlhjalp
 
2012 scale replication
2012 scale replication2012 scale replication
2012 scale replicationsqlhjalp
 
Oracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client ConnectionsOracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client ConnectionsMarkus Michalewicz
 
OUG Harmony 2012 - Using SQL Plan Baselines for Performance Testing
OUG Harmony 2012 -  Using SQL Plan Baselines for Performance TestingOUG Harmony 2012 -  Using SQL Plan Baselines for Performance Testing
OUG Harmony 2012 - Using SQL Plan Baselines for Performance TestingMaris Elsins
 
Oracle database 12.2 new features
Oracle database 12.2 new featuresOracle database 12.2 new features
Oracle database 12.2 new featuresAlfredo Krieg
 
MySQL configuration - The most important Variables
MySQL configuration - The most important VariablesMySQL configuration - The most important Variables
MySQL configuration - The most important VariablesFromDual GmbH
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 Geir Høydalsvik
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cTrivadis
 

What's hot (20)

Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13cClone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
 
Running E-Business Suite Database on Oracle Database Appliance
Running E-Business Suite Database on Oracle Database ApplianceRunning E-Business Suite Database on Oracle Database Appliance
Running E-Business Suite Database on Oracle Database Appliance
 
Oracle Exadata Management with Oracle Enterprise Manager
Oracle Exadata Management with Oracle Enterprise ManagerOracle Exadata Management with Oracle Enterprise Manager
Oracle Exadata Management with Oracle Enterprise Manager
 
SQL Developer for DBAs
SQL Developer for DBAsSQL Developer for DBAs
SQL Developer for DBAs
 
Exadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13cExadata SMART Monitoring - OEM 13c
Exadata SMART Monitoring - OEM 13c
 
New awesome features in MySQL 5.7
New awesome features in MySQL 5.7New awesome features in MySQL 5.7
New awesome features in MySQL 5.7
 
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
 
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2
 
IaC MeetUp Active Directory Setup for Oracle Security LAB
IaC MeetUp Active Directory Setup for Oracle Security LABIaC MeetUp Active Directory Setup for Oracle Security LAB
IaC MeetUp Active Directory Setup for Oracle Security LAB
 
My sql crashcourse_2012
My sql crashcourse_2012My sql crashcourse_2012
My sql crashcourse_2012
 
What's new in my sql smug
What's new in my sql smugWhat's new in my sql smug
What's new in my sql smug
 
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlMy sql crashcourse_intro_kdl
My sql crashcourse_intro_kdl
 
2012 scale replication
2012 scale replication2012 scale replication
2012 scale replication
 
Oracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client ConnectionsOracle RAC 11g Release 2 Client Connections
Oracle RAC 11g Release 2 Client Connections
 
OUG Harmony 2012 - Using SQL Plan Baselines for Performance Testing
OUG Harmony 2012 -  Using SQL Plan Baselines for Performance TestingOUG Harmony 2012 -  Using SQL Plan Baselines for Performance Testing
OUG Harmony 2012 - Using SQL Plan Baselines for Performance Testing
 
Oracle database 12.2 new features
Oracle database 12.2 new featuresOracle database 12.2 new features
Oracle database 12.2 new features
 
MySQL configuration - The most important Variables
MySQL configuration - The most important VariablesMySQL configuration - The most important Variables
MySQL configuration - The most important Variables
 
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015 2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
2015: Whats New in MySQL 5.7, At Oracle Open World, November 3rd, 2015
 
Sybase To Oracle Migration for DBAs
Sybase To Oracle Migration for DBAsSybase To Oracle Migration for DBAs
Sybase To Oracle Migration for DBAs
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12c
 

Viewers also liked

A coesão do grupo primário
A coesão do grupo primárioA coesão do grupo primário
A coesão do grupo primáriokakaarar
 
Actualitzaciófitx aindividual autoritzacio
Actualitzaciófitx aindividual autoritzacioActualitzaciófitx aindividual autoritzacio
Actualitzaciófitx aindividual autoritzacioGrandalla Sccl
 
Fitx aindividual autoritzacio_2013
Fitx aindividual autoritzacio_2013Fitx aindividual autoritzacio_2013
Fitx aindividual autoritzacio_2013Grandalla Sccl
 

Viewers also liked (7)

Boff como trabajarconpueblo
Boff como trabajarconpuebloBoff como trabajarconpueblo
Boff como trabajarconpueblo
 
self portraits
self portraitsself portraits
self portraits
 
Casos complicados
Casos complicadosCasos complicados
Casos complicados
 
A coesão do grupo primário
A coesão do grupo primárioA coesão do grupo primário
A coesão do grupo primário
 
Actualitzaciófitx aindividual autoritzacio
Actualitzaciófitx aindividual autoritzacioActualitzaciófitx aindividual autoritzacio
Actualitzaciófitx aindividual autoritzacio
 
Fitx aindividual autoritzacio_2013
Fitx aindividual autoritzacio_2013Fitx aindividual autoritzacio_2013
Fitx aindividual autoritzacio_2013
 
Ash analytics
Ash analyticsAsh analytics
Ash analytics
 

Similar to Ora 4 the_sqldba

Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaSArush Jain
 
DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)Gustavo Rene Antunez
 
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
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle DatabaseMeysam Javadi
 
Oracle Database Introduction
Oracle Database IntroductionOracle Database Introduction
Oracle Database IntroductionChhom Karath
 
Improving oracle12c security
Improving oracle12c securityImproving oracle12c security
Improving oracle12c securityLaurent Leturgez
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesAlfredo Abate
 
Improve oracle 12c security
Improve oracle 12c securityImprove oracle 12c security
Improve oracle 12c securityLaurent Leturgez
 
The Amazing and Elegant PL/SQL Function Result Cache
The Amazing and Elegant PL/SQL Function Result CacheThe Amazing and Elegant PL/SQL Function Result Cache
The Amazing and Elegant PL/SQL Function Result CacheSteven Feuerstein
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architectureImran Ali
 
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...Insight Technology, Inc.
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intropasalapudi
 
Expert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACExpert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACSolarWinds
 
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017Lucas Jellema
 
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld
 

Similar to Ora 4 the_sqldba (20)

Oracle Cloud DBaaS
Oracle Cloud DBaaSOracle Cloud DBaaS
Oracle Cloud DBaaS
 
DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)DBA 101 : Calling all New Database Administrators (PPT)
DBA 101 : Calling all New Database Administrators (PPT)
 
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 10g Introduction 1
Oracle 10g Introduction 1Oracle 10g Introduction 1
Oracle 10g Introduction 1
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle Database
 
Oracle Database Introduction
Oracle Database IntroductionOracle Database Introduction
Oracle Database Introduction
 
Improving oracle12c security
Improving oracle12c securityImproving oracle12c security
Improving oracle12c security
 
COUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_FeaturesCOUG_AAbate_Oracle_Database_12c_New_Features
COUG_AAbate_Oracle_Database_12c_New_Features
 
Improve oracle 12c security
Improve oracle 12c securityImprove oracle 12c security
Improve oracle 12c security
 
The Amazing and Elegant PL/SQL Function Result Cache
The Amazing and Elegant PL/SQL Function Result CacheThe Amazing and Elegant PL/SQL Function Result Cache
The Amazing and Elegant PL/SQL Function Result Cache
 
Less01 db architecture
Less01 db architectureLess01 db architecture
Less01 db architecture
 
PASS Summit 2020
PASS Summit 2020PASS Summit 2020
PASS Summit 2020
 
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
 
Oracle database 12c intro
Oracle database 12c introOracle database 12c intro
Oracle database 12c intro
 
Expert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACExpert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RAC
 
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
Overview of Oracle Product Portfolio (focus on Platform) - April, 2017
 
PHP Oracle
PHP OraclePHP Oracle
PHP Oracle
 
Oracle DBA
Oracle DBAOracle DBA
Oracle DBA
 
Rohit_Panot
Rohit_PanotRohit_Panot
Rohit_Panot
 
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right
 

More from Kellyn Pot'Vin-Gorman

Redgate_summit_atl_kgorman_intersection.pptx
Redgate_summit_atl_kgorman_intersection.pptxRedgate_summit_atl_kgorman_intersection.pptx
Redgate_summit_atl_kgorman_intersection.pptxKellyn Pot'Vin-Gorman
 
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptx
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptxSQLSatOregon_kgorman_keynote_NIAIMLEC.pptx
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptxKellyn Pot'Vin-Gorman
 
Turning ADHD into "Awesome Dynamic Highly Dependable"
Turning ADHD into "Awesome Dynamic Highly Dependable"Turning ADHD into "Awesome Dynamic Highly Dependable"
Turning ADHD into "Awesome Dynamic Highly Dependable"Kellyn Pot'Vin-Gorman
 
Cepta The Future of Data with Power BI
Cepta The Future of Data with Power BICepta The Future of Data with Power BI
Cepta The Future of Data with Power BIKellyn Pot'Vin-Gorman
 
Pass Summit Linux Scripting for the Microsoft Professional
Pass Summit Linux Scripting for the Microsoft ProfessionalPass Summit Linux Scripting for the Microsoft Professional
Pass Summit Linux Scripting for the Microsoft ProfessionalKellyn Pot'Vin-Gorman
 
PASS 24HOP Linux Scripting Tips and Tricks
PASS 24HOP Linux Scripting Tips and TricksPASS 24HOP Linux Scripting Tips and Tricks
PASS 24HOP Linux Scripting Tips and TricksKellyn Pot'Vin-Gorman
 
Power BI with Essbase in the Oracle Cloud
Power BI with Essbase in the Oracle CloudPower BI with Essbase in the Oracle Cloud
Power BI with Essbase in the Oracle CloudKellyn Pot'Vin-Gorman
 
ODTUG Leadership Talk- WIT and Sponsorship
ODTUG Leadership Talk-  WIT and SponsorshipODTUG Leadership Talk-  WIT and Sponsorship
ODTUG Leadership Talk- WIT and SponsorshipKellyn Pot'Vin-Gorman
 
DevOps and Decoys How to Build a Successful Microsoft DevOps Including the Data
DevOps and Decoys  How to Build a Successful Microsoft DevOps Including the DataDevOps and Decoys  How to Build a Successful Microsoft DevOps Including the Data
DevOps and Decoys How to Build a Successful Microsoft DevOps Including the DataKellyn Pot'Vin-Gorman
 

More from Kellyn Pot'Vin-Gorman (20)

Redgate_summit_atl_kgorman_intersection.pptx
Redgate_summit_atl_kgorman_intersection.pptxRedgate_summit_atl_kgorman_intersection.pptx
Redgate_summit_atl_kgorman_intersection.pptx
 
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptx
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptxSQLSatOregon_kgorman_keynote_NIAIMLEC.pptx
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptx
 
Boston_sql_kegorman_highIO.pptx
Boston_sql_kegorman_highIO.pptxBoston_sql_kegorman_highIO.pptx
Boston_sql_kegorman_highIO.pptx
 
Oracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 UpdateOracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 Update
 
IaaS for DBAs in Azure
IaaS for DBAs in AzureIaaS for DBAs in Azure
IaaS for DBAs in Azure
 
Being Successful with ADHD
Being Successful with ADHDBeing Successful with ADHD
Being Successful with ADHD
 
Azure DBA with IaaS
Azure DBA with IaaSAzure DBA with IaaS
Azure DBA with IaaS
 
Turning ADHD into "Awesome Dynamic Highly Dependable"
Turning ADHD into "Awesome Dynamic Highly Dependable"Turning ADHD into "Awesome Dynamic Highly Dependable"
Turning ADHD into "Awesome Dynamic Highly Dependable"
 
DevOps in Silos
DevOps in SilosDevOps in Silos
DevOps in Silos
 
Azure Databases with IaaS
Azure Databases with IaaSAzure Databases with IaaS
Azure Databases with IaaS
 
How to Win When Migrating to Azure
How to Win When Migrating to AzureHow to Win When Migrating to Azure
How to Win When Migrating to Azure
 
Securing Power BI Data
Securing Power BI DataSecuring Power BI Data
Securing Power BI Data
 
Cepta The Future of Data with Power BI
Cepta The Future of Data with Power BICepta The Future of Data with Power BI
Cepta The Future of Data with Power BI
 
Pass Summit Linux Scripting for the Microsoft Professional
Pass Summit Linux Scripting for the Microsoft ProfessionalPass Summit Linux Scripting for the Microsoft Professional
Pass Summit Linux Scripting for the Microsoft Professional
 
Taming the shrew Power BI
Taming the shrew Power BITaming the shrew Power BI
Taming the shrew Power BI
 
PASS 24HOP Linux Scripting Tips and Tricks
PASS 24HOP Linux Scripting Tips and TricksPASS 24HOP Linux Scripting Tips and Tricks
PASS 24HOP Linux Scripting Tips and Tricks
 
Power BI with Essbase in the Oracle Cloud
Power BI with Essbase in the Oracle CloudPower BI with Essbase in the Oracle Cloud
Power BI with Essbase in the Oracle Cloud
 
ODTUG Leadership Talk- WIT and Sponsorship
ODTUG Leadership Talk-  WIT and SponsorshipODTUG Leadership Talk-  WIT and Sponsorship
ODTUG Leadership Talk- WIT and Sponsorship
 
DevOps and Decoys How to Build a Successful Microsoft DevOps Including the Data
DevOps and Decoys  How to Build a Successful Microsoft DevOps Including the DataDevOps and Decoys  How to Build a Successful Microsoft DevOps Including the Data
DevOps and Decoys How to Build a Successful Microsoft DevOps Including the Data
 
GDPR- The Buck Stops Here
GDPR-  The Buck Stops HereGDPR-  The Buck Stops Here
GDPR- The Buck Stops Here
 

Ora 4 the_sqldba

  • 1. ORACLE FOR THE SQL SERVER DBA KELLYN POT’VIN, SR. TECHNICAL CONSULTANT
  • 2. ABOUT THE PRESENTER • Oracle and MsSQL DBA for over twelve years. • Oracle ACE • Board of Directors for RMOUG, (Rocky Mountain Oracle User Group) • Database Track Committee for ODTUG’s, (Oracle Developer Tools User Group) KSCOPE 2012 • Presenting this year at RMOUG, Miracle World, (Denmark) KSCOPE, Oracle User Group’s Harmony, (Finland) and other international conferences. • Resides in Broomfield, CO. • Honing skills at Enkitec, a Platinum Oracle Partner out of Dallas, Tx.
  • 3. “...GET NO RESPECT…” • Oracle in comparison to SQL Server DBA’s in the technical arena. • Rarely do Oracle DBA’s have other technical groups performing their tasks. • Microsoft pushes the database platform for it’s “ease of management.” • “We won’t need your SQL Server skills, no [mission critical] MsSQL databases here…” • Only one position has kept that deal.
  • 4. DIVERGENCE • Oracle Marketshare? • Oracle’s Latest Innovations? • SQL Server’s Marketshare? • SQL Server’s Latest Innovations? • MySQL in the mix…
  • 5. MULTI-PLATFORM “A database is a database…” • Must be able to adapt quickly. • Must be open-minded. • Must like challenges. • Must be able to absorb a lot of information and keep it well organized mentally. • Must be open to finding the right platform/product for the task/project.
  • 6. WHAT IS THE SAME • Both ACID Compliant, (atomicity, consistency, isolation, durability). • Extensive tuning options in both databases. • OLTP and DSS/Warehouse features. • Multiple Backup and Recovery level features. • High Availability and stand-by • Fully auditable, accountable and transactional level recoverable.
  • 7. VERY DIFFERENT • System Databases and Temp Database- None in Oracle. • Oracle contains a SYSTEM schema, along with other schemas that house important information vs. having in separate database, i.e. SQL Server’s System tablespaces. • Temporary work is all performed in the TEMP tablespace for Oracle, which does possess physical files underneath, but no separate database. • SQL Server’s transaction log and temp database handles processing a bit differently than Oracle’s temp tablespace, redo and undo.
  • 8. THE INSTANCE • INSTANCE • Oracle- The core services, (i.e. memory structure and background processes) that identifies the database. It is not the database, but again, the background processes, controlfiles and configuration, (initialization parameter file) that will be used by the database. One instance per database, unless a RAC, (Real Application Cluster.) • SQL Server- An Instance allows more than one copy of the SQL Server software to run at one time, each copy, also known as an instance. This allows the DBA to run multiple versions of SQL Server from one server, as well. For an Oracle DBA, we would translate this more to the term “Oracle Homes” instead of the term of “Instance”.
  • 13. ORACLE INITIALIZATION PARAMETERS • “Init” parameters are required to (no)mount or open a database, either by: • Text based, “pfile” or parameter file. • Naming convention init<sid>.ora • Bit-secure version, “spfile” or secure parameter file. • Naming convention sp<sid>.ora
  • 17. ORACLE TABLESPACES Logical structure, datafiles underneath.
  • 19. ORACLE REDO LOGS • Redo logs are stored in “member groups” and each file within the member group is referred to as a “member”. • Each Member Group includes information about last SCN change, if active, inactive and if archived.
  • 20. ORACLE REDO LOG FILES • Files are mirrored for security reasons. • These files are REQUIRED to be moved for recovery and are archived off, (archive logs…) • Files are stored as part of groups and although .log is standard naming convention .rdo is recommended. • Can you suspect why the naming convention recommendation change?
  • 21. ORACLE ARCHIVE LOGS • Once the Redo log is no longer Current, the archiver is able to archive the redo log file off for recovery purposes. • All archive logs contain a sequence, SCN change number and dates of activity included in their information stored.
  • 22. ORACLE UNDO • Undo is required to “undo” or rollback changes. Either from a rollback request, timeout, failure or recovery scenario. • Automatic Undo tablespace, replaced Static, manually sized “Rollback Segments” as of Oracle 9i. • Automatic and easy to manage, (still many myths regarding this feature.
  • 24. ORACLE USERS • Users can be created within the database, use Windows authentication or Oracle’s “Wallet”.
  • 25. MONITORING SQL SERVER USERS • Simple SP_WHO2 call. • Shows running, sleeping and waiting. • Database, login, user, SPID and if blocked.
  • 27. ORACLE ASM Oracle’s answer to reduce redundancy and give DBA’s more control over storage, luns, placement and performance of database files.
  • 28. COOL ORACLE ENTERPRISE MANAGER FEATURES Able to historically trace back activity in Oracle to a given “snapshot in time”. Data is aggregated, but can drill down to individual sessions and pull information.
  • 29. SQL SERVER LINKED SERVERS Select * from loufin01.db1.dbo.table1 [GO] User logging in from linked server privileges are links privileges.
  • 30. ORACLE DATABASE LINKS Select * from schema.table1@dblinkname; • Can be private or public.
  • 32. ORACLE GRANTS/PRIVILEGES • System, Schema and Role Grants • VPD, (replaces row level grants in Oracle.)
  • 33. ORACLE SQL MONITOR, (11G) SQL Identifier Activity Degree of Parallelism SQL Text Duration User Wait Event
  • 34. ORACLE SCHEDULER Oracle DBA’s Often do not use the Oracle Scheduler- Why? • Scripting gives more control, (shell, perl, etc. with Cron in Linux/Unix) • Scheduling time “inching”- Next execution based off completion time, allows execution movement. • Complicated command line syntax and dependencies. • New to 10g, previous scheduler, DBA Jobs, was less efficient.
  • 35. BACKUP AND RECOVERY • Backups are performed by a Oracle supplied product RMAN, (Recovery Manager) • Extremely robust and flexible. • Supports full, incremental, archive log backups.. • Can be used for duplicating, cloning and dataguard, (standby) • Can be configured through command line, scripts and the Enterprise Manager.
  • 36. REVIEW & QUESTIONS • Oracle is a very robust RDBMS platform. • Differences are many, but its main goal is the same as SQL Server. • The goal to learning to be an Oracle DBA is to keep an open mind and embrace that with added features, comes added management. Thank you!