Tips & Tricks with SQL Server Performance Tuning, SSAS, SSRS, SSIS, and More!

Similar documents
W I S E. SQL Server 2012 Database Engine Technical Update WISE LTD.

Sai Phanindra. Summary. Experience. SQL Server, SQL DBA and MSBI SQL School saiphanindrait@gmail.com

SQL Server 2012 Business Intelligence Boot Camp

SQL Server 2016 New Features!

Would-be system and database administrators. PREREQUISITES: At least 6 months experience with a Windows operating system.

Implementing a Data Warehouse with Microsoft SQL Server 2012

Course Outline: Course: Implementing a Data Warehouse with Microsoft SQL Server 2012 Learning Method: Instructor-led Classroom Learning

MS 10977B Upgrading Your SQL Server Skills to Microsoft SQL Server 2014

Implementing a Data Warehouse with Microsoft SQL Server 2012 (70-463)

SQL Server Administrator Introduction - 3 Days Objectives

What is the BI DBA? Jorge Segarra Sr. DBA Consultant, SQL Server MVP

Course 10977A: Updating Your SQL Server Skills to Microsoft SQL Server 2014

Beginning SQL Server Administration. Apress. Rob Walters Grant Fritchey

Course 10777A: Implementing a Data Warehouse with Microsoft SQL Server 2012

Implementing a Data Warehouse with Microsoft SQL Server 2012

MS SQL Server 2014 New Features and Database Administration

Microsoft SQL Database Administrator Certification

Implementing a Data Warehouse with Microsoft SQL Server 2012 MOC 10777

Implementing a Data Warehouse with Microsoft SQL Server 2012

Upgrading Your SQL Server Skills to Microsoft SQL Server 2014 va

SQL Server 2012 End-to-End Business Intelligence Workshop

COURSE 20463C: IMPLEMENTING A DATA WAREHOUSE WITH MICROSOFT SQL SERVER

Course Outline. Module 1: Introduction to Data Warehousing

Microsoft SQL Server 2008 Bible

SSIS Training: Introduction to SQL Server Integration Services Duration: 3 days

LearnFromGuru Polish your knowledge

Microsoft. Course 20463C: Implementing a Data Warehouse with Microsoft SQL Server

Implement a Data Warehouse with Microsoft SQL Server 20463C; 5 days

MS Design, Optimize and Maintain Database for Microsoft SQL Server 2008

BI on Cloud using SQL Server on IaaS

SQL Azure vs. SQL Server

MS 50511A The Microsoft Business Intelligence 2010 Stack

Designing, Optimizing and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008

Updating Your SQL Server Skills from Microsoft SQL Server 2008 to Microsoft SQL Server 2014

Microsoft SQL Server 2008 Step by Step

Developing Microsoft SQL Server Databases 20464C; 5 Days

$99.95 per user. SQL Server 2008/R2 Database Administration CourseId: 157 Skill level: Run Time: 47+ hours (272 videos)

Implementing a Data Warehouse with Microsoft SQL Server

Updating Your SQL Server Skills to Microsoft SQL Server 2014

SQL Server What s New? Christopher Speer. Technology Solution Specialist (SQL Server, BizTalk Server, Power BI, Azure) v-cspeer@microsoft.

20464C: Developing Microsoft SQL Server Databases

East Asia Network Sdn Bhd

Implementing a Data Warehouse with Microsoft SQL Server

Beta: Implementing a Data Warehouse with Microsoft SQL Server 2012

Updating Your SQL Server Skills to Microsoft SQL Server 2014 (10977) H8B96S

AV-005: Administering and Implementing a Data Warehouse with SQL Server 2014

SQL SERVER BUSINESS INTELLIGENCE (BI) - INTRODUCTION

Updating Your SQL Server Skills to Microsoft SQL Server 2014

Application Development

Implementing a SQL Data Warehouse 2016

Building a BI Solution in the Cloud

Microsoft SQL Server 2012 Administration

Course 20464: Developing Microsoft SQL Server Databases

Implementing a Data Warehouse with Microsoft SQL Server

The Lifecycle of a Reporting Services Report

SQL SERVER TRAINING CURRICULUM

LEARNING SOLUTIONS website milner.com/learning phone

Agenda. SSIS - enterprise ready ETL

Implementing a Data Warehouse with Microsoft SQL Server MOC 20463

COURSE OUTLINE MOC 20463: IMPLEMENTING A DATA WAREHOUSE WITH MICROSOFT SQL SERVER

MS 20467: Designing Business Intelligence Solutions with Microsoft SQL Server 2012

Database Administrator Certificate Capstone Project Evaluation Checklist

MCTS Microsoft SQL Server 2005 Implementation & Maintenance

Implementing a Data Warehouse with Microsoft SQL Server 2012

10977B: Updating Your SQL Server Skills to Microsoft SQL Server 2014

SQL SERVER DEVELOPER Available Features and Tools New Capabilities SQL Services Product Licensing Product Editions Will teach in class room

Outline. MCSE: Data Platform. Course Content. Course 10776C: MCSA: Developing Microsoft SQL Server 2012 Databases 5 Days

Course 10977: Updating Your SQL Server Skills to Microsoft SQL Server 2014

Implementing a Data Warehouse with Microsoft SQL Server

SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1

For Sales Kathy Hall

End to End Microsoft BI with SQL 2008 R2 and SharePoint 2010

Developing Microsoft SQL Server Databases

Administering Microsoft SQL Server 2012 Databases

Microsoft SQL Business Intelligence Boot Camp

Pro SQL Server Reporting Services. Third Edition. mm m. Brian McDonald. Shawn McGehee. Rodney Landrum. Apress*

SQL Server 2008 Administration

Business Benefits From Microsoft SQL Server Business Intelligence Solutions How Can Business Intelligence Help You? PTR Associates Limited

Mind Q Systems Private Limited

Implementing a Microsoft SQL Server 2005 Database

SQL Server Integration Services Design Patterns

W I S E. SQL Server 2008/2008 R2 Advanced DBA Performance & WISE LTD.

The Microsoft Business Intelligence 2010 Stack Course 50511A; 5 Days, Instructor-led

Load Testing Analysis Services Gerhard Brückl

70-467: Designing Business Intelligence Solutions with Microsoft SQL Server

SQL Server Analysis Services Complete Practical & Real-time Training

Administering Microsoft SQL Server Databases

Creating BI solutions with BISM Tabular. Written By: Dan Clark

Upgrading Your SQL Server 2000 Database Administration (DBA) Skills to SQL Server 2008 DBA Skills Course 6317A: Three days; Instructor-Led

Upgrading Your SQL Server Skills to Microsoft SQL Server 2014

Course 20462C: Administering Microsoft SQL Server Databases

Microsoft SQL Server 2012: What to Expect

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques

Developing Microsoft SQL Server Databases (20464) H8N64S

Below are the some of the new features of SQL Server that has been discussed in this course

Transcription:

Tips & Tricks with SQL Server Performance Tuning, SSAS, SSRS, SSIS, and More! By Ike Ellis, MVP @ike_ellis www.ikeellis.com Blog.ikeellis.com http://www.linkedin.com/in/ikeellis

So you want to be great at SQL Server SQL Server Integration Services SQL Server Analysis Services Tabular MultiDimensional SQL Server Reporting Services Excel Data Quality Services Service Broker Performance Tuning Indexing Query Plans Plan Analysis Memory Management SANs Network Clustering Availability Groups PowerShell Master Data Services Architecture Data Mart Design Data Normalization CDC NoSQL/BigData (At least the MS Cloud Offerings) Competitive Knowledge (Oracle, Tablaeu, QlickView, Postgres) ORMs(Entity Framework, Nhibernate, Micros) Installation/Configuration/Upgrading/Service Packing Power BI PowerMap PowerQuery PowerView PowerPivot T-SQL Querying Stored Procedures Functions Windowing Functions Aggregates CLR MDX DAX XMLA BCP SQL Azure Tooling Redgate SSMS SSDT Past Versions Central Management DacPacs/BacPacs Profiler/Extended Events Auditing Security/Encryption Replication SQLCMD

Tips From the SQL Consultant For the YouTube/Reddit/Chive/Cracked/Meme generation Lots of disjointed tips Popular mistakes I see or easy things I think you can take advantage of Between 3 5 minutes each Let s see if we can get through all 20

Tip #1: SSIS for the Color Blind

Tip #2: Five minutes on report formatting = 10x more impressive Spend 10 minutes on design (as opposed to the zero we typically spend) Choose colors wisely 99/100 - developers use the default color palette HTML color picker websites http://www.lavishbootstrap.com MorgueFile http://www.morguefile.com/

Tip #3: The right way to find hardware problems Merging PerfMon and Tracing Get the Batch and Completed Events Only Never trace from the computer you are monitoring Always trace to a file and then load in a table after. *Thanks, Grant! 6

Tip #4: Lifehack: Readable Presentations Take the average age of the people in your audience and divide by 2: That s your font size USE THIS SIZE IF YOUR AUDIENCE IS 200

Tip #5: Check for heaps/clustered indexes SELECT t.[name] FROM sys.indexes i JOIN sys.tables t ON t.object_id = i.object_id WHERE i.type_desc = 'HEAP' ORDER BY t.[name]

Tip #6: The proper way to run an SSIS package

Tip #7: No reason to use ISNULL CONCAT! Messy vs clean code No + symbol needed No ISNULL needed

Tip #8: How to search schema F7 SQLSearch Free Download it! http://www.red-gate.com/products/sql-development/sql-search/ Did I mention it s free? Dependency Tracker Not Free, but still cool select object_name(object_id), definition as name from sys.all_sql_modules where definition like '%cust%' *THANKS HUGO!

Tip #9: Windowing Functions are pretty cool They are worth learning, and have a neat evolution

Tip #10: SSDT Search for options No more digging around in options Just search for everything

Tip #11: Scripting: You have two choices Two Choices Get good at boring repetitive tasks Get good at PowerShell & Scripting Who adds more value to their company or their customers? Who gets paid more?

Tip #12: TempDB Configuration Current thought is 4 logical processors to 1 file Just a good beginning, your mileage may very Start there, then go to 2:1 or 1:1 if necessary Trace Flag 1117 or autogrow off

Tip #13: Prettify! http://extras.sqlservercentral.com/prettifier/prettifier.aspx RedGate PlugIn for SQL Server Management Studio 16

Tip #14: Execute scripts over multiple servers? Super easy!

Tip #15: Life is so easy with a dates table Find the sales numbers for the first Monday of every month of the year T-SQL with no dates table T-SQL with dates table

Tip #16: Try_Cast Avoiding terrible casting errors

Tip #17: Never reinvent the wheel Take SQL# for example Good Documentation Easy Syntax Cheap (and much of it is free)

Tip #18: Save scripts for easy access Lots of repetitive scripts with business logic No reason to write the same queries for the same tables day after day

Tip #19: Enforce Business Rules in the DB Foreign Keys Unique Constraints Check Constraints 22

Tip #20: Log, Log, Log (and beware of subscriptions) select c.name, e.instancename, e.username, e.parameters, e.timestart, e.timeend, e.timedataretrieval, e.timeprocessing, e.timerendering from executionlog e join catalog c on e.reportid = c.itemid Send a Link, or a file on a shared folder that you can audit. Find someway to audit who opened the link or the file in the folder. Try to avoid sending the PDF without a way to audit it.

Ike Ellis http://blog.ikeellis.com http://www.ikeellis.com YouTube http://www.youtube.com/user/ikeellisdata SQL Pass Book Readers http://bookreaders.sqlpass.org/ San Diego Tech Immersion Group Twitter: @ike_ellis 619.922.9801 Email address is just my first name @ikeellis.com