understanding hardware: the right fights for the dba to pick with the server team

28
EMBARCADERO TECHNOLOGIES EMBARCADERO TECHNOLOGIES The Right Fights for the DBA to Pick with the Server Team Joey D’Antoni August 17, 2015

Upload: embarcadero-technologies

Post on 21-Aug-2015

114 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIESEMBARCADERO TECHNOLOGIES

The Right Fights for the DBA to Pick with the Server Team

Joey D’Antoni

August 17, 2015

Page 2: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Page 3: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

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 4: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Survey

How is your team structured?

• Do you report through—

• Infrastructure

• Applications

• Development

• Other

Page 5: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Agenda

Why does this matter to your databases?

What Fights You Shouldn’t Pick

Servers

Windows

Storage

Virtualization

Page 6: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Why Does All of This Matter?

Page 7: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

What Fights Not to Pick

Page 8: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Battles to Avoid

RAID 5—it doesn’t matter with modern storage

Whether or not your database servers are virtual or physical

Likewise with the cloud—it’s just a VM in someone else’s data center

Storage layouts—more on this later, it CAN matter, but not always

Page 9: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Servers

Page 10: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Servers

You may or may not have much say in this—depends on the size of your org

If you are buying a few servers:

• Minimize the amount of cores to what you need

• Faster, fewer cores (E7-8893 v3, E5-2637 v3)

• ALL THE RAM

• OS Drives/Install

• Consider requesting local SSD if you are using physical server—TempDB

Page 11: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Servers Cont’d

• High Availability and Disaster Recovery servers should have the same hardware as primary

Page 12: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Windows

Page 13: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Poll: Versions of Windows

The Oldest OS in Your Environment

Page 14: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Always Run SQL Server on the Latest Version of Windows

Cluster Aware Updating

Dynamic Quorum

SQL Server will run the same on any

supported version of Windows

Page 15: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Group Managed Service Accounts

Never have to change a

password again

Active Directory manages

passwords for accounts

Permissions are granted for

accounts to be used on servers

Introduced in Windows 2012, fully supported

in SQL 2016 (HA/DR)

Page 16: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Windows and AD Permissions

Instant File Initialization

Servers in a Database OU

Same File Systems Everywhere

Page 17: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Storage

Page 18: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Your SAN Admin

Page 19: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Modern SANs

Page 20: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Modern SANs Cont’d

Your SAN admin can’t tell you where the data is

This is good—the array is optimizing performance and minimizing hotspots

TempDB—should be pinned if it needs performance

Transaction Logs should avoid flash tier for optimal storage performance

Page 21: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

All Flash Arrays

Talk to your vendor for best practices

Things like compression may be different

Arrays typically do their own compression

Randomize sequential operations to make them faster

Spreads workload across the array similar to tiered storage

Page 22: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Fighting for Space

• Be honest

• Work with SAN admin to reclaim space where you don’t need it

• Try to define standards for space allocations, and standard upgrade units

• Don’t waste space

Page 23: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Backups

• Always use compression (SQL Backup Compression)

• Deduplication is awesome, unless you want to restore your data

Page 24: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Virtualization

Page 25: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Virtualized Database Servers

Virtual servers are here to stay

Get used to them—most things stay the same

Once again—buy the VM team a beer(s)

Page 26: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

VMs—What to Ask For

Memory Reservations—only for production, but insist on it

Read-only access to vCenter/SCVMM—you need to see host activity

A clear understanding of storage subsystem and config

No overprovisioned CPUs

Snapshots are not backups—you still need database backups

Paravirtual SCSI storage drivers

Minimize your vCPU count

Page 27: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Summary

This is all about relationships

It helps to be able to speak the language of the other teams

Understanding storage is good for your career

All of this stuff matters in the cloud, too

Page 28: Understanding Hardware: The Right Fights for the DBA to Pick with the Server Team

EMBARCADERO TECHNOLOGIES

Thank you for attending!

Connect with us

29

Read Joey’s Blog

Community.embarcadero.com

Take our word for

it & try it out!

http://www.embarcadero.com/products/DBArtisan

Take our surveyLocated in the chat window

https://www.surveymonkey.com/r/RightFights