SlideShare a Scribd company logo
1 of 43
Oracle DBA Best
Practices
Dennis Williams
Senior Database Administrator
Lifetouch, Inc.
About Me
 TCOUG member since 1990
 8 years only DBA at Lifetouch, Inc.
 Lawson Software Database
Research Engineer
 Consultant - Fingerhut
 Control Data
 Contact me at
dwilliams@lifetouch.com
Audience
 Those considering DBA career
 DBAs who want to improve
 Those forced to tolerate DBAs
There’s no asset more important
than a company’s data. You can’t
give that responsibility to
someone who doesn’t know how
to handle it.
Malcom Fields, CIO
Hon Industries
Agenda
 Time - Until lunch is ready
 Left-brain portion - tech. Issues
 Right-brain portion - softer issues
 Database audit form
75,610 DBAs
 U.S. Bureau of Labor Statistics in
2003 began tracking the IT
workforce.
 6.46% unemployed
 There are 797,445 Software
Engineers (5.3% unemployed)
 DBA supports about 10
developers.
 66% DBA growth by 2010
Where do DBAs come from?
 Schools don’t offer a degree.
 Developer DB developer
 System Administrator
DBA is a role
 Like a policeman or teacher
 Unstated responsibilities,
expectations
 Most people don’t know what a
DBA does.
DBA time breakdown
 22% Fire Fighting
 33% Monitoring
 12% Perf. Tuning / Change Mgt.
 33% Development Support
 0% Planning for growth
 0% Backup & Recovery Planning
 0% Learning
Koopman
Assignment
 Keep a personal time log - 1 week
 Learn your time distribution
 Target improvements
 Study time management
Levels of Oracle DBA
Rookie Veteran Expert
TCOUG No time Member,
attends reg.
On the
board
Studies Admin.
Commands
Concepts Architecture
Manuals No time Reads
manuals
Very
familiar
Learning Takes
classes
OCP, books OCM,
author,
conferences
Online
forums
No time Lurks, asks Answers
questions
New Oracle
features
Uses any
feature
Wary of
new feature
Creates
tests to find
problems
OCP
 Misconception: you are an expert
 Multiple choice, so simple
questions
 Broad, not deep
 Career benefit - can’t hurt
 Can help you go deeper in Oracle
Types of DBAs:
Development DBA
 May carry developer title
 Develop code ( PL/SQL )
 “Hunter” personality (find/fix/forget)
 Best practices: Code Complete by
McConnell
Production Support DBA
 Keep it running
 “shepherd / farmer” personality
 Where best practices really make a
difference
 The hero isn’t the DBA that battles
problems through the weekend,
but the one that avoided the
problem
Application DBA
 Supports a business critical app.
like Oracle Financials, SAP,
Peoplesoft, Lawson
 Production support, some dev.
 Key skill: understands how the
app. Interacts with Oracle
 Can’t self-study
 Caution: Vendor doesn’t operate
databases in production
Consultant DBA
 Fastest way to get expertise
 Varied work opportunities
 Understand economic cycles
Backup is Job #1
 Ensuring data is never lost
 Don’t trust an untested backup
configuration
 Be ready to perform any type of
recovery at any time
 Communicate vulnerabilities,
recovery times to management
 Archivelog mode by default
 Cold or Hot backups, which best
fits your environment
Export: the DBAs friend
 Enhance recoverability
 Easy to recover a single table,
avoid full recovery
 Checks block corruption
 Teach your developers to request
special exports
 Validate, no errors, Unix strings
command, last line should be EXIT
Security is Job #2
 DBA is responsible for making data
available to authorized users
 Keeping data inaccessible to
unauthorized
 Role: policy, implementation
 Know security options, implications
 Know how application affects
security, data sensitivity
Making it work
Dev to Prod
 ITIL
 3 environments - test/stage/prod
 Clone DB from backup
 Developers provide scripts to
change production
 Simple application login test
 Always have a backout plan
 Is this change worth the possible
consequences?
Oracle Performance
Tuning - Types
 SQL Statements - explain plan,
tkprof, 10053 events
 Application disasters - 10046 trace,
Cary Millsap (TCOUG Hotsos
seminar)
 Proactive tuning and hanging -
STATSPACK, utlestat/utlbstat
Server statistics
 If you have a performance
problem, either your database is
working too hard, or it’s not being
allowed to work. - Jonathan
Lewis
 You must know what your server is
doing.
 You must know the O.S.
 Unix Admin. - your best friend
Bind variables
 Ensure developers use bind
variables
 Audit v$sql in test to verify
 In Java, PreparedStatement
 In .net, CommandText,
CreateParameter, Append
 Connection pooling
Not your Dad’s Oracle
tuning
 Rules of thumb, ratios to
mathematical foundations
 Counts to measured times in
microseconds
 Aggregate by instance to process
details
 V$ tables are either too
summarized or point-in-time
Goal of tuning
 What matters to the business user
 Good chance to sell value
 End-to-end analysis
 DBA must prove innocence
Monitoring
 There is nothing so useless as
doing efficiently that which
shouldn’t be done at all
- Peter F. Drucker
 Use LMT, uniform extents, vs.
rebuild
 Use autoextend vs. monitoring
 Email exceptional conditions
Oracle Versions
 Be not the first by whom the new
are tried, nor yet the last to lay
the old aside - Alexander Pope
 Good choice saves downtime
 Support by appl, O.S.
 Rule of 4’s - 7.3.4, 8.1.7.4, 9.2.0.4
 Timing - can I skip versions?
 Appl. quality requirements
 What are others saying? Metalink
 Only change one major component
Oracle Patches
 Two philosophies:
 Only when bug arises
 Immediately (security)
 Vendor testing hierarchy:
 Version
 Patch set
 Individual patch
Oracle Licensing
 Install defaults to all - know what
costs extra
 Consider Standard Version
 Understand the organization
budget mechanisms
 Knowledgeable if not authorized
Troubleshooting
 Never worked? Check installation
 Worked earlier, doesn’t work now?
What changed?
 Intermittent? (worst kind) How
does it vary? With time, system
load, hardware?
From Oracle Networking 101 by
Marlene Theriault
Documentation
 Key: What is essential?
 Don’t document what can easily be
figured out
 Keeping up-to-date is the crucial
aspect.
 Obsolete documentation is
treacherous
 Self-documenting where possible
Data Modeling
 O-O Developer: Database is just a
means to persist classes
 DBA: Good data modeling can
ensure the data is usable across
the enterprise
 Data architect is a DBA career path
 Participate in initial design where
your leverage is large
 Learn data modeling software
Tech. Learning List
 Application interface methods -
Microsoft, Java, OCBC
 Server tuning
 Storage methods and options,
strengths and weaknesses
 Effective communication proceeds
from shared knowledge
Self-Study
 When you can’t get experience
 Be aware of the limits
 Well-defined area? (books?)
 Can earn credentials?
 Area where you can gain
significant knowledge with a
reasonable effort?
 Average experience of competitors
is short
 Enjoy after doing 10 years?
Know your learning style
 Left-brain vs. right-brain
 Four primary learning styles:
 Visual (diagrams)
 Auditory (reading)
 Tactile (hands-on)
 Kinesthetic (body)
 Your manager’s learning style
People Skills
 Few people besides a DBA
understand what a DBA does
 This makes it hard to communicate
your value to the organization
 People don’t mind paying for what
they value, but resist paying for
what they don’t consider valuable
 If your manager is a DBA, less
people skills are required, but this
is career-limiting
Respect
 Do you respect someone who
doesn’t respect you?
 The root of much conflict is a
mutual lack of respect
 Smartness paradox
 We are the hero of our own movie,
we justify ourselves, never the bad
guy
 Really care about the people you
work with
How to avoid problems
 Many bad reactions stem from a
lack of warning
 Emotions play a large role in
decision-making
 Work hard to warn people ahead of
time of what will be coming
 Don’t know why? Assume stupidity
 A DBA appreciates a heads-up,
why shouldn’t others?
When you’re wrong,
admit it, quickly
 Any man worth his salt will stick
up for what he believes right, but
it takes a slightly better man to
acknowledge instantly and
without reservation that he is in
error - Andrew Jackson
Stress
 Feeling no control
 Constant interruptions
 DBA syndrome - responsible for
everything, control nothing, nobody
understands
 You hear yourself saying “nobody
appreciates me”
 Antidote: study stress control,
exercise
 visit clients, future changes
That Problem Person
 Sandwich / Oreo approach by
Rachel Carmichael
 1-on-1 outside the office
 Begin with a complement
 Make statements addressing the
problem, starting with “I” - “I feel”,
“I think”, “what I see is”. Listen
 Wrap with team-building “we can
work together on this”, “I need your
help”
 End with a nice complement
Simple Explanations
 The most valuable people are
those who can understand
complex issues and explain them
simply to others
 Makes other feel good about
themselves
 Albert Einstein, Steve Hawking,
Carl Sagan, Richard Feynman
Database Audit Form
 Periodically audit each database
 Checklist for problems
 Form is terse, so I included a sheet
describing the purpose of each
check

More Related Content

Similar to DBA Best Practices.ppt

Software Development in the Brave New world
Software Development in the Brave New worldSoftware Development in the Brave New world
Software Development in the Brave New worldDavid Leip
 
Are you ready for Data science? A 12 point test
Are you ready for Data science? A 12 point testAre you ready for Data science? A 12 point test
Are you ready for Data science? A 12 point testBertil Hatt
 
DrupalCon 2013 Making Support Fun & Profitable
DrupalCon 2013 Making Support Fun & ProfitableDrupalCon 2013 Making Support Fun & Profitable
DrupalCon 2013 Making Support Fun & ProfitablePromet Source
 
2022 Subsistence Agile - Sustainability and Self-Sufficiency for Thriving Tea...
2022 Subsistence Agile - Sustainability and Self-Sufficiency for Thriving Tea...2022 Subsistence Agile - Sustainability and Self-Sufficiency for Thriving Tea...
2022 Subsistence Agile - Sustainability and Self-Sufficiency for Thriving Tea...Cheryl M Hammond
 
Adaptive Case Management Workshop 2014 - Keynote
Adaptive Case Management Workshop 2014 - KeynoteAdaptive Case Management Workshop 2014 - Keynote
Adaptive Case Management Workshop 2014 - KeynoteKeith Swenson
 
Stldodn 2014 agile on a shoestring
Stldodn 2014   agile on a shoestringStldodn 2014   agile on a shoestring
Stldodn 2014 agile on a shoestringAngela Dugan
 
Karen Lopez 10 Physical Data Modeling Blunders
Karen Lopez 10 Physical Data Modeling BlundersKaren Lopez 10 Physical Data Modeling Blunders
Karen Lopez 10 Physical Data Modeling BlundersKaren Lopez
 
Database administrator: job description, salary and future scope
Database administrator: job description, salary and future scopeDatabase administrator: job description, salary and future scope
Database administrator: job description, salary and future scopeHR Krutika Meheta
 
Making Support Fun & Profitable: DrupalCon Portland
Making Support Fun & Profitable: DrupalCon Portland Making Support Fun & Profitable: DrupalCon Portland
Making Support Fun & Profitable: DrupalCon Portland Anne Stefanyk
 
Data Governance in an Agile SCRUM Lean MVP World
Data Governance in an Agile SCRUM Lean MVP WorldData Governance in an Agile SCRUM Lean MVP World
Data Governance in an Agile SCRUM Lean MVP WorldDATAVERSITY
 
Concerns Examiners Have About Your Spreadsheets and How to Respond
Concerns Examiners Have About Your Spreadsheets and How to RespondConcerns Examiners Have About Your Spreadsheets and How to Respond
Concerns Examiners Have About Your Spreadsheets and How to RespondLibby Bierman
 
Database Administrator: Job Description, Salary and Future Scope
Database Administrator: Job Description, Salary and Future ScopeDatabase Administrator: Job Description, Salary and Future Scope
Database Administrator: Job Description, Salary and Future ScopeHR Krutika Meheta
 
Data Maturity for Nonprofits: Three Perspectives, Nine Lessons, and Three Ass...
Data Maturity for Nonprofits: Three Perspectives, Nine Lessons, and Three Ass...Data Maturity for Nonprofits: Three Perspectives, Nine Lessons, and Three Ass...
Data Maturity for Nonprofits: Three Perspectives, Nine Lessons, and Three Ass...Karen Graham
 
Светлана Старикова "Building a self-managing team: why you should not have e...
 Светлана Старикова "Building a self-managing team: why you should not have e... Светлана Старикова "Building a self-managing team: why you should not have e...
Светлана Старикова "Building a self-managing team: why you should not have e...Fwdays
 
MIS course module BBA
MIS course module BBAMIS course module BBA
MIS course module BBA07Deeps
 
How UXD Can Provide Leadership Skills for Complex Software Projects: A 4-Day ...
How UXD Can Provide Leadership Skills for Complex Software Projects: A 4-Day ...How UXD Can Provide Leadership Skills for Complex Software Projects: A 4-Day ...
How UXD Can Provide Leadership Skills for Complex Software Projects: A 4-Day ...Greg Laugero
 
Operationalizing Machine Learning in the Enterprise
Operationalizing Machine Learning in the EnterpriseOperationalizing Machine Learning in the Enterprise
Operationalizing Machine Learning in the Enterprisemark madsen
 

Similar to DBA Best Practices.ppt (20)

Software Development in the Brave New world
Software Development in the Brave New worldSoftware Development in the Brave New world
Software Development in the Brave New world
 
3685807
36858073685807
3685807
 
Are you ready for Data science? A 12 point test
Are you ready for Data science? A 12 point testAre you ready for Data science? A 12 point test
Are you ready for Data science? A 12 point test
 
DrupalCon 2013 Making Support Fun & Profitable
DrupalCon 2013 Making Support Fun & ProfitableDrupalCon 2013 Making Support Fun & Profitable
DrupalCon 2013 Making Support Fun & Profitable
 
2022 Subsistence Agile - Sustainability and Self-Sufficiency for Thriving Tea...
2022 Subsistence Agile - Sustainability and Self-Sufficiency for Thriving Tea...2022 Subsistence Agile - Sustainability and Self-Sufficiency for Thriving Tea...
2022 Subsistence Agile - Sustainability and Self-Sufficiency for Thriving Tea...
 
Intro to Agile Practices and Values
Intro to Agile Practices and ValuesIntro to Agile Practices and Values
Intro to Agile Practices and Values
 
Adaptive Case Management Workshop 2014 - Keynote
Adaptive Case Management Workshop 2014 - KeynoteAdaptive Case Management Workshop 2014 - Keynote
Adaptive Case Management Workshop 2014 - Keynote
 
Stldodn 2014 agile on a shoestring
Stldodn 2014   agile on a shoestringStldodn 2014   agile on a shoestring
Stldodn 2014 agile on a shoestring
 
Karen Lopez 10 Physical Data Modeling Blunders
Karen Lopez 10 Physical Data Modeling BlundersKaren Lopez 10 Physical Data Modeling Blunders
Karen Lopez 10 Physical Data Modeling Blunders
 
Database administrator: job description, salary and future scope
Database administrator: job description, salary and future scopeDatabase administrator: job description, salary and future scope
Database administrator: job description, salary and future scope
 
Making Support Fun & Profitable: DrupalCon Portland
Making Support Fun & Profitable: DrupalCon Portland Making Support Fun & Profitable: DrupalCon Portland
Making Support Fun & Profitable: DrupalCon Portland
 
Data Governance in an Agile SCRUM Lean MVP World
Data Governance in an Agile SCRUM Lean MVP WorldData Governance in an Agile SCRUM Lean MVP World
Data Governance in an Agile SCRUM Lean MVP World
 
Concerns Examiners Have About Your Spreadsheets and How to Respond
Concerns Examiners Have About Your Spreadsheets and How to RespondConcerns Examiners Have About Your Spreadsheets and How to Respond
Concerns Examiners Have About Your Spreadsheets and How to Respond
 
Database Administrator: Job Description, Salary and Future Scope
Database Administrator: Job Description, Salary and Future ScopeDatabase Administrator: Job Description, Salary and Future Scope
Database Administrator: Job Description, Salary and Future Scope
 
Data Maturity for Nonprofits: Three Perspectives, Nine Lessons, and Three Ass...
Data Maturity for Nonprofits: Three Perspectives, Nine Lessons, and Three Ass...Data Maturity for Nonprofits: Three Perspectives, Nine Lessons, and Three Ass...
Data Maturity for Nonprofits: Three Perspectives, Nine Lessons, and Three Ass...
 
Светлана Старикова "Building a self-managing team: why you should not have e...
 Светлана Старикова "Building a self-managing team: why you should not have e... Светлана Старикова "Building a self-managing team: why you should not have e...
Светлана Старикова "Building a self-managing team: why you should not have e...
 
MIS course module BBA
MIS course module BBAMIS course module BBA
MIS course module BBA
 
How UXD Can Provide Leadership Skills for Complex Software Projects: A 4-Day ...
How UXD Can Provide Leadership Skills for Complex Software Projects: A 4-Day ...How UXD Can Provide Leadership Skills for Complex Software Projects: A 4-Day ...
How UXD Can Provide Leadership Skills for Complex Software Projects: A 4-Day ...
 
Operationalizing Machine Learning in the Enterprise
Operationalizing Machine Learning in the EnterpriseOperationalizing Machine Learning in the Enterprise
Operationalizing Machine Learning in the Enterprise
 
Let's get along
Let's get alongLet's get along
Let's get along
 

Recently uploaded

代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样vhwb25kk
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAbdelrhman abooda
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 

Recently uploaded (20)

代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
1:1定制(UQ毕业证)昆士兰大学毕业证成绩单修改留信学历认证原版一模一样
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptxAmazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
Amazon TQM (2) Amazon TQM (2)Amazon TQM (2).pptx
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 

DBA Best Practices.ppt

  • 1. Oracle DBA Best Practices Dennis Williams Senior Database Administrator Lifetouch, Inc.
  • 2. About Me  TCOUG member since 1990  8 years only DBA at Lifetouch, Inc.  Lawson Software Database Research Engineer  Consultant - Fingerhut  Control Data  Contact me at dwilliams@lifetouch.com
  • 3. Audience  Those considering DBA career  DBAs who want to improve  Those forced to tolerate DBAs
  • 4. There’s no asset more important than a company’s data. You can’t give that responsibility to someone who doesn’t know how to handle it. Malcom Fields, CIO Hon Industries
  • 5. Agenda  Time - Until lunch is ready  Left-brain portion - tech. Issues  Right-brain portion - softer issues  Database audit form
  • 6. 75,610 DBAs  U.S. Bureau of Labor Statistics in 2003 began tracking the IT workforce.  6.46% unemployed  There are 797,445 Software Engineers (5.3% unemployed)  DBA supports about 10 developers.  66% DBA growth by 2010
  • 7. Where do DBAs come from?  Schools don’t offer a degree.  Developer DB developer  System Administrator
  • 8. DBA is a role  Like a policeman or teacher  Unstated responsibilities, expectations  Most people don’t know what a DBA does.
  • 9. DBA time breakdown  22% Fire Fighting  33% Monitoring  12% Perf. Tuning / Change Mgt.  33% Development Support  0% Planning for growth  0% Backup & Recovery Planning  0% Learning Koopman
  • 10. Assignment  Keep a personal time log - 1 week  Learn your time distribution  Target improvements  Study time management
  • 11. Levels of Oracle DBA Rookie Veteran Expert TCOUG No time Member, attends reg. On the board Studies Admin. Commands Concepts Architecture Manuals No time Reads manuals Very familiar Learning Takes classes OCP, books OCM, author, conferences Online forums No time Lurks, asks Answers questions New Oracle features Uses any feature Wary of new feature Creates tests to find problems
  • 12. OCP  Misconception: you are an expert  Multiple choice, so simple questions  Broad, not deep  Career benefit - can’t hurt  Can help you go deeper in Oracle
  • 13. Types of DBAs: Development DBA  May carry developer title  Develop code ( PL/SQL )  “Hunter” personality (find/fix/forget)  Best practices: Code Complete by McConnell
  • 14. Production Support DBA  Keep it running  “shepherd / farmer” personality  Where best practices really make a difference  The hero isn’t the DBA that battles problems through the weekend, but the one that avoided the problem
  • 15. Application DBA  Supports a business critical app. like Oracle Financials, SAP, Peoplesoft, Lawson  Production support, some dev.  Key skill: understands how the app. Interacts with Oracle  Can’t self-study  Caution: Vendor doesn’t operate databases in production
  • 16. Consultant DBA  Fastest way to get expertise  Varied work opportunities  Understand economic cycles
  • 17. Backup is Job #1  Ensuring data is never lost  Don’t trust an untested backup configuration  Be ready to perform any type of recovery at any time  Communicate vulnerabilities, recovery times to management  Archivelog mode by default  Cold or Hot backups, which best fits your environment
  • 18. Export: the DBAs friend  Enhance recoverability  Easy to recover a single table, avoid full recovery  Checks block corruption  Teach your developers to request special exports  Validate, no errors, Unix strings command, last line should be EXIT
  • 19. Security is Job #2  DBA is responsible for making data available to authorized users  Keeping data inaccessible to unauthorized  Role: policy, implementation  Know security options, implications  Know how application affects security, data sensitivity
  • 20. Making it work Dev to Prod  ITIL  3 environments - test/stage/prod  Clone DB from backup  Developers provide scripts to change production  Simple application login test  Always have a backout plan  Is this change worth the possible consequences?
  • 21. Oracle Performance Tuning - Types  SQL Statements - explain plan, tkprof, 10053 events  Application disasters - 10046 trace, Cary Millsap (TCOUG Hotsos seminar)  Proactive tuning and hanging - STATSPACK, utlestat/utlbstat
  • 22. Server statistics  If you have a performance problem, either your database is working too hard, or it’s not being allowed to work. - Jonathan Lewis  You must know what your server is doing.  You must know the O.S.  Unix Admin. - your best friend
  • 23. Bind variables  Ensure developers use bind variables  Audit v$sql in test to verify  In Java, PreparedStatement  In .net, CommandText, CreateParameter, Append  Connection pooling
  • 24. Not your Dad’s Oracle tuning  Rules of thumb, ratios to mathematical foundations  Counts to measured times in microseconds  Aggregate by instance to process details  V$ tables are either too summarized or point-in-time
  • 25. Goal of tuning  What matters to the business user  Good chance to sell value  End-to-end analysis  DBA must prove innocence
  • 26. Monitoring  There is nothing so useless as doing efficiently that which shouldn’t be done at all - Peter F. Drucker  Use LMT, uniform extents, vs. rebuild  Use autoextend vs. monitoring  Email exceptional conditions
  • 27. Oracle Versions  Be not the first by whom the new are tried, nor yet the last to lay the old aside - Alexander Pope  Good choice saves downtime  Support by appl, O.S.  Rule of 4’s - 7.3.4, 8.1.7.4, 9.2.0.4  Timing - can I skip versions?  Appl. quality requirements  What are others saying? Metalink  Only change one major component
  • 28. Oracle Patches  Two philosophies:  Only when bug arises  Immediately (security)  Vendor testing hierarchy:  Version  Patch set  Individual patch
  • 29. Oracle Licensing  Install defaults to all - know what costs extra  Consider Standard Version  Understand the organization budget mechanisms  Knowledgeable if not authorized
  • 30. Troubleshooting  Never worked? Check installation  Worked earlier, doesn’t work now? What changed?  Intermittent? (worst kind) How does it vary? With time, system load, hardware? From Oracle Networking 101 by Marlene Theriault
  • 31. Documentation  Key: What is essential?  Don’t document what can easily be figured out  Keeping up-to-date is the crucial aspect.  Obsolete documentation is treacherous  Self-documenting where possible
  • 32. Data Modeling  O-O Developer: Database is just a means to persist classes  DBA: Good data modeling can ensure the data is usable across the enterprise  Data architect is a DBA career path  Participate in initial design where your leverage is large  Learn data modeling software
  • 33. Tech. Learning List  Application interface methods - Microsoft, Java, OCBC  Server tuning  Storage methods and options, strengths and weaknesses  Effective communication proceeds from shared knowledge
  • 34. Self-Study  When you can’t get experience  Be aware of the limits  Well-defined area? (books?)  Can earn credentials?  Area where you can gain significant knowledge with a reasonable effort?  Average experience of competitors is short  Enjoy after doing 10 years?
  • 35. Know your learning style  Left-brain vs. right-brain  Four primary learning styles:  Visual (diagrams)  Auditory (reading)  Tactile (hands-on)  Kinesthetic (body)  Your manager’s learning style
  • 36. People Skills  Few people besides a DBA understand what a DBA does  This makes it hard to communicate your value to the organization  People don’t mind paying for what they value, but resist paying for what they don’t consider valuable  If your manager is a DBA, less people skills are required, but this is career-limiting
  • 37. Respect  Do you respect someone who doesn’t respect you?  The root of much conflict is a mutual lack of respect  Smartness paradox  We are the hero of our own movie, we justify ourselves, never the bad guy  Really care about the people you work with
  • 38. How to avoid problems  Many bad reactions stem from a lack of warning  Emotions play a large role in decision-making  Work hard to warn people ahead of time of what will be coming  Don’t know why? Assume stupidity  A DBA appreciates a heads-up, why shouldn’t others?
  • 39. When you’re wrong, admit it, quickly  Any man worth his salt will stick up for what he believes right, but it takes a slightly better man to acknowledge instantly and without reservation that he is in error - Andrew Jackson
  • 40. Stress  Feeling no control  Constant interruptions  DBA syndrome - responsible for everything, control nothing, nobody understands  You hear yourself saying “nobody appreciates me”  Antidote: study stress control, exercise  visit clients, future changes
  • 41. That Problem Person  Sandwich / Oreo approach by Rachel Carmichael  1-on-1 outside the office  Begin with a complement  Make statements addressing the problem, starting with “I” - “I feel”, “I think”, “what I see is”. Listen  Wrap with team-building “we can work together on this”, “I need your help”  End with a nice complement
  • 42. Simple Explanations  The most valuable people are those who can understand complex issues and explain them simply to others  Makes other feel good about themselves  Albert Einstein, Steve Hawking, Carl Sagan, Richard Feynman
  • 43. Database Audit Form  Periodically audit each database  Checklist for problems  Form is terse, so I included a sheet describing the purpose of each check

Editor's Notes

  1. 35