28
SQL in the City Summit

SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

SQL in the CitySummit

Page 2: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Summit

Building Quality in your Continuous Delivery Process

Page 3: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Agenda

BioDevOps and Continuous DeliveryDBA (and organizational) concernsAdding quality

Page 4: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Steve JonesEvangelist, Redgate Software

Editor, SQLServerCentral

28 years SQL Server data experienceDBA, developer, manager, writer, speaker in a variety of companies and industries

Founder, SQLServerCentralCurrently the editor in chief, with the goal of helping you learn to be a better data professional every day

11 year Microsoft Data Platform MVPI have been honored to be recognized by Microsoft for the as a Data Platform MVP working with SQL Server

@way0utwest/in/way0utwest [email protected]

Page 5: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

What is DevOps?

Velocity ‘09 – 10+ Deploys Per Day: Dev and Ops Cooperation at FlickrAn amalgamation of principles describing a better software processGrew out of the Agile movementIs not Agile (or Scrum or Lean or Kanban)Uses The Three Ways

Systems ThinkingAmplify Feedback LoopsA Culture of Learning and Experimentation

Page 6: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

What is DevOps?

Velocity ‘09 – 10+ Deploys Per Day: Dev and Ops Cooperation at FlickrAn amalgamation of principles describing a better software processGrew out of the Agile movementIs not Agile (or Scrum or Lean or Kanban)Uses The Three Ways

Systems ThinkingAmplify Feedback LoopsA Culture of Learning and Experimentation

Page 7: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Continuous Stuff

DevOps often includes continuousIntegrationDeliveryDeployment

Continuous Delivery is getting changes to customers as soon as possible

Still manual reviewStill approvalsStill human involvement

Page 8: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

DBA Concerns with DevOps

Poor modeling and designLots of technical debt we can't removePoor query performance Breaking other applications

Page 9: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Organizational Concerns with DevOps

Get more doneDeliver more featuresLess DevelopersFix broken things immediately

Page 10: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Speed v Quality

Speed Quality

Page 11: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Speed and QualitySp

eed

Quality

Page 12: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Summit

Page 13: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

We Build in QualityUse Feedback

Avoid Unnecessary WorkLearn what works and what doesn't

Use StandardsConsistency for developersLess Learning Time

Evolve the ProcessDevelop patterns for problem domainsLearn anti-patterns

Use AutomationPick one thing and improve itWork through bottlenecks

Page 14: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Use Standards

Choose standards forNamingStyleCoding practicesDocumentation

Static Code Analysis can catch problemsEnable relevant rulesRemove irrelevant rulesRun this often

Page 15: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently
Page 16: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently
Page 17: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently
Page 18: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently
Page 19: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Use Version Control

Page 20: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Use Version Control

Page 21: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Use Tests

Test early and oftenMake testing a part of development, not a projectSlowly add testsValidate standardsEnsure specifications metDocument your intentions

Page 22: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently
Page 23: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Validate with Continuous Integration

Evaluation of code from your VCSEnsures all changes are capturedSpecific versions checked

Independent SystemNo machine dependenciesEnsures repeatable build/release

Consistent ProcessEnsures all steps are completedAvoids human tendencies to skip items

Page 24: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Validate with Continuous Integration

Page 25: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Automated Releases

Automation ensures releases are repeatable and reliableWe can release more often with confidenceReleasing more often means

Release smaller changesLower risk of issuesWe learn to toggle/flag items

Page 26: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Monitoring and Learning

We need feedback on our workIs it being used?Does it perform well?

Gather metrics and measurementsFocus on outcomes not outputsSlowly add new itemsDon't forget to measure the people and the software

Use feedback to drive learningPatternsAnti-patterns

Page 27: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

Summary

Understand and apply the DevOps principles to the dbThis is a journeyTools and technology can helpA DevOps culture is criticalTake baby steps

Page 28: SQL in the City - Redgate...28 years SQL Server data experience DBA, developer, manager, writer, speaker in a variety of companies and industries Founder, SQLServerCentral Currently

SummitSummit

Any questions?www.voiceofthedba.com

[email protected]

@way0utwest

/in/way0utwest