PowerShell & PowerBi Reducing DBAs Context Switching

Slides:



Advertisements
Similar presentations
How to Perform a SQL Server Health Check
Advertisements

Burt King We will cover: Essentials --No command line needed here (mott) What is SQL Server How does it come to life What are the.
Help! My table is getting too big! How to divide and conquer SQL Relay 2014.
Automating Common DBA Tasks
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
ADAPTING YOUR ETL SOLUTION TO USE SSIS 2012 Presentation by Devin Knight
Rob Sewell Making PowerShell Useful Real-Life Examples of Powershell in Action Slides available here -
Using Power BI with my DBA Database
ROLLING DATABASE SNAPSHOTS David Cobb Daveslog.com.
Customer pulse Why Stretch? How Stretch works? Core Stretch scenarios Demo QA.
Real-time Performance Monitoring for SQL Server and Dynamics AX
Microsoft PowerBI – Advanced Solutions with Microsoft Excel and PowerBI Presented by: Phillip Guglielmi, CPA | Senior BI Consultant and Solutions Architect.
On the Development of an Equipment Data Model
Smarter Technology for Better Business
Automated Enterprise-wide SQL Server Auditing
PASS Community News November 2016
Monitoring Data Changes with Change Data Capture
Cisco Data Virtualization
<Enter course name here>
Solving the Hard Problems
Documentation – you know you love it
Helpdesk to DBA in 60 Tips & Tricks for the new DBA
Turning Your Checklists
PASS Community News December 2016
Where I am at: Swagatika Sarangi MDM Lead PASS Summit SQL Saturdays
Exploring Your SQL Server Databases with T-SQL
Administrating SQL Server with PowerShell dbatools
DevOps Database Administration
Solving ETL Bottlenecks with SSIS Scale Out
Transactional Replication A Deeper Dive Drew Furgiuele, Senior DBA IGS
Purpose, Pitfalls and Performance Implications
Reliable, Repeatable, Configurable & Automated Validation with
Administrating SQL Server with PowerShell dbatools
Making PowerShell Useful
5 WAYS TO BYPASS *OR ENSURE* SQL SERVER SECURITY MATT MARTIN
Making PowerShell Useful
Migrating your SQL Server Instance
Use PowerShell & dbatools to Manage your SQL Server Environment
dbatools - PowerShell and SQL Server Working Together
Purpose, Pitfalls and Performance Implications
SQL Saturday #662 - Sioux Falls, SD Hosted by (605) SQL
Delivering complex script projects
SQL Server Agent The Life Preserver for the Drowning DBA Lance Tidwell.
Reliable, Repeatable, Configurable & Automated Validation with
PowerShell & PowerBi Reducing DBAs Context Switching
Making PowerShell Useful
PowerShell & PowerBi Reducing DBAs Context Switching
Making PowerShell Useful
SQLSERVER:\ Using the SQL Server Provider with PowerShell
Automating the install and upgrade of SQL scripts
PowerShell & PowerBi Reducing DBAs Context Switching
Commands for SQL Server
The 6 P’s Powershell Profile Prepares Perfect Production Purlieu
PowerShell for the DBA: Why I love my inner pig-dog
The 6 P’s Powershell Profile Prepares Perfect Production Purlieu
Start Your Own Consulting Practice
The 6 P’s Powershell Profile Prepares Perfect Production Purlieu
Power BI – Exploring New Frontiers
Administrating SQL Server with PowerShell dbatools
Test and Verify Instances with DBAchecks
Power BI with Analysis Services
Summit Nashville /3/2019 1:48 AM
Reliable, Repeatable, Configurable & Automated Validation with
Use PowerShell & dbatools to Manage your SQL Server Environment
Administrating SQL Server with PowerShell dbatools
Azure Data Factory V2: SSIS in the Cloud or Not?
This is the slide shown before the presentation starts
Automation in a hybrid world
Implementing ETL solution for Incremental Data Load in Microsoft SQL Server Ganesh Lohani SR. Data Analyst Lockheed Martin
Presentation transcript:

PowerShell & PowerBi Reducing DBAs Context Switching Rob Sewell @sqldbawithbeard

Who is this Beardy Bloke then? An Enterprise SQL DBA who loves PowerShell Automation Azure and SQL Member of SQL South West User Group in Exeter Member of SQL Saturday Exeter Committee SQL Community Volunteer at various events Speaker at User Groups and other events Blogger and Twitterer No ‘A’ in my Twitter handle  This Presentation and Scripts can be found here http://1drv.ms/1iaQtmR http://sqldbawithabeard.com Rob Sewell @sqldbawithbeard

What Problem are we Solving? Rob Sewell @sqldbawithbeard

Questions Rob Sewell @sqldbawithbeard Managers PMs Developers Compliance Auditors DBAs Change Managers How Many? Where Are? What Is? Which? When? Compliance want to know how many Server 2003 or SQL 2005 or XPCMDShellEnabled Project Managers and the project team want to know which servers and databases for their systems, how big, what settings etc Systems Team, Change Managers want to know which servers and which clients are in which Data Centre for maintenance work (UPS replacement for example) Rob Sewell @sqldbawithbeard

Replace The Old Ways Rob Sewell @sqldbawithbeard It’s time to move on from the Old Ways of doing things. I loved my Excel sheet with RAG for every agent job generated every day but in this modern world do we need to be emailing or saving files on shares to get our information Rob Sewell @sqldbawithbeard

Instant Views For The DBA Team We – The DBA Team want good visualisations of exactly the information that we want to see including averages to see our improvement. Here we see a rolling 30 day average for failed jobs (Blue) Rolling 7 day average (green) Failed Jobs (Red) and a gauge showing the failed jobs today against the average But also we can show the number of SQL 2000 instances going down or other goals or objectives that we have a team have been set Rob Sewell @sqldbawithbeard

Help Yourself Rob Sewell @sqldbawithbeard Self-Service – Enable the Requestors to get what they want when they want Reduce the load on the DBA Team Rob Sewell @sqldbawithbeard

SOLUTION REQUIREMENTS Local Knowledge Rob Sewell @sqldbawithbeard What do we need to build our solution to this problem? Powershell – to gather our information SQL Server – to store the information and ensure that it is kept available and backed up (and in control of the DBA Team Power Bi – to create the reports and view/share them Local Knowledge – Whether you keep your instances in a CMS or in a text file or on the back of a napkin you will need to know where they are Rob Sewell @sqldbawithbeard

The Manual Part Rob Sewell @sqldbawithbeard Enter this information into this table Ensure Policies, Procedures and Processes include this step for new instances and also that the Inactive flag is set when instances are removed Rob Sewell @sqldbawithbeard

Rob Sewell @sqldbawithbeard DBA – Fills in instances Agent Jobs run every night to gather the information regularly (Agent Job Databases, every night, Server, SQL every week Now the DBA Team can use powershell to gather information – My Find-Database function queries this (and we use Excel too so the information is available locally in the case of disaster) The DBA Team can use TSQL too. The information is pretty up to date and we have the date checked column to see when last checked They can then answer questions quicker (No need to connect to a server) They can quickly identify instances which need action (Policies not set (Max mem, Min mem Adhoc workload enabled etc)) and target them with powershell BUT – Now we can let them ask their own questions  and have access to the data they require when ever they want. Rob Sewell @sqldbawithbeard

Demo

Questions? Rob Sewell @sqldbawithbeard

Next Steps... Now: 15 min break Grab a coffee Stay here to enjoy next presentation Change track and switch to another room Ask me questions or meet me in a breakout session room afterwards