managing a multi-platform environment

Post on 31-Jul-2015

228 Views

Category:

Software

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

EMBARCADERO TECHNOLOGIESEMBARCADERO TECHNOLOGIES

Managing a Multi-Platform Environment

Joey D’Antoni

June 17th, 2015

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

EMBARCADERO TECHNOLOGIES

Agenda

Complexities of Multi-Platform Environment

Oracle and SQL Server—Compare and Contrast

Shortcuts to Learning and Assisting

3

EMBARCADERO TECHNOLOGIES

Challenges—Multi-Platform

Twice as Many Operating Systems

Twice as Many RDBMSs

A tenth of the available DBAs

4

EMBARCADERO TECHNOLOGIES

Operating Systems

Generally speaking—Oracle > Linux

SQL Server = Windows

5

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

EMBARCADERO TECHNOLOGIES

Oracle and SQL Server—Compare and Contrast

Licensing

Physical Layout

Memory Structures

Languages

Accessories and Tools

7

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

EMBARCADERO TECHNOLOGIES

Oracle Physical Architecture

9

System Tablespace

SysAux Tablespace

Undo Tablespace

Temp Tablespace

User Tablespace(s)

Rollback Segments

Smon

PMON

CKPT

ARCH

RECO

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

EMBARCADERO TECHNOLOGIES

SQL Server Physical Architecture

11

SQLServer.Exe

Master

MSDB

TempDB

Transaction Logs

User DBs

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

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

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

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

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

EMBARCADERO TECHNOLOGIES

Questions?

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

17

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

top related