Beware of the Dark Side A Guided Tour of Oracle for the SQL Server DBA David Postlethwaite.

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

Module 2: Database Architecture
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
4 Copyright © 2005, Oracle. All rights reserved. Managing the Oracle Instance.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
Page Footer Keed Education Oracle Database Administration Basic Copyright 2009 Keed Education BV Version Concept.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Installation – Lecture 2 Copyright System Managers LLC 2007 all rights reserved.
Backup and recovery Basics of Backup and restoration Types of recovery Defining strategy Starting up and shutting down 80/20 rule SLA’s.
© 2015 Dbvisit Software Limited | dbvisit.com An Introduction to Dbvisit Standby.
1 Chapter 15 Duplicating Databases and Transporting Data.
Oracle Database Administration
Backup The flip side of recovery. Types of Failures Transaction failure –Transaction must be aborted System failure –Hardware or software problem resulting.
Harvard University Oracle Database Administration Session 2 System Level.
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
A Guide to Oracle9i1 Introduction to Oracle9i Database Administration Chapter 11.
Gavin Payne Oracle for SQL Server DBAs. Why Oracle? Installation Physical Storage Backup and Recovery 20 slides in 50 minutes Inside the database Programmability.
Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist.
Oracle Database Instance Management Oracle 10g. Ebtisam Alabdulqader Outline Management Framework. Managing Oracle instance through the Enterprise Manager.
Module 12: Backup and Recovery. Overview Backup and recovery methods available in Oracle and SQL Server 2008 Types of failure Types of recovery Formulating.
Database Backup and Recovery
RMAN Restore and Recovery
Backup and Recovery Part 1.
Chapter 12 Performing Incomplete Recovery. Background Viewed as one of the more difficult chapters to write Thought it was important to put in material.
CHAPTER 16 User-Managed Backup and Recovery. Introduction to User Managed Backup and Recovery Backup and recover is one of the most critical skills a.
Module 1: Database and Instance. Overview Defining a Database and an Instance Introduce Microsoft’s and Oracle’s Implementations of a Database and an.
Oracle Architecture Client Computer Application Server Oracle Database Lan Or Internet Lan Or Internet Client Server Environment Application By Java or.Net.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Introduction to Oracle Backup and Recovery
Using RMAN to Perform Recovery
IS 4510 – Database Administration Module – 2 Database Backup 10/24/20141Compiled by: Zafar Iqbal Khan.
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
13 Copyright © Oracle Corporation, All rights reserved. RMAN Complete Recovery.
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
Best Implementation Practices for Discoverer April Sims OCP 8i 9i.
Oracle Database Administration
CHAPTER 2 Implementing a Database. Introduction to Creating Databases After you’ve installed the Oracle software, the next logical step is to create a.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
SRUTHI NAGULAVANCHA CIS 764, FALL 2008 Department of Computing and Information Sciences (CIS) Kansas State University -1- Back up & Recovery Strategies.
Backup and Recovery Protects From Data Loss. Backup and Recovery Protects From Data Loss Provides for Media Recovery.
15 Copyright © 2005, Oracle. All rights reserved. Performing Database Backups.
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
16 Copyright © 2007, Oracle. All rights reserved. Performing Database Recovery.
4 Copyright © 2006, Oracle. All rights reserved. Recovering from Noncritical Losses.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
Using OUI to install Oracle9i Release 2 on an OpenVMS System.
Installing Oracle9i RAC Release 2 on HP OpenVMS Systems.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
A Guide to Oracle9i1 Database Instance startup and shutdown.
Anton TopurovIT-DB 23 April 2013 Introduction to Oracle2.
IT Database Administration SECTION 01. Starting Up and Shutting Down the Database Database Administration Facilities – A number of tools are available.
Introduction to Oracle. Oracle History 1979 Oracle Release client/server relational database 1989 Oracle Oracle 8 (object relational) 1999.
ASM General Architecture
1 Copyright © 2005, Oracle. All rights reserved. Introduction.
Overview of Oracle Backup and Recovery Darl Kuhn, Regis University.
Oracle Applications 11i Concepts II Brian Hitchcock OCP 11i DBA -- OCP 10g DBA Sun Microsystems Brian Hitchcock.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
1 Chapters 21, 22, 23, 37  Ch. 21: SQL*Loader  Ch. 22: Database Links, Oracle Net  Ch. 23: Materialized Views (aka Snapshots)  Ch. 37: Data Dictionary.
19 Copyright © 2004, Oracle. All rights reserved. Database Backups.
Introduction to Oracle  Oracle Database XE, APEX and Oracle SQL Developer.
3 Copyright © 2004, Oracle. All rights reserved. Database Architecture Comparison.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
I NTRODUCTION OF W EEK 2  Assignment Discussion  Due this week:  1-1 (Exam Proctor): everyone including in TLC  1-2 (SQL Review): review SQL  Review.
4 Copyright © 2004, Oracle. All rights reserved. Managing the Oracle Instance.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 18/06/2016David Postlethwaite.
How To Pass Oracle 1z0-060 Exam In First Attempt?
Consulting Services JobScheduler Architecture Decision Template
Microsoft SQL Server 2014 for Oracle DBAs Module 3
Presentation transcript:

Beware of the Dark Side A Guided Tour of Oracle for the SQL Server DBA David Postlethwaite

SQLSaturday #467 Sponsors

About Me  David Postlethwaite  Liverpool Victoria LV=  SQL and Oracle DBA  MCSE 2012 Data Platform  MCITP 2008, 2005  Oracle OCA  25 years IT Experience  6 years as DBA   Blog: gethynellis.com 3 |

Introduction  Oracle  “Selecting a database is a bit like picking a religion. There are pros and cons to each, and the discussions run hot and heavy. ”  “Love it or hate it, you can’t hide from it Oracle is out there” 4 |

Lies, Statistics and Prejudice  The Passion  The Internet is full of articles extolling the virtues of SQL and Oracle  And plenty criticising them  All are biased

History  1979 Oracle first released  1985 Oracle Client Server  1989 SQL Server v1 on OS/2 (16 Bit)  1992 Oracle supports 64 Bit  1993 SQL Server 4.2 on Windows NT (16 Bit)  1997 Oracle supports java, http and Linux  1997 SQL Server 7.0  2001 Oracle RAC (Real Application Clusters)  2003 Oracle 64 Bit for Linux  2003 SQL 2000 on 64 Bit  2007 Oracle 11g supports Windows  2012 SQL Always On

Oracle Platforms (12c)  Microsoft Windows (64 bit)  Linux x86 64  Solaris (SPARC and x86-64)  HP-UX Itanium  OpenVMS (IA64)  AIX  zLinux 64  Oracle Cloud  Microsoft Azure

Oracle Add Ons  More than just a DBMS  Development Tools  Oracle Forms  Oracle Apex  Oracle Edge  Java  Middleware  PeopleSoft  E Business Suite  Oracle Financials  JD Edwards  WebCenter  BI Tools  Web Logic Operating Systems Solaris Linux Physical Servers Sun Sparc Sun x86 Oracle Super Cluster Sun Blade Servers Virtual Servers Oracle Private Cloud Appliance Cloud Oracle Managed Cloud Services

Oracle Editions Express Edition Standard Edition One Standard Edition Enterprise Edition Maximum 1 CPU2 Sockets4 SocketsNo Limit RAM 1GBOS Max Database Size 11GBNo Limit Download from oracle.com Many Enterprise features require extra licence

Oracle Certification  Oracle Certified Associate (OCA)  Oracle Certified Professional (OCP)  Oracle Certified Master (OCM) (11g)

Instance, Database and Schema memory processes master Data file Data file Log file Log file File group model Data file Data file Log file Log file File group tempdb Data file Data file Log file Log file File group msdb Data file Data file Log file Log file File group User DB 1 Data file Data file Log file Log file File group schema User DB 2 Data file Data file Log file Log file File group schema SQL Server Instance

Instance, Database and Schema memory processes system Data file Data file Table space Oracle Instance undo Data file Data file Table space sysaux Data file Data file Table space temp Data file Data file Table space Redo Log Data file Data file tablespace (s)Pfile (init.ora) (s)Pfile (init.ora) Control file database JohnSmith AdventureWorks UserSchema1 Data file Data file tablespace Data file Data file tablespace

Instance, Database and Schema

Storage Structure Log file Log file User Schema 1 Data file Data file Tablespace 1Tablespace 2 Data file Data file Data file Data file Data file Data file User Database 1 Data file Data file primary filegroupfilegroup 2 Data file Data file Data file Data file Data file Data file User Schema 2 Oracle Schema SQL Server Database undo tablespace redo logs User Schema 3

File Structure 2k, 4k,8k,16k or 32k 8k only

Mapping of Tablespaces to Databases master database resource database tempdb database model database msdb database system tablespace sysaux tablespace temporary tablespace user file Transaction log user tablespace undo tablespace redo logs data dictionary Oracle SQL Server User database User schema

Start up Procedure Sqlserver.exe oracle.exe registry master database tempdb database model database msdb database user database transaction log control file system tablespace sysaux tablespace temporary tablespace user tablespace undo tablespace redo logs Spfile (init.ora) idle nomount mount open

Viewing Oracle  Tools for Oracle  SQL Plus  SQL Developer  OEM Oracle Enterprise Manager (Grid)  Third Party  Toad

DEMO  Sqlplus / as sysdba  show user  startup  - nomount  - mount  - open  Select * from v$instance (don’t forget the semi colon)  Select status from v$instance;  Create user JohnSmith identified by password123

Backups SQL Backups.BAK file Oracle Backup Backup is literally copying files to another location Cold /Offline (or consistent) backups Hot / Online (or inconsistent) backups Archive log Mode “alter tablespace begin backup” Recover Manager RMAN Automates and configures backups and restores But you still need a scheduler to run RMAN commands

TNS and How to Connect  TNS Transparent Network Substrate  SET TNS_Admin= C:\app\oracle\product\12.1.0\dbhome\NETWORK\ADMIN  TNSNames.ora  Production =  (DESCRIPTION =  (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521) )  (CONNECT_DATA =  (SERVICE_NAME= ora12c) ) )  Listener  Listener.ora  Sqlnet.ora  sqlplus.exe  (CONNECT_DATA=(SID=ora12c)))

SQL Linked Server  Linked Server on SQL to Oracle

Mapping of Objects Microsoft SQL ServerOracle instance (server)database schema no direct equivalent. file grouptable space loginuser /schema useruser / schema permissionprivilege indexed viewmaterialized view (snapshot) t-sqlpl-sql error Logsalert log transaction Log fileredo logs execution planexplain plan

Architecture

Any Questions  Conclusion  Hopefully you now have a better understanding of Oracle  And will be able to converse with Oracle DBAs more easily  Q & A   Blog: gethynellis.com 

SQLSaturday #467 Sponsors