SlideShare uma empresa Scribd logo
1 de 11
Baixar para ler offline
Tweet Tweet Part II – The Best
One-Line Things to Improve
Databases and Apps
Brent Ozar
SQL Server DBA, Microsoft MVP
Microsoft Certified Master of SQL Server
Intro
I recently hosted a Twitter Chat on everything developers would need to know
about designing databases. I was joined by Richard Douglas, a SQL server
expert from Dell Software.
We asked our followers and participants to share their tips and best practices
using the hashtag: #dellsql. The following slideshow content is the 2nd
installment in what we deemed as most useful to our audience. Enjoy!

2

Room for text

Global Marketing
@billinkc says “Embrace Your New Skill Set.”
• Learning SQL is an opportunity to
expand your skill set. Embrace it like
you run to the flavor of the week
language/ORM

3

Room for text

Global Marketing
@onupdatacascade says “Stop and Smell the Roses”
• Check your design against t-sql code
smells.

Remember
• They are different than other
languages.

4

Room for text

Global Marketing
@SQLintheWild says “Clean Up the Clutter”
• Data integrity. A database
that stores garbage is
useless.

Remember
• Apps can enforce integrity
but database should as
well.

5

Room for text

Global Marketing
@Nick Craver says “Keep an Eye Out”
• Actually watch performance, have
some idea of what queries are
running and how they’re performing
• Nick Craver is from StackExchange,
the guys who built Opserver, an
open source monitoring system.
They’re brilliant about watching the
top resource-intensive queries on
the database server and you should
be too.

6

Room for text

Global Marketing
@kbriankelley says “Take the Time to Read”
• Understand how indexes
work. Read a query plan and
work from it.

Remember
• Query execution plans are
road maps for how SQL
Server will process the data
for your query.

7

Room for text

Global Marketing
@mecheph says “Growing, Growing, Gone!”
• You don’t have to know how
to FIX the bottlenecks,
necessarily, but you have to
know what’s going to be the
pain point as you scale.

8

Room for text

Global Marketing
@kbriankelley says “Loop Them In!”
• Include DBAs early on in a
development project and
keep them in the loop for
better results.

Remember
• The best DBAs are partners,
not predators. When you
find a good one, they’re
willing to make you look like
a star.

9

Room for text

Global Marketing
@Nick Craver says “I Get By with a Little Help from My
Friends”
• Be conscious that as you
push a database to the limits,
fewer rules are absolutes,
don’t be afraid to seek
expert advice.

Remember
• As someone who gets
brought in a lot for advice,
I’ve observed that the best
practice guidelines aren’t
usually working for them,
and they need to learn how
to bend the rules.
10

Room for text

Global Marketing
For More Information
• To view the twitter chat, go to: http://bit.ly/HVh4m3
• To learn more about Solutions for SQL Server from Dell:
http://dell.to/1cxeM7Q
• For our Spotlight Freemium Version, go to: http://dell.to/1b2CAjp

11

Room for text

Global Marketing

Mais conteúdo relacionado

Último

Último (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Destaque

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Tweet Tweet Part II – The Best One-Line Things to Improve Databases and Apps

  • 1. Tweet Tweet Part II – The Best One-Line Things to Improve Databases and Apps Brent Ozar SQL Server DBA, Microsoft MVP Microsoft Certified Master of SQL Server
  • 2. Intro I recently hosted a Twitter Chat on everything developers would need to know about designing databases. I was joined by Richard Douglas, a SQL server expert from Dell Software. We asked our followers and participants to share their tips and best practices using the hashtag: #dellsql. The following slideshow content is the 2nd installment in what we deemed as most useful to our audience. Enjoy! 2 Room for text Global Marketing
  • 3. @billinkc says “Embrace Your New Skill Set.” • Learning SQL is an opportunity to expand your skill set. Embrace it like you run to the flavor of the week language/ORM 3 Room for text Global Marketing
  • 4. @onupdatacascade says “Stop and Smell the Roses” • Check your design against t-sql code smells. Remember • They are different than other languages. 4 Room for text Global Marketing
  • 5. @SQLintheWild says “Clean Up the Clutter” • Data integrity. A database that stores garbage is useless. Remember • Apps can enforce integrity but database should as well. 5 Room for text Global Marketing
  • 6. @Nick Craver says “Keep an Eye Out” • Actually watch performance, have some idea of what queries are running and how they’re performing • Nick Craver is from StackExchange, the guys who built Opserver, an open source monitoring system. They’re brilliant about watching the top resource-intensive queries on the database server and you should be too. 6 Room for text Global Marketing
  • 7. @kbriankelley says “Take the Time to Read” • Understand how indexes work. Read a query plan and work from it. Remember • Query execution plans are road maps for how SQL Server will process the data for your query. 7 Room for text Global Marketing
  • 8. @mecheph says “Growing, Growing, Gone!” • You don’t have to know how to FIX the bottlenecks, necessarily, but you have to know what’s going to be the pain point as you scale. 8 Room for text Global Marketing
  • 9. @kbriankelley says “Loop Them In!” • Include DBAs early on in a development project and keep them in the loop for better results. Remember • The best DBAs are partners, not predators. When you find a good one, they’re willing to make you look like a star. 9 Room for text Global Marketing
  • 10. @Nick Craver says “I Get By with a Little Help from My Friends” • Be conscious that as you push a database to the limits, fewer rules are absolutes, don’t be afraid to seek expert advice. Remember • As someone who gets brought in a lot for advice, I’ve observed that the best practice guidelines aren’t usually working for them, and they need to learn how to bend the rules. 10 Room for text Global Marketing
  • 11. For More Information • To view the twitter chat, go to: http://bit.ly/HVh4m3 • To learn more about Solutions for SQL Server from Dell: http://dell.to/1cxeM7Q • For our Spotlight Freemium Version, go to: http://dell.to/1b2CAjp 11 Room for text Global Marketing