managing a multi-platform environment

18
EMBARCADERO TECHNOLOGIES EMBARCADERO TECHNOLOGIES Managing a Multi-Platform Environment Joey D’Antoni June 17 th , 2015

Upload: embarcadero-technologies

Post on 31-Jul-2015

227 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIESEMBARCADERO TECHNOLOGIES

Managing a Multi-Platform Environment

Joey D’Antoni

June 17th, 2015

Page 2: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Joey D’Antoni• Joey has over 15 years of experience with a wide variety of data platforms, in

both Fortune 50 companies as well as smaller organizations

• He is a frequent speaker on database administration, big data, and career management

• He is the co-president of the Philadelphia SQL Server User’s Group

• MSCE, Business Intelligence, Data Platform

• He wants you to make sure you can restore your data

Joeydantoni.com

Page 3: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Agenda

Complexities of Multi-Platform Environment

Oracle and SQL Server—Compare and Contrast

Shortcuts to Learning and Assisting

3

Page 4: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Challenges—Multi-Platform

Twice as Many Operating Systems

Twice as Many RDBMSs

A tenth of the available DBAs

4

Page 5: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Operating Systems

Generally speaking—Oracle > Linux

SQL Server = Windows

5

Page 6: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Finding a DBA

This is the most challenging part

Crossover is uncommon

Training from within is good

Tools Can Help Ease Transition

6

Page 7: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Oracle and SQL Server—Compare and Contrast

Licensing

Physical Layout

Memory Structures

Languages

Accessories and Tools

7

Page 8: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Licensing

Microsoft SQL Server

Licensed by the core (enterprise edition)

Virtualization and HA/DR requires software assurance

All features are included

Development and HA/DR can be licensed cheaply or free

OracleLicensed by the core (enterprise edition)—type of core matters

HA/DR require licenses

Patches require support

Most features (compression, partitioning, performance pack) are extra costs

Development and HA/DR is fully licensed

8

Page 9: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Oracle Physical Architecture

9

System Tablespace

SysAux Tablespace

Undo Tablespace

Temp Tablespace

User Tablespace(s)

Rollback Segments

Smon

PMON

CKPT

ARCH

RECO

Page 10: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Oracle Terms for SQL DBAs

Database = Datafiles

Instance = Datafiles + Processes

Undo = Uncommitted transaction space

Redo Logs = Transaction Logs

Archived Redo Logs=Transaction Log Backups

10

Page 11: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

SQL Server Physical Architecture

11

SQLServer.Exe

Master

MSDB

TempDB

Transaction Logs

User DBs

Page 12: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

SQL Server Terms for Oracle DBAs

Database = Schema + Tablespace

Instance=Instance

Transaction Logs = Redo + Undo

Master Database = System Tablespace

MSDB ~= Sysaux Tablespace

12

Page 13: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Memory Structures

Oracle

SGA—Main Database Memory

• Library Cache—Plan Cache

• Shared Pool

• Large Pool

• Buffer Pool

PGA—Process and User Memory

SQL Server

One memory setting

Buffer Cache

Procedure Cache

Other internal pools

13

Page 14: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Languages

PL/SQL

Can be complex fully featured procedure language

(IMO)DBAs don’t code as much PL/SQL as SQL DBAs

Can nest procedures in packages

T-SQL

Just a query language

Extended to support database operations

Some procedural and looping logic, not as robust as PL/SQL

14

Page 15: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Maintenance

Oracle

Backups and Restores—RMAN

Logical Backup—EXPDP/IMPDP

Index Maintenance—Not as much

Stats—Built-in, but write your own

SQL Server

Backup and Restore—Built-in to instance/SQL Agent

Index Maintenance—Must do regularly

Stats--Similar

15

Page 16: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Oracle Backup and Restore

RMAN

• Powerful tool, for backup and restore

• Does everything SQL Server backup does and beyond

• Log File Management is different 16

Page 17: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Questions?

Please enter your questions in the GotoWebinar control panel located on the right side of your screen.

17

Page 18: Managing a Multi-Platform Environment

EMBARCADERO TECHNOLOGIES

Thank you for attending!

Connect with us

18

Read Joey’s Blog

Community.embarcadero.com

Take our word for

it & try it out!

http://www.embarcadero.com/products/rapid-sql

Take our surveyLocated in the chat window

Go online to registerhttp://forms.embarcadero.com/15Q2DBPSSkillSprintsWebinarSeries

https://www.surveymonkey.com/s/mmpe