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.
Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Automating Common DBA Tasks
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Module 13 Automating SQL Server 2008 R2 Management.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
ADAPTING YOUR ETL SOLUTION TO USE SSIS 2012 Presentation by Devin Knight
Maintenance Practices. Goal  Automate the necessary DBA chores to put organizations on the path of having healthier, consistent and more trustworthy.
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.
Team BI Personal BI Corporate BI PowerPivot for ExcelPowerPivot for SharePointAnalysis Services My Context BI solution created by user. Context is.
Customer pulse Why Stretch? How Stretch works? Core Stretch scenarios Demo QA.
Microsoft PowerBI – Advanced Solutions with Microsoft Excel and PowerBI Presented by: Phillip Guglielmi, CPA | Senior BI Consultant and Solutions Architect.
SQL Database Management
On the Development of an Equipment Data Model
Smarter Technology for Better Business
Let’s Build a Tabular Model in Azure
Automated Enterprise-wide SQL Server Auditing
PASS Community News November 2016
Monitoring Data Changes with Change Data Capture
Cisco Data Virtualization
Policy Based Management: Introduction & implementation
<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
Solving ETL Bottlenecks with SSIS Scale Out
Transactional Replication A Deeper Dive Drew Furgiuele, Senior DBA IGS
Purpose, Pitfalls and Performance Implications
Administrating SQL Server with PowerShell dbatools
Swagatika Sarangi (Jazz), MDM Expert
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 Server Agent The Life Preserver for the Drowning DBA Lance Tidwell.
Reliable, Repeatable, Configurable & Automated Validation with
PowerShell & PowerBi Reducing DBAs Context Switching
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
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
The 6 P’s Powershell Profile Prepares Perfect Production Purlieu
Power BI – Exploring New Frontiers
Administrating SQL Server with PowerShell dbatools
Power BI with Analysis Services
Summit Nashville /3/2019 1:48 AM
Use PowerShell & dbatools to Manage your SQL Server Environment
Administrating SQL Server with PowerShell dbatools
Let’s Build a Tabular Model in Azure
1. Get your bubble lab 2. Flip to the graph
Azure Data Factory V2: SSIS in the Cloud or Not?
Make Your Maintenance Plans…
This is the slide shown before the presentation starts
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 http://sqldbawithabeard.com @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 – March 12th 2016 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

What Problem are we Solving? This is a problem I face every year but today we are not going to talk about this one 

Questions 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)

Replace The Old Ways 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

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

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

REQUIREMENTS SOLUTION Local Knowledge 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 Local Knowledge

How To Do It

The Manual Part 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

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.

Demo

Questions