SELECT TOP (?) * FROM [50 Things All SQL Server Developers Need To Know] Aaron Bertrand, Senior Consultant
|
|
- Hilda Gibbs
- 6 years ago
- Views:
Transcription
1 SELECT TOP (?) * FROM [50 Things All SQL Server Developers Need To Know] Aaron Bertrand, Senior Consultant SQL Sentry, LLC
2 Thank You Presenting Sponsors Gain insights through familiar tools while balancing monitoring and managing user created content across structured and unstructured sources. Idera is a leading provider of IT performance monitoring solutions. Supporting Sponsors Solutions from Dell help you monitor, manage, protect and improve your SQL Server environment. 2
3 Aaron Bertrand Bio Aaron Bertrand is a senior consultant for SQL Sentry, makers of performance monitoring and event management software for SQL Server, Analysis Services, and Windows. He blogs at sqlperformance.com, has been a Microsoft MVP since 1997, will soon be a four-time SQL Cruiser, and speaks frequently at various community events. You can find his MVP profile at: blogs.sqlsentry.com/author/ AaronBertrand
4 A Preview of My Pre-Con Random selections from these areas: Development environment configuration Database design Transact-SQL Query tuning
5 Development Environment Configuration
6 Development Environment Develop on Standard Edition when possible Prevents surprises in production Develop on case sensitive collation when possible Again, principle of least surprise
7 Development Environment Simulate production Match hardware and data as best as you can Stats-only DBs, undocumented UPDATE STATS commands Simulate slow storage using thumb drives, external drives Simulate slow network (or AGs) with aggressive log shipping Trick optimizer with DBCC SETWEIGHTS/OPTIMIZER_WHATIF
8 Demo : DBCC
9 Database Design
10 Database Design : Sensible Data Types Use sensible data types Date/time data stored as strings or integers DATETIME when DATE/SMALLDATETIME would do Duration stored using TIME data type MAX types for data with known bounds ( , URL) NVARCHAR for postal codes / phone numbers VARCHAR for proper names
11 Database Design : Redundant Data Calculations, Dateparts, Concatenations This is usually premature optimization Disk space is cheap, but I/O and memory not
12 Database Design : Column Stuffing Storing arrays or CSVs in a single tuple Pet names: Max, Roxy, Quigley, Bingo Always think relational Parsing / validation are very cumbersome
13 Database Design : Heaps Pros: Great for bulk loading (create indexes after) Freed space can be reused on delete + subsequent insert Cons: Insert performance can be poor if space is reclaimed Updates lead to forwarding pointers 8-byte RID assigned to every row (RID is file:page:slot)
14 T-SQL Tips
15 T-SQL : Variable Length Types Always specify length / precision / scale For (n)(var)char, decimal/numeric, (var)binary, etc. NVARCHAR = N'bar'; CONVERT(NVARCHAR, N'bar'); GO CREATE PROCEDURE VARCHAR AS GO EXEC = 'flubber'; GO
16 T-SQL : Cursor Options Default cursor options are inefficient and heavy-handed Most cursors don t need these options DECLARE c CURSOR FOR vs. DECLARE c CURSOR LOCAL FAST_FORWARD FOR...
17 T-SQL : Shorthand Avoid shorthand; it is not productivity heaven SELECT DATEPART(y, GETDATE()), DATEPART(w, GETDATE()); GO DATE = GETDATE(); + 1; GO
18 T-SQL : Schema Prefix Always specify schema prefix Being explicit prevents confusion and future-proofs code Without schema, object resolution works harder Can yield multiple query plans for the same query
19 Demo : T-SQL
20 Query Tuning
21 Query Tuning : Red Flags In an execution plan, certain things stand out: Scans (especially large scans that yield few rows) High logical reads Missing index warnings Key / RID Lookups Sort operations Distinct Implicit conversions Spills / spools Unbalanced parallel thread distribution Severe mismatch between estimated and actual rows
22 Query Tuning : Understanding the Optimizer Many trace flags to help understand optimizer s decisions 2363 (2014+) shows stats used and selectivity 2372 shows memory used during optimization phases 2373 (2012+) shows optimization rules and memory 8666 adds info to showplan XML, such as stat thresholds 8675 shows optimization stages and timing
23 Query Tuning : Coercing the Optimizer Many trace flags to bend the optimizer to your wishes 8649 encourages parallel plans 8687 discourages parallel plans 8671/8780/8788/2301 spend more time finding optimal plan 4136 OPTION (OPTIMIZE FOR UNKNOWN) to all queries 4137 uses lowest selectivity with multiple AND predicates 4138 turns off row goals with TOP / FAST <n> / IN / EXISTS
24 Query Tuning : Parameter Sniffing Several ways to thwart parameter sniffing Local variables OPTIMIZE FOR Dynamic SQL OPTION (RECOMPILE)
25 Demo : Parameter Sniffing
26 Like What You ve Heard? Aaron will be presenting at PASS Summit 2015! Preconference Session: 50 Things All SQL Server Developers Need to Know General Session: SQL Sentry's Tools for blogs.sqlsentry.com/author/ AaronBertrand Use discount code 24HOP15 to save $200!
27
Advanced Scripting Using SSIS Script Tasks and Components
Advanced Scripting Using SSIS Script Tasks and Components John Welch, VP of Software Thank You Presenting Sponsors Gain insights through familiar tools while balancing monitoring and managing user created
More informationTEN QUERY TUNING TECHNIQUES
TEN QUERY TUNING TECHNIQUES Every SQL Programmer Should Know Kevin Kline Director of Engineering Services at SentryOne Microsoft MVP since 2003 Facebook, LinkedIn, Twitter at KEKLINE kkline@sentryone.com
More informationSQL Server Internals: The Practical Angle Sneak Peek. Dmitri Korotkevitch Moderated by Roberto Fonseca
SQL Server Internals: The Practical Angle Sneak Peek Dmitri Korotkevitch Moderated by Roberto Fonseca Technical Assistance Maximize your screen with the zoom button on the top of the presentation window
More informationIndex. Symbol function, 391
Index Symbol @@error function, 391 A ABP. See adjacent broker protocol (ABP) ACID (Atomicity, Consistency, Isolation, and Durability), 361 adjacent broker protocol (ABP) certificate authentication, 453
More informationSQLSaturday Sioux Falls, SD Hosted by (605) SQL
SQLSaturday 2017 Sioux Falls, SD Hosted by (605) SQL Please be sure to visit the sponsors during breaks and enter their end-of-day raffles! Remember to complete session surveys! You will be emailed a link
More informationBuilding Better. SQL Server Databases
Building Better SQL Server Databases Who is this guy? Eric Cobb SQL Server Database Administrator MCSE: Data Platform MCSE: Data Management and Analytics 1999-2013: Webmaster, Programmer, Developer 2014+:
More informationIntroduction to Azure DocumentDB. Jeff Renz, BI Architect RevGen Partners
Introduction to Azure DocumentDB Jeff Renz, BI Architect RevGen Partners Thank You Presenting Sponsors Gain insights through familiar tools while balancing monitoring and managing user created content
More informationBuilding Better. SQL Server Databases
Building Better SQL Server Databases Who is this guy? Eric Cobb Started in IT in 1999 as a "webmaster Developer for 14 years Microsoft Certified Solutions Expert (MCSE) Data Platform Data Management and
More informationColdFusion Summit 2016
ColdFusion Summit 2016 Building Better SQL Server Databases Who is this guy? Eric Cobb - Started in IT in 1999 as a "webmaster - Developer for 14 years - Microsoft Certified Solutions Expert (MCSE) - Data
More informationLocking, Blocking, Versions: Concurrency for Maximum Performance. Kalen Delaney, Moderated By: Daniel Janik
Locking, Blocking, Versions: Concurrency for Maximum Performance Kalen Delaney, www.sqlserverinternals.com Moderated By: Daniel Janik Thank You microsoft.com idera.com attunity.com Empower users with new
More informationIdentifying and Fixing Parameter Sniffing
Identifying and Fixing Parameter Sniffing Brent Ozar www.brentozar.com sp_blitz sp_blitzfirst email newsletter videos SQL Critical Care 2017 Brent Ozar Unlimited. All rights reserved. 1 This is genuinely
More informationEternal Story on Temporary Objects
Eternal Story on Temporary Objects Dmitri V. Korotkevitch http://aboutsqlserver.com About Me 14+ years of experience working with Microsoft SQL Server Microsoft SQL Server MVP Microsoft Certified Master
More informationMonitoring Page Splits in SQL Server
Monitoring Page Splits in SQL Server Guy Glantser, CEO, Madeira Data Solutions Moderated By: Jay O'Donnell Presenting Sponsors Technical Assistance If you require assistance during the session, type your
More informationThe dangerous Beauty of Bookmark Lookups
The dangerous Beauty of Bookmark Lookups Klaus Aschenbrenner Microsoft Certified Master SQL Server 2008 Twitter: @Aschenbrenner About me CEO & Founder SQLpassion International Speaker, Blogger, Author
More informationParameter Sniffing Problem with Stored Procedures. Milos Radivojevic
Parameter Sniffing Problem with Stored Procedures Milos Radivojevic About Me DI Milos Radivojevic, Vienna, Austria Data Platform Architect Database Developer MCTS SQL Server Development Contact: MRadivojevic@SolidQ.com
More informationTurbo-Charged Transaction Logs. David Maxwell
Turbo-Charged Transaction Logs David Maxwell Thank You Presenting Sponsors Gain insights through familiar tools while balancing monitoring and managing user created content across structured and unstructured
More informationJet Data Manager 2014 SR2 Product Enhancements
Jet Data Manager 2014 SR2 Product Enhancements Table of Contents Overview of New Features... 3 New Features in Jet Data Manager 2014 SR2... 3 Improved Features in Jet Data Manager 2014 SR2... 5 New Features
More informationNatural Born Killers, performance issues to avoid
Natural Born Killers, performance issues to avoid Richard Douglas http://sql.richarddouglas.co.uk @SQLRich Natural Born Killer http://www.flickr.com/photos/merille/4747615138/sizes/z/in/photostream/ 2
More informationThe Ambiguous Case of Off-Row Storage in In- Memory OLTP. Dmitri Korotkevitch, aboutsqlserver.com Moderated By: Sander Stad
The Ambiguous Case of Off-Row Storage in In- Memory OLTP Dmitri Korotkevitch, aboutsqlserver.com Moderated By: Sander Stad Technical Assistance If you require assistance during the session, type your inquiry
More informationSQL Coding Guidelines
SQL Coding Guidelines 1. Always specify SET NOCOUNT ON at the top of the stored procedure, this command suppresses the result set count information thereby saving some amount of time spent by SQL Server.
More informationIT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including:
IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including: 1. IT Cost Containment 84 topics 2. Cloud Computing Readiness 225
More informationCourse Outline. SQL Server Performance & Tuning For Developers. Course Description: Pre-requisites: Course Content: Performance & Tuning.
SQL Server Performance & Tuning For Developers Course Description: The objective of this course is to provide senior database analysts and developers with a good understanding of SQL Server Architecture
More informationDesigning dashboards for performance. Reference deck
Designing dashboards for performance Reference deck Basic principles 1. Everything in moderation 2. If it isn t fast in database, it won t be fast in Tableau 3. If it isn t fast in desktop, it won t be
More informationPERFORMANCE TUNING SQL SERVER ON CRAPPY HARDWARE 3/1/2019 1
PERFORMANCE TUNING SQL SERVER ON CRAPPY HARDWARE 3/1/2019 1 FEEDBACK FORMS PLEASE FILL OUT AND PASS TO YOUR HELPER BEFORE YOU LEAVE THE SESSION MONICA RATHBUN Consultant Denny Cherry & Associates Consulting
More informationQuery Performance Tuning: Start to Finish
Query Performance Tuning: Start to Finish Grant Fritchey AD-399-P November 6-9, Seattle, WA Grant Fritchey Product Evangelist for Red Gate Software Email: grant@scarydba.com Twitter: @gfritchey Blogs:
More informationSTORING DATA: DISK AND FILES
STORING DATA: DISK AND FILES CS 564- Fall 2016 ACKs: Dan Suciu, Jignesh Patel, AnHai Doan MANAGING DISK SPACE The disk space is organized into files Files are made up of pages s contain records 2 FILE
More informationDESIGNING FOR PERFORMANCE SERIES. Smokin Fast Queries Query Optimization
DESIGNING FOR PERFORMANCE SERIES Smokin Fast Queries Query Optimization Jennifer Smith, MCSE Agenda Statistics Execution plans Cached plans/recompilation Indexing Query writing tips New performance features
More informationAdvanced Oracle SQL Tuning v3.0 by Tanel Poder
Advanced Oracle SQL Tuning v3.0 by Tanel Poder /seminar Training overview This training session is entirely about making Oracle SQL execution run faster and more efficiently, understanding the root causes
More informationPerformance Troubleshooting Made Easier
Performance Troubleshooting Made Easier New Features in Management Studio Taiob Ali Work 11 years as DBA MCSE Data Management and Analytics 10 years in Merchant Marine Outside Work Running One 26.2 and
More information10 Things That Every DBA Should Know!
10 Things That Every DBA Should Know! John Morehouse Database Architect Farm Credit Mid- America, Louisville, Kentucky john@jmorehouse.com @SqlRUs http://linkedin.com/in/sqlrus http://www.sqlrus.com Agenda
More informationGet the Skinny on Minimally Logged Operations
Get the Skinny on Minimally Logged Operations Andrew J. Kelly akelly@solidq.com Who Am I? Mentor with SolidQ SQL Server MVP since 2001 Contributing editor & author for SQL Server Pro Magazine Over 20 years
More informationSQL Server Hardware By Glenn Berry
SQL Server Hardware By Glenn Berry If you are looking for the book SQL Server Hardware by Glenn Berry in pdf form, then you have come on to the faithful site. We present the utter variant of this ebook
More informationTriangle SQL Server User Group Adaptive Query Processing with Azure SQL DB and SQL Server 2017
Triangle SQL Server User Group Adaptive Query Processing with Azure SQL DB and SQL Server 2017 Joe Sack, Principal Program Manager, Microsoft Joe.Sack@Microsoft.com Adaptability Adapt based on customer
More informationDatabasesystemer, forår 2005 IT Universitetet i København. Forelæsning 8: Database effektivitet. 31. marts Forelæser: Rasmus Pagh
Databasesystemer, forår 2005 IT Universitetet i København Forelæsning 8: Database effektivitet. 31. marts 2005 Forelæser: Rasmus Pagh Today s lecture Database efficiency Indexing Schema tuning 1 Database
More informationSepand Gojgini. ColumnStore Index Primer
Sepand Gojgini ColumnStore Index Primer SQLSaturday Sponsors! Titanium & Global Partner Gold Silver Bronze Without the generosity of these sponsors, this event would not be possible! Please, stop by the
More informationMySQL Performance Optimization and Troubleshooting with PMM. Peter Zaitsev, CEO, Percona
MySQL Performance Optimization and Troubleshooting with PMM Peter Zaitsev, CEO, Percona In the Presentation Practical approach to deal with some of the common MySQL Issues 2 Assumptions You re looking
More informationEvery Byte Counts. Why Datatype Choices Matter. Andy Yun, Database Architect/Developer
Every Byte Counts Why Datatype Choices Matter Andy Yun, Database Architect/Developer Thank You Presenting Sponsors Gain insights through familiar tools while balancing monitoring and managing user created
More informationSomething to think about. Problems. Purpose. Vocabulary. Query Evaluation Techniques for large DB. Part 1. Fact:
Query Evaluation Techniques for large DB Part 1 Fact: While data base management systems are standard tools in business data processing they are slowly being introduced to all the other emerging data base
More informationAdvanced SQL Tribal Data Workshop Joe Nowinski
Advanced SQL 2018 Tribal Data Workshop Joe Nowinski The Plan Live demo 1:00 PM 3:30 PM Follow along on GoToMeeting Optional practice session 3:45 PM 5:00 PM Laptops available What is SQL? Structured Query
More informationMCSE Data Management and Analytics. A Success Guide to Prepare- Developing Microsoft SQL Server Databases. edusum.com
70-464 MCSE Data Management and Analytics A Success Guide to Prepare- Developing Microsoft SQL Server Databases edusum.com Table of Contents Introduction to 70-464 Exam on Developing Microsoft SQL Server
More informationPerformance Optimization for Informatica Data Services ( Hotfix 3)
Performance Optimization for Informatica Data Services (9.5.0-9.6.1 Hotfix 3) 1993-2015 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic,
More informationDATABASE PERFORMANCE AND INDEXES. CS121: Relational Databases Fall 2017 Lecture 11
DATABASE PERFORMANCE AND INDEXES CS121: Relational Databases Fall 2017 Lecture 11 Database Performance 2 Many situations where query performance needs to be improved e.g. as data size grows, query performance
More information<Insert Picture Here> Looking at Performance - What s new in MySQL Workbench 6.2
Looking at Performance - What s new in MySQL Workbench 6.2 Mario Beck MySQL Sales Consulting Manager EMEA The following is intended to outline our general product direction. It is
More informationBuild ETL efficiently (10x) with Minimal Logging
Build ETL efficiently (10x) with Minimal Logging Simon Cho Blog : Simonsql.com Simon@simonsql.com SQL Saturday Chicago 2017 - Sponsors Thank you Our sponsors This Session Designed for 3 hours including
More informationIntroduction to Statistics in SQL Server. Andy Warren
Introduction to Statistics in SQL Server Andy Warren www.sqlandy.com @sqlandy www.linkedin.com/in/sqlandy Why Do We Need Statistics? We can t build a good plan to get the rows we need without having an
More informationWhat is a Page Split. Fill Factor. Example Code Showing Page Splits
What is a Page Split Tables, and indexes are organized in SQL Server into 8K chunks called pages. If you have rows that are 100k each, you can fit about 80 of those rows into a given page. If you update
More informationTips and Tricks Working with Scribe Trace Files
Tips and Tricks Working with Scribe Trace Files This document gives some details about how Scribe tracing works, how to enable tracing, and how to read trace files. It also includes some tips and tricks
More informationTables. Tables. Physical Organization: SQL Server Partitions
Tables Physical Organization: SQL Server 2005 Tables and indexes are stored as a collection of 8 KB pages A table is divided in one or more partitions Each partition contains data rows in either a heap
More informationHeap Management. Heap Allocation
Heap Management Heap Allocation A very flexible storage allocation mechanism is heap allocation. Any number of data objects can be allocated and freed in a memory pool, called a heap. Heap allocation is
More informationFour New Table Level Security Features of SQL Server Karen Lopez, Data Evangelist & Architect
Four New Table Level Security Features of SQL Server 2016 Karen Lopez, Data Evangelist & Architect Karen López Data Evangelist Karen was born this way: loving data. She wants you to love your data, too,,
More informationSwimming in the Data Lake. Presented by Warner Chaves Moderated by Sander Stad
Swimming in the Data Lake Presented by Warner Chaves Moderated by Sander Stad Thank You microsoft.com hortonworks.com aws.amazon.com red-gate.com Empower users with new insights through familiar tools
More informationAngela Henry. Data Types Do Matter
Angela Henry Data Types Do Matter Angela Henry Angela is a DBA/BI Developer, living in High Point, NC and loves what she does. She's worked with all versions of SQL Server & worn all the hats that come
More informationPhysical Organization: SQL Server 2005
Physical Organization: SQL Server 2005 Tables Tables and indexes are stored as a collection of 8 KB pages A table is divided in one or more partitions Each partition contains data rows in either a heap
More informationTempDB how it works? Dubi Lebel Dubi Or Not To Be
TempDB how it works? Dubi Lebel Dubi Or Not To Be Dubi.Lebel@gmail.com How this presentation start? Sizing Application Application databases TempDB size & IOPS? What we know Only one TempDB per instance.
More informationIndex Creation Performance during Data Loading
Technical Note 6: Index Creation Performance during Data Loading Technical Note 6 Index creation performance during Data Load Last Modified: October 2, 2003 Version 1 Area: Data Loading Siebel Releases:
More informationQuery Optimization In 15 Demos Your mom is a nice lady. Erik Darling
Query Optimization In 15 Demos Your mom is a nice lady. Erik Darling About me Consultant at Brent Ozar Unlimited Contributor: firstresponderkit.org Before that DBA: e-discovery Developer: market research
More informationMySQL Performance Optimization and Troubleshooting with PMM. Peter Zaitsev, CEO, Percona Percona Technical Webinars 9 May 2018
MySQL Performance Optimization and Troubleshooting with PMM Peter Zaitsev, CEO, Percona Percona Technical Webinars 9 May 2018 Few words about Percona Monitoring and Management (PMM) 100% Free, Open Source
More informationWhat s a database system? Review of Basic Database Concepts. Entity-relationship (E/R) diagram. Two important questions. Physical data independence
What s a database system? Review of Basic Database Concepts CPS 296.1 Topics in Database Systems According to Oxford Dictionary Database: an organized body of related information Database system, DataBase
More informationActian Hybrid Data Conference 2017 London Actian Corporation
Actian Hybrid Data Conference 2017 London 1 2017 Actian Corporation Disclaimer This document is for informational purposes only and is subject to change at any time without notice. The information in this
More informationQuery Store What s it all about?
Query Store What s it all about? Andrew J. Kelly Sr. Technology Subject Matter Specialist B3 Group Inc. #ITDEVCONNECTIONS ITDEVCONNECTIONS.COM Andrew J. Kelly Andrew J. Kelly is a Sr. Technology Subject
More informationModule 8: Implementing Stored Procedures
Module 8: Implementing Stored Procedures Table of Contents Module Overview 8-1 Lesson 1: Implementing Stored Procedures 8-2 Lesson 2: Creating Parameterized Stored Procedures 8-10 Lesson 3: Working With
More information6232B: Implementing a Microsoft SQL Server 2008 R2 Database
6232B: Implementing a Microsoft SQL Server 2008 R2 Database Course Overview This instructor-led course is intended for Microsoft SQL Server database developers who are responsible for implementing a database
More informationExadata X3 in action: Measuring Smart Scan efficiency with AWR. Franck Pachot Senior Consultant
Exadata X3 in action: Measuring Smart Scan efficiency with AWR Franck Pachot Senior Consultant 16 March 2013 1 Exadata X3 in action: Measuring Smart Scan efficiency with AWR Exadata comes with new statistics
More informationIt Depends. Database administration for developers
It Depends Database administration for developers About Me Email: maggiepint@gmail.com https://www.tempworks.com www.maggiepint.com Slide Share: http://www.slideshare.net/ MaggiePint Stuff your DBA Does!
More informationThe University of British Columbia Department of Computer Science. CPSC 404: Tutorial/Assignment Topic: SQL Server Query Plans
The University of British Columbia Department of Computer Science CPSC 404: Tutorial/Assignment Topic: SQL Server Query Plans Last update: Nov. 15, 2015 @ 21:30 Due Date: Nov. 30, 2015, 18:00 Late Penalty:
More informationA Crash-Course in Biml. Tim Mitchell, Principal Data Architect, Tyleris Data Solutions Moderated By: Cathrine Wilhelmsen
A Crash-Course in Biml Tim Mitchell, Principal Data Architect, Tyleris Data Solutions Moderated By: Cathrine Wilhelmsen Thank You microsoft.com idera.com attunity.com Empower users with new insights through
More informationOracle Performance Tuning. Overview of performance tuning strategies
Oracle Performance Tuning Overview of performance tuning strategies Allan Young June 2008 What is tuning? Group of activities used to optimize and homogenize the performance of a database Maximize use
More informationPhysical Organization: SQL Server. Leggere Cap 7 Riguzzi et al. Sistemi Informativi
Physical Organization: SQL Server Leggere Cap 7 Riguzzi et al. Sistemi Informativi Tables Tables and indexes are stored as a collection of 8 KB pages A table is divided in one or more partitions Each partition
More informationStorage and Indexing, Part I
Storage and Indexing, Part I Computer Science E-66 Harvard University David G. Sullivan, Ph.D. Accessing the Disk Data is arranged on disk in units called blocks. typically fairly large (e.g., 4K or 8K)
More informationAssessment Report. Prepared by allsql Ltd. for Demo (Demostración S.A.) Tue Oct 6 23:48:56 UTC 2015
2015 Assessment Report Prepared by for Demo (Demostración S.A.) Tue Oct 6 23:48:56 UTC 2015 SQL Source Code File/s: codigo_fuente.sql Analysis Time: 4 minutes and 54 seconds Total Pages:52 Table of Contents
More informationDisks & Files. Yanlei Diao UMass Amherst. Slides Courtesy of R. Ramakrishnan and J. Gehrke
Disks & Files Yanlei Diao UMass Amherst Slides Courtesy of R. Ramakrishnan and J. Gehrke DBMS Architecture Query Parser Query Rewriter Query Optimizer Query Executor Lock Manager for Concurrency Access
More informationPerformance Tuning. Chapter 25
Chapter 25 Performance Tuning This chapter covers the following topics: Overview, 618 Identifying the Performance Bottleneck, 619 Optimizing the Target Database, 624 Optimizing the Source Database, 627
More informationR Language for the SQL Server DBA
R Language for the SQL Server DBA Beginning with R Ing. Eduardo Castro, PhD, Principal Data Analyst Architect, LP Consulting Moderated By: Jose Rolando Guay Paz Thank You microsoft.com idera.com attunity.com
More informationUnit 3 Disk Scheduling, Records, Files, Metadata
Unit 3 Disk Scheduling, Records, Files, Metadata Based on Ramakrishnan & Gehrke (text) : Sections 9.3-9.3.2 & 9.5-9.7.2 (pages 316-318 and 324-333); Sections 8.2-8.2.2 (pages 274-278); Section 12.1 (pages
More informationWhy Choose Percona Server For MySQL? Tyler Duzan
Why Choose Percona Server For MySQL? Tyler Duzan Product Manager Who Am I? My name is Tyler Duzan Formerly an operations engineer for more than 12 years focused on security and automation Now a Product
More informationOracle. Exam Questions 1Z Oracle 11g: Advanced PL/SQL. Version:Demo. 1Z0-146 Exam Questions Demo https://www.passcertsure.
Oracle Exam Questions 1Z0-146 Oracle 11g: Advanced PL/SQL Version:Demo 1. Identify two strategies against SQL injection. (Choose two.) A. Using parameterized queries with bind arguments. B. Use subprograms
More information$99.95 per user. SQL Server 2008 Integration Services CourseId: 158 Skill level: Run Time: 42+ hours (210 videos)
Course Description Our is a comprehensive A-Z course that covers exactly what you want in an SSIS course: data flow, data flow, and more data flow. You will learn about transformations, common design patterns
More informationAvailability and Performance for Tier1 applications
Assaf Fraenkel Senior Architect (MCA+MCM SQL 2008) MCS Israel Availability and Performance for Tier1 applications Agenda and Takeaways Agenda: Introduce the new SQL Server High Availability and Disaster
More informationCOGNOS DYNAMIC CUBES: SET TO RETIRE TRANSFORMER? Update: Pros & Cons
COGNOS DYNAMIC CUBES: SET TO RETIRE TRANSFORMER? 10.2.2 Update: Pros & Cons GoToWebinar Control Panel Submit questions here Click arrow to restore full control panel Copyright 2015 Senturus, Inc. All Rights
More informationColumnstore Indexes In SQL Server 2016 #Columnstorerocks!!
Columnstore Indexes In SQL Server 2016 #Columnstorerocks!! Nombre: Gonzalo Bissio Experiencia: Trabajo con SQL desde la versión 2000 MCSA: 2012-2014-2016 Database Administrator MCSE: Data Platform Correo
More informationMonitoring & Tuning Azure SQL Database
Monitoring & Tuning Azure SQL Database Dustin Ryan, Data Platform Solution Architect, Microsoft Moderated By: Paresh Motiwala Presenting Sponsors Thank You to Our Presenting Sponsors Empower users with
More informationBEGINNING T-SQL. Jen McCown MidnightSQL Consulting, LLC MinionWare, LLC
BEGINNING T-SQL Jen McCown MidnightSQL Consulting, LLC MinionWare, LLC FIRST: GET READY 1. What to model? 2. What is T-SQL? 3. Books Online (BOL) 4. Transactions WHAT TO MODEL? What kind of data should
More informationOral Questions and Answers (DBMS LAB) Questions & Answers- DBMS
Questions & Answers- DBMS https://career.guru99.com/top-50-database-interview-questions/ 1) Define Database. A prearranged collection of figures known as data is called database. 2) What is DBMS? Database
More informationFUNCTIONALLY OBLIVIOUS (AND SUCCINCT) Edward Kmett
FUNCTIONALLY OBLIVIOUS (AND SUCCINCT) Edward Kmett BUILDING BETTER TOOLS Cache-Oblivious Algorithms Succinct Data Structures RAM MODEL Almost everything you do in Haskell assumes this model Good for ADTs,
More informationIndex. B backing up 76 7
A Access, other DBMSs and 9 Action queries 121, 125 defined 125 address book 16, 34 age calculations 60 answer table 36 editing data in 147 8 field names 294 multi-table queries 294 queries and 155 queries
More informationSQL Tuning Reading Recent Data Fast
SQL Tuning Reading Recent Data Fast Dan Tow singingsql.com Introduction Time is the key to SQL tuning, in two respects: Query execution time is the key measure of a tuned query, the only measure that matters
More informationSoftware Code Performance Review Saple
Software Code Performance Review Saple Table of Contents Executive Summary 2 Scope of Review 2 Recommendations for Short Term Fixes 2 Page/Scripting Issues 2 Missing Response Buffering 2 Not Using Option
More informationBest ETL Design Practices. Helpful coding insights in SAS DI studio. Techniques and implementation using the Key transformations in SAS DI studio.
SESUG Paper SD-185-2017 Guide to ETL Best Practices in SAS Data Integration Studio Sai S Potluri, Synectics for Management Decisions; Ananth Numburi, Synectics for Management Decisions; ABSTRACT This Paper
More informationA Choice Performance Tuning
Jason Wong, SQL Saturday 514, May 14th, 2016 / Thank You Sponsors! Visit the Sponsor tables to enter their end of day raffles. Turn in your completed Event Evaluation form at the end of the day in the
More informationDatabase Systems II. Record Organization
Database Systems II Record Organization CMPT 454, Simon Fraser University, Fall 2009, Martin Ester 75 Introduction We have introduced secondary storage devices, in particular disks. Disks use blocks as
More informationExam Questions
Exam Questions 70-464 Developing Microsoft SQL Server 2012 Databases https://www.2passeasy.com/dumps/70-464/ 1. You create a view by using the following code: Several months after you create the view,
More informationIBM Security QRadar Deployment Intelligence app IBM
IBM Security QRadar Deployment Intelligence app IBM ii IBM Security QRadar Deployment Intelligence app Contents QRadar Deployment Intelligence app.. 1 Installing the QRadar Deployment Intelligence app.
More informationA Closer Look at Distributed Availability Groups. Allan Hirt, Managing Partner, SQLHA LLC Moderated By: George Carlisle
A Closer Look at Distributed Availability Groups Allan Hirt, Managing Partner, SQLHA LLC Moderated By: George Carlisle Thank You microsoft.com idera.com attunity.com Empower users with new insights through
More information7. Query Processing and Optimization
7. Query Processing and Optimization Processing a Query 103 Indexing for Performance Simple (individual) index B + -tree index Matching index scan vs nonmatching index scan Unique index one entry and one
More informationConstraints. Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers. John Edgar 2
CMPT 354 Constraints Primary Key Foreign Key General table constraints Domain constraints Assertions Triggers John Edgar 2 firstname type balance city customerid lastname accnumber rate branchname phone
More informationUnit 10 Databases. Computer Concepts Unit Contents. 10 Operational and Analytical Databases. 10 Section A: Database Basics
Unit 10 Databases Computer Concepts 2016 ENHANCED EDITION 10 Unit Contents Section A: Database Basics Section B: Database Tools Section C: Database Design Section D: SQL Section E: Big Data Unit 10: Databases
More informationDeallocation Mechanisms. User-controlled Deallocation. Automatic Garbage Collection
Deallocation Mechanisms User-controlled Deallocation Allocating heap space is fairly easy. But how do we deallocate heap memory no longer in use? Sometimes we may never need to deallocate! If heaps objects
More informationMany-to-Many One-to-One Limiting Values Summary
page 1 Meet the expert: Andy Baron is a nationally recognized industry expert specializing in Visual Basic, Visual C#, ASP.NET, ADO.NET, SQL Server, and SQL Server Business Intelligence. He is an experienced
More informationPerformance: Don t Blame the Database!
Performance: Don t Blame the Database! Performance: Es ist nicht immer die Datenbank schuld! Sonja Chèvre, Dynatrace @SonjaChevre Our Sponsors Why you should care about performance https://blog.kissmetrics.com/loading-time/?wide=1
More informationSQL Operations Studio - a new multi-platform tool for SQL Server database development, administration, and monitoring
SQL Operations Studio - a new multi-platform tool for SQL Server database development, administration, and monitoring Marek Masko, Principal Database Analyst, Sabre Moderated By: Philip Seamark Presenting
More information