Developers and DBAs. Farmers and City Slickers have different mindsets

Similar documents
Fully Optimize FULLY OPTIMIZE YOUR DBA RESOURCES

Servers & Developers. Julian Nadeau Production Engineer

Background. Let s see what we prescribed.

What is Standard APEX? TOOLBOX FLAT DESIGN CARTOON PEOPLE

Creating an Intranet using Lotus Web Content Management. Part 2 Project Planning

Background. $VENDOR wasn t sure either, but they were pretty sure it wasn t their code.

Performance Testing in a Containerized World. Paola Rossaro

MongoDB Schema Design for. David Murphy MongoDB Practice Manager - Percona

White Paper. How the Meltdown and Spectre bugs work and what you can do to prevent a performance plummet. Contents

Guarantee Application Success Steven Feuerstein PL/SQL Evangelist, Quest Software

Four Steps to Unleashing The Full Potential of Your Database

2016 All Rights Reserved

A developer s guide to load testing

Web Hosting. Important features to consider

6 Stephanie Well. It s six, because there s six towers.

MySQL Worst Practices. Introduction. by Jonathan Baldie

There And Back Again

Seminar report Google App Engine Submitted in partial fulfillment of the requirement for the award of degree Of CSE

Spam. Time: five years from now Place: England

9 R1 Get another piece of paper. We re going to have fun keeping track of (inaudible). Um How much time do you have? Are you getting tired?

Database Performance on NAS: A Tutorial. Darrell Suggs. NAS Industry Conference Network Appliance - Darrell Suggs

Monitoring Tool Made to Measure for SharePoint Admins. By Stacy Simpkins

Oracle Forms and Oracle APEX The Odd Couple

INNOV-4: Fun With Virtualization. Or, How I learned to love computers that don t really exist...

Intro. Scheme Basics. scm> 5 5. scm>

Stanko Tadić

TOP DEVELOPERS MINDSET. All About the 5 Things You Don t Know.

Cold, Hard Cache KV? On the implementation and maintenance of caches. who is

Performance by combining different log information. Daniel Stein Nürnberg,

Learning to Provide Modern Solutions

Cloud & Datacenter EGA

CATCH ERRORS BEFORE THEY HAPPEN. Lessons for a mature data governance practice

The Idiot s Guide to Quashing MicroServices. Hani Suleiman

What Are CSS and DHTML?

An Introduction to Business Disaster Recovery

CIO 24/7 Podcast: Tapping into Accenture s rich content with a new search capability

A Guide to Condor. Joe Antognini. October 25, Condor is on Our Network What is an Our Network?

Copyright All rights reserved worldwide.

Keeping Rails on the Tracks

DG Theory into practice Delegate A/S HQ

Taming the Beast: Optimizing Oracle EBS for Radical Efficiency

Scalable, Good, Cheap. a tale of sexiness, puppets, shell scripts, and python

<layer> or the ingrained habits of web development. Peter-Paul Koch HTML Special, 16 June 2016

Tomasz Szumlak WFiIS AGH 23/10/2017, Kraków

An Incredibly Brief Introduction to Relational Databases: Appendix B - Learning Rails

Project Collaboration

Upgrading MySQL Best Practices. Apr 11-14, 2011 MySQL Conference and Expo Santa Clara,CA by Peter Zaitsev, Percona Inc

How To Manage Disk Effectively with MPG's Performance Navigator

a career how and Tuesday, November 8, 2011

TestBase's Patented Slice Feature is an Answer to Db2 Testing Challenges

DATABASE TRANSACTIONS. CS121: Relational Databases Fall 2017 Lecture 25

Strategy. 1. You must do an internal needs analysis before looking at software or creating an ITT

INTRODUCTION. 2

Master Every Stage of Your Mobile App Lifecycle: Micro Focus Mobile Center. Brochure. Application Development, Test & Delivery

Key to A Successful Exadata POC

I'm Andy Glover and this is the Java Technical Series of. the developerworks podcasts. My guest is Brian Jakovich. He is the

Four Essential Steps for Removing Risk and Downtime from Your POWER9 Migration

The SD-WAN implementation handbook

3 Continuous Integration 3. Automated system finding bugs is better than people

Recipes. Marketing For Bloggers. List Building, Traffic, Money & More. A Free Guide by The Social Ms Page! 1 of! 24

How Enova Financial Uses Postgres. Jim Nasby, Lead Database Architect

out of the office uncommon autoresponders for people who hate autoresponders by: Jacqueline Fisch

White Paper: Backup vs. Business Continuity. Backup vs. Business Continuity: Using RTO to Better Plan for Your Business

Exadata. Presented by: Kerry Osborne. February 23, 2012

Exadata Implementation Strategy

Rails + Legacy Databases Brian Hogan - RailsConf 2009 twitter: bphogan IRC: hoganbp

Best Practices to Transition to the Cloud. Five ways to improve IT agility and speed development by adopting a Cloud DevOps approach

Proactively Monitoring and Maintaining your EPM Systems. Andy Taylor AMOSCA

Daily, Weekly or Monthly Partitions? A discussion of several factors for this important decision

Oracle Application Express Schema Design Guidelines Presenter: Flavio Casetta, Yocoya.com

A Brief Writer s Guide to Book Indexing

Balancing the pressures of a healthcare SQL Server DBA

How To Save $30,000 a Month Using

3 Ways to Take Your Website Management from Chaotic to Calm WHITEPAPER

2018 Database DevOps Survey DBmaestro 1

5 R1 The one green in the same place so either of these could be green.

Application Deployment on IBM i

Database Engineering. Percona Live, Amsterdam, September, 2015

<Insert Picture Here> Consolidate Oracle Applications on Oracle Exadata

Analysis Services. Show Me Where It Hurts. Bill Anton Head Prime Data Intelligence

Running MySQL on AWS. Michael Coburn Wednesday, April 15th, 2015

UPGRADING IMIS NEWLIN

When, Where & Why to Use NoSQL?

Shift Left and Friends And What They Mean for Testers

Although many business owners think that Virtualization and Disaster Recovery (DR) are two separate services, the

Splunk is a great tool for exploring your log data. It s very powerful, but

Zero to Millions: Building an XLSP for Gears of War 2

Kentico - Upgrade to Kentico 9. Virgil Carroll Founder / Principal Architect

Sql Server Compare Two Tables To Find Differences

FIVE BEST PRACTICES FOR ENSURING A SUCCESSFUL SQL SERVER MIGRATION

How to setup Orchestrator to manage thousands of MySQL servers. Simon J Mudd 3 rd October 2017

In math, the rate of change is called the slope and is often described by the ratio rise

Introduction to Programming

Avoiding the 16 Biggest DA & DRS Configuration Mistakes

IBM s Integrated Data Management Solutions for the DBA

Technology Tools Available for Keeping Members Connected (Facebook and Twitter)

I m an egotistical bastard, and I name all my projects after myself. First Linux, now git. Linus Torvalds, creator of Linux and Git

The Danger of Invalid Database Objects

Project Horizon Technical Overview. Bob Rullo GM; Presentation Architecture

DB2 is a complex system, with a major impact upon your processing environment. There are substantial performance and instrumentation changes in

Transcription:

Developers and DBAs Farmers and City Slickers have different mindsets

About ~ Øyvind Isene DBA Consultant working for Bicon in Oslo Optimization and helping developers with db OUGN and the Oracle community @OyvindIsene on

A city slicker «A person raised in the city and accustomed to life there. This often leads to naivety in certain matters, and sometimes unusual prejudices.» Urbandictionary.com

About farmers «An almost always respectable person, who grows the food that the general public so ungraciously eats. Don't take farmers for granted. Hell, love us. WE FEED YOU PEOPLE!.» urbandictionary.com

So I came up with this metaphor Realised that disputes came from different mindsets Started to describe what I care about Wondered why the developers don t care

Developers Work on their own code Focus on code, data not so much PC with plenty of CPU, RAM, storage, time Creative and love hype paradigms

The DBA focus on the database Data over code Lots of users Multiversion concurrency Consistency and no data loss Availability and scalability

Thought we were done with this subject We still have challenges In projects down to a single «tuning» task This will be about how to avoid stress in your job Not wanting to start a flame war

I m biased DBA from start of career but I grew up on a small farm Used to blame the developers until I realised I could be part of the problem

A database without developers is like a bank without credit cards.

Typical conflicts Admins perceived as non-agile and slow even hostile to change Developers perceived as inconsiderate no respect for a 24/7 multi-user environment

More examples See @DBAReactions on Twitter

An old DB not going away The Oracle database is over 30 years old yet up to date with all the new cool stuff Not going away anytime soon Not even in this cloudy mobile big data era

Different Mindsets

Scope of a developer

Scope of an admin

Function vs Stability Function Does what it is supposed to New cool feature Stability Available 24/7 Predictable

«Being in the zone» vs ADHD Coders can concentrate on one thing and isolate Requires planning and hard work DBAs do support and keep the wheels running Many things at the same time - automate Reluctant to stuff that requires manual work

Concurrency in a db Coders forget about this - they only see their stuff This is probably what freaks me out most when working with them

Devops? Certainly a good idea as long as they remember to do what the admins have always been doing backups - support - DR - upgrades - migration

Done with the psycho Moving on to practical stuff

Methods a procedure, technique, or way of doing something, especially in accordance with a definite plan

Datamodelling DBAs need to know this! Get in early and look for bad patterns A good model gives you better SQL Possibly the most proactive thing you can do! No data model? No release!

Seriously This is where you start Work closely with the devs, making suggestions Avoid unscalable stuff moving in to your DC Use SQL Dev Data Modeler - read Heli s new book A good data model is a good map for all

The rest is all about optimisation? How to do reactive fixing together Aka tuning

3 simple concepts 1. Response time 2. Filter early 3. Latency If you can agree on this you have made it far.

Response time Surprised to see how many forget about this Put the end user into focus Introduce programmers to another one; Cary Millsap and his Method R Clearly the most important thinking I ve learned

You have to measure it Oracle trace files Ask programmers about their log files Everyone uses timestamps these days, right? Use it for profiling

Latency You know that student who learned PHP and two SQL statements Fetched 10,000 rows from database and generated an UPDATE for each of them

Latency or TTT 100 ms isn t fast when repeated 1000 times Latency shows why certain algorithms and architectures are bad.

Filter Early The less you do, the sooner you finish Works for databases too! As early as possible in the process Dramatic effect on joins, sorting, and transport Quick question: What is the secret sauce of Exadata?

Health checks? Only if you re an consultant and need to bill more IT too complex for random ransack of whatever.

Find a common ground DBAs should code - learn: SQL and PL/SQL well APEX - make nice stuff Some of this stuff runs a lot faster than apps on Pluto. Automate with code and scripts

Project work Some recommendations

Attitude Give the other part a chance put yourself in their position Better cooperation => less fights

Some emotional IQ DBAs and developers tend to take it personally Let the other part explain Learn well the stuff you care about - and how to explain it

Have a DBA in the project One DBA that is part of a development project Sounds like a devops A gatekeeper with full access See the project from the inside Shortens the distance from problem to solution

Testing Functional / acceptance testing Benefits support too System testing - QA before deployment Volume testing - verify scalability before the users do

ITIL - a library for herding cats When you are too tired - call the CAB Frustrating for developers and people who know what they are doing Use it if you have to stop what is not ready for production need a break

Project managers Should offload admin work Change requests Fight with management Not a peace negotiator, but a facilitator Make sure everybody has the same map and goal

almost Final words Make a habit of proving yourself right or wrong Admit mistakes and rise above criticism Have fun and laugh of all the creativity out there ;-)

Big Data and Cloud Almost kidding let s discuss this over beers The DBA work is not obsolete we are not going to die with our customers But cloud will put new expectations to fast delivery