Become a Bilingual DBA Oracle for the SQL Server DBA

Slides:



Advertisements
Similar presentations
By: Jose Chinchilla July 31, Jose Chinchilla MCITP: SQL Server 2008, Database Administrator MCTS: SQL Server 2005/2008, Business Intelligence DBA.
Advertisements

new database engine component fully integrated into SQL Server 2014 optimized for OLTP workloads accessing memory resident data achive improvements.
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
Gavin Payne Oracle for SQL Server DBAs. Why Oracle? Installation Physical Storage Backup and Recovery 20 slides in 50 minutes Inside the database Programmability.
Module 14: Scalability and High Availability. Overview Key high availability features available in Oracle and SQL Server Key scalability features available.
Databases Dan Otero Alex Loddengaard
XVII Encontro – 29/11/2011. Virgílio Esteves ID&T – Research & Founder of NetPonto Coimbra C# / WPF / Silverlight / XNA / Azure.
Enterprise Object Framework. What is EOF? Enterprise Objects Framework is a set of tools and resources that help you create applications that work with.
Object Oriented Databases by Adam Stevenson. Object Databases Became commercially popular in mid 1990’s Became commercially popular in mid 1990’s You.
Implementing Database Snapshot & Database Mirroring in SQL Server 2005 Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server MVP Microsoft.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
ITOM 2308 Introduction to Databases Review Access Database Corporate Case Study ITOM 2308 Class 81.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
Database Technical Session By: Prof. Adarsh Patel.
1099 Why Use InterBase? Bill Todd The Database Group, Inc.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
A Brief Documentation.  Provides basic information about connection, server, and client.
Dale Roberts 1 Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
Creating and Maintaining Geographic Databases. Outline Definitions Characteristics of DBMS Types of database Relational model SQL Spatial databases.
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
GLOBEX INFOTEK Copyright © 2013 Dr. Emelda Ntinglet-DavisSYSTEMS ANALYSIS AND DESIGN METHODSINTRODUCTORY SESSION EFFECTIVE DATABASE DESIGN for BEGINNERS.
Alwayson Availability Groups
SQLintersection Understanding Transaction Isolation Levels Randy Knight Wednesday, 3:45-5:00.
Module 7: SQL Server Special Considerations. Overview SQL Server High Availability Unicode.
Lecture 10 Creating and Maintaining Geographic Databases Longley et al., Ch. 10, through section 10.4.
Transactions, Roles & Privileges Oracle and ANSI Standard SQL Lecture 11.
SQL Server 2005 Implementation and Maintenance Chapter 6: Security and SQL Server 2005.
MISSION CRITICAL COMPUTING SQL Server Special Considerations.
Retele de senzori Curs 2 - 1st edition UNIVERSITATEA „ TRANSILVANIA ” DIN BRAŞOV FACULTATEA DE INGINERIE ELECTRICĂ ŞI ŞTIINŢA CALCULATOARELOR.
Introduction to SQL Server for Windows Administrators Presented to WiNSUG 02/05/09 Bret Stateham Owner, Net Connex Blogs.netconnex.com.
SQL Basics Review Reviewing what we’ve learned so far…….
3 Copyright © 2006, Oracle. All rights reserved. Designing and Developing for Performance.
William Durkin A Gourmet Menu of SQL Server High Availability Options.
ROLLING DATABASE SNAPSHOTS David Cobb Daveslog.com.
1 Chapters 19 and 20  Ch. 19: By What Authority? Users Roles Grant and revoke Synonyms  Ch. 20: Changing the Oracle Surroundings Indexes Clusters Sequences.
SQLintersection Locks, Blocks, and Deadlocks Oh My! Randy Knight Wednesday, 2:15-3:15.
Others Talk, We Listen. Managing Database Projects in Visual Studio 2013.
Understanding Core Database Concepts Lesson 1. Objectives.
Databases and DBMSs Todd S. Bacastow January 2005.
With Temporal Tables and More
Presented By: Jessica M. Moss
Visual Studio Database Tools (aka SQL Server Data Tools)
Visual Studio 2010 Database Projects
Oracle SQL.
An Introduction to database system
Oracle11g: PL/SQL Programming Chapter 1 Introduction to PL/SQL.
Navigating the options for Data Redundancy
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
SQL Server Security For Everyone
A Technical Overview of Microsoft® SQL Server™ 2005 High Availability Beta 2 Matthew Stephen IT Pro Evangelist (SQL Server)
Oracle vs. MS SQL Server Duration: 1 Hour.
Oracle for the SQL Server Trainer
Contained DB? Did it do something wrong?
Visual Studio 2010 Database Projects
Introduction of Week 6 Assignment Discussion
Chapter 2 Database Environment.
SQL Server Security from the ground up
dbatools - PowerShell and SQL Server Working Together
Data base System Concepts & Data Modeling
Visual Studio Database Tools (aka SQL Server Data Tools)
Populating a Data Warehouse
Data Model.
Understanding Transaction Isolation Levels
Chapter 11 Managing Databases with SQL Server 2000
Understanding Core Database Concepts
Review #1 Intro stuff What is a database, 4 parts, 3 users, etc.
SQL Server Security from the ground up
CS4540 Special Topics in Web Development SQL and MS SQL
The DBA Quit and now you’re it:
Presentation transcript:

Become a Bilingual DBA Oracle for the SQL Server DBA Randy Knight January 22, 2011

Randy Knight MCITP, MCDBA, MCTS, MCSE … 20 Years experience with Microsoft technology, focusing on SQL Server for the last 14. Worked in a variety of settings, including six years as a Database Architect for match.com Owner and Principal Consultant, SQL Solutions Group Not an Oracle DBA, didn’t sleep at a Holiday Inn Express last night

Objectives Translation between the worlds Understand Terminology Differences Understand the Similarities between the two platforms Understand the Differences between the two platforms Understand some of the SQL Differences

SQL Server Terminology Instance Installation of SQL Server Includes physical files and in-memory processes What you connect to Database Collection of Objects (Tables, Views, Procs…) Has physical file storage Schema Grouping of database objects Login Credential used to access the instance User Database Level Object which provides access Mapped to a Login

Oracle Terminology Instance Database Schema User Processes used to access data What you connect to Database Physical files used to store data Schema Collection of objects (Tables, Views, Procs …) User Credentials used to access a database Tied to a particular schema 1:1 relationship with a schema

Mapping the Terminology Instance Database + Instance Database Schema Schema ? Login User User ?

Similarities Relational Database Optimizer Service you connect to Normalization, Indexing, Design matter in both Bad Data Model = Bad Data Model Good Data Model = Good Data Model Optimizer Cost based Execution Plans Service you connect to Listener Instance

Similarities Features SQL Replication Mirroring / Log Shipping SQL Server Peer to Peer Oracle MultiMaster Mirroring / Log Shipping Types of Data Guard SQL Mostly the same Fight over ANSI-92!

Differences Locking Methodology Clustering Multi-Platform Optimistic vs. Pessimistic Think Snapshot Isolation Level Clustering RAC is true Active/Active SQL is Failover Multi-Platform Pros and Cons Tons of Configuration Options Complexity

Differences (cont.) Data Types Built-In Functions Too many to list Google is your friend You should also know how each platform maps to SSIS Data Types Built-In Functions Also too many to list Example: MSSQL: GETDATE() Oracle: SYSDATE

SQL Language Differences T-SQL is T-SQL In Oracle, SQL <> PL/SQL PL/SQL is the procedure language SQL is vanilla DML language The difference between the two is a big deal to Oracle DBAs Performance impact of using PL/SQL

Example Differences Need for Dual() table AutoNumber / Identity INSERT UPDATE DELETE

Dual() MSSQL: select getdate(); Oracle: select sysdate from dual;

Auto Numbering MSSQL IDENTITY Property Oracle Sequence create table t1 ( col1 int identity(1,1) col2 int); insert t1(col2) values(3); Oracle Sequence create table t1 (col1 integer, col2 integer); create sequence t1_seq increment by 1 start with 1; insert into t1 values (t1_seq.nextval, 3);

INSERT INTO not optional MSSQL: Oracle: insert mytable values('more text'); Oracle: insert into mytable values('more text');

UPDATE No UPDATE FROM MSSQL: Oracle: update t1 set t1.col2 = t2.col2 from t1 inner join t2 on t1.col1 = t2.col1; Oracle: update (select t2.col2 as src_2, t2.col2 as tgt_2 from t1 inner join t2 on t1.col1 = t2.col1 ) set tgt_2 =src_2;

DELETE Oracle requires FROM MSSQL: Oracle: DELETE MyTable; DELETE FROM MyTable;

Tools Oracle has nothing similar to SSMS Command Line PL/SQL Developer? Command Line SQL*Plus SQLCMD Really requires 3rd Party Toad seems to be popular Others No SQL Profiler Equivalent

Integration Linked Server / Database Links Linked Server to Oracle is Easy Other Direction depends on platform and Oracle Products SSIS works great with Oracle BI Stack Analysis Services Reporting Services Oracle Drivers / Clients 32-bit vs. 64-bit Gets funs with BIDS

Resources Oracle Technology Network Twitter http://www.oracle.com/technetwork/dbadev/index. html Twitter #sqlhelp #sqlpass #sqlblog #sqlsat @randy_knight

Thank You! http://speakerrate.com/speakers/11314 Randy Knight SQL Solutions Group (801) 285-0251 randy@sqlsolutionsgroup.com www.sqlsolutionsgroup.com/blog Linked In: www.linkedin.com/in/randyknight Twitter: randy_knight Skype: randy.knight2 http://speakerrate.com/speakers/11314