Top Banner
EMBARCADERO TECHNOLOGIES EMBARCADERO TECHNOLOGIES Congratulations, You’re A DBA…Now What? Presented by: SQL Server MVP, Mike Walsh and John Sterrett
59
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIESEMBARCADERO TECHNOLOGIES

Congratulations, You’re A DBA…Now What?

Presented by:

SQL Server MVP, Mike Walsh and John Sterrett

Page 2: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

About Mike Walsh

2

• SQL Server MVP Since 2011• Working with SQL Server for 16 years• Partner and Managing Director of the WellDBA™ Practice at Linchpin People• Blog at www.linchpinpeople.com and www.straightpathsql.com• Runs the Seacoast SQL Server User Group alongside Jack Corbett• Speaks at various SQL events• I’ve been a new DBA, a few times. • @Mike_Walsh on twitter

About Linchpin PeopleLinchpin People is a company made up of many SQL Server experts. We have a trade guild mentality –working with the craftsmen in our field on various SQL server challenges. One of our service offerings, the WellDBA Exam™ highlights a lot of the misses of the areas of focus we’re talking about here. We often see the same patterns exist in many environments.

Page 3: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

About John Sterrett

3

• Working with SQL Server for 10 years• Group Principal of the WellDBA™ Practice at Linchpin People • Blogs at www.johnsterrett.com and www.linchpinpeople.com• Tweets at @JohnSterrett• Speaks at a lot of SQL Server conferences• Runs a SQL Server User Group in Austin, TX • Runs the High Availability PASS Virtual Chapter• PASS Regional Mentor for South Central US Region• Co-Author of a book SQL Server 2014 Backup and Recovery• He’s been a new DBA a few times, too.

Page 4: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Let’s start with a story…

Page 5: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

“Where Do I Start?”

Flickr: www.flickr.com/photos/uxud/3396427350/in/set-72157618745751536/

Page 6: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Flickr: http://www.flickr.com/photos/brykmantra/76765412/

“How’s the Sr. DBA?”

Page 7: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Goal #1

Leave As

Advocates

7

Page 8: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Goal #2

Leave With

Questions

8

Page 9: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Goal #3

Beat Up a MYTH

9

Page 10: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Page 11: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Page 12: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

“Set It And Forget It”

12

Page 13: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

“Set It And Forget It”“Set It And Forget It”

Page 14: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Alright… Enough History

Leave As ADVOCATESLeave With QUESTIONS

Page 16: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

16

So…Let’s Prioritize

Page 17: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

17

RecoverabilitySecurity & AuditabilityAvailabilityReliability“Performability”

Page 18: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Page 19: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Page 20: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Page 21: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

21

“You’re Fired”

Page 22: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

22

Recoverability

Page 23: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

23

70% Small Firms done w/in 1yr (DT/PriceWaterHouse)

100% Of Drives Fail

50% Of Tape backups fail to restore(Gartner)

Page 24: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Thinking of Backups

24

“How fast will backups be?”“Can I backup to this tape?”“Do We offsite the backups?”“What Kind of Backup?

Page 25: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Thinking of Restores

25

“Restore Test Plan?”“Will that tape work in 6 yrs?”“How do we backup?”“What about x or y scenarios?”

Page 26: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

26

Who’s In Charge??

Page 27: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

27

Working To Set & Meet

Expectations

Page 28: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Backing Up?

28

Agent Alerts Monitoring Tools SQL Scripts Just Do it!

Page 29: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Homework

29

Verify you have backups!

Do a test restore (not in production)

Make sure you are on same page with

business around recovery goals.

Page 30: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

30

Security&

Auditability

Page 31: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Get Auditable

31

Secure Your Environment Least Privilege Optimists Need Not Apply Write The Policies FOLLOW The Policies It’s Common Sense

Page 32: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Security

32

Identify Threats

Make A Plan

Implement

Page 33: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

http://www.flickr.com/photos/andryone/120278573

Page 34: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Wikimedia.org

Page 35: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

35

Least PrivilegeGroup BasedRole Based

Page 36: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

36

Least Privilege

Page 37: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

37

What is NECESSARY?

Page 38: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

38

What is NOT NECESSARY?

Page 39: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

39

Groups & Roles

Page 40: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Homework

40

Figure out who is in the SA fixed server role and make sure it makes sense!

Page 41: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

41

Availability

Page 42: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

42

“Low” Availability

Page 43: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Homework

Setup SQL Agent alerts.

Look at your error logs!

43

Page 44: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

44

High Availability

Page 45: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Homework

Watch John’s intro video

45

Page 46: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

46

Reliability

Page 47: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

47

“HELP! We implemented this

project and….”

Page 48: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

48

UPDATE ProjectSET NeedDBA =1

WHERE Date < GETDATE()

Page 49: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

49

Vendor Interview

Page 50: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Homework

Communicate!

Check out the vendor interview

Questionnaire

50

Page 51: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

51

“Performability”

Page 52: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

52

http://www.flickr.com/photos/wwworks/1384954600

Page 53: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

53 http://www.flickr.com/photos/hikingartist/3515471358/

Page 54: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

54

http://www.flickr.com/photos/rsgranne/179319967

Page 55: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Homework

Take a baseline of your performance

55

Page 56: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

56

Recoverability

Reliability

Security & Auditability

Availability

Performability

Page 57: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

57

LinchpinPeople.com/where

Page 58: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Coming This Spring…

• This generation will bring you 24x7 database monitoring and alerting that enables DBAs to analyze DBMS instances while staying abreast of customizable metrics and scripts.

58

Page 59: Congratulations, You’re a DBA... Now What?

EMBARCADERO TECHNOLOGIES

Thank you for attending!

Connect with us

59

Read Mike’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

http://forms.embarcadero.com/OvercomingTopMistakesInField

Check out Mike’s recent webinar