New Instance… Now What? Presented by: James Donahoe

Slides:



Advertisements
Similar presentations
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.
Advertisements

5 Common SQL Server Performance Issues Jason Hall-SQL Sentry, Dir of Client Services Blog-jasonhall.blogs.sqlsentry.net.
Common Mistakes Developers Make By Bryan Oliver SQL Server Mentor at SolidQ.
1 | SharePoint Saturday St. Louis 2015 SQL Server Best Practices for SharePoint On-Prem.
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
CS27510 Commercial Database Applications. Maintenance Maintenance Disaster Recovery Disaster Recovery.
Tuning SQL Server 2012 for SharePoint 2013 Jump Start 01 | Key SQL Server and SharePoint Server Integration Concepts (50 minutes) Dedicated Server or.
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
DBA Quick Start What do you do when you’ve fallen into a job as a DBA? Take a deep breath, Find out what you’ve got, And dive right in!
Virtual techdays INDIA │ September 2011 Tips for Successful SQL Server Deployment in Enterprise Environment Balmukund Lakhani │ Technical Lead –
Copyright © 2007 Quest Software The Changing Role of SQL Server DBA’s Bryan Oliver SQL Server Domain Expert Quest Software.
Troubleshooting SQL Server Enterprise Geodatabase Performance Issues
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Step By Step Windows Server 2003 Installation Guide Step By Step Windows Server 2003 Installation Guide.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Esri UC 2014 | Technical Workshop | Administering Your Microsoft SQL Server Geodatabase Shannon Shields Chet Dobbins.
MISSION CRITICAL COMPUTING Siebel Database Considerations.
SQL SERVER 2008 Installation Guide A Step by Step Guide Prepared by Hassan Tariq.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
6/13/2015 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 Registration.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
You Inherited a Database Now What? What you should immediately check and start monitoring for. Tim Radney, Senior DBA for a top 40 US Bank President of.
DBA Quick Start What do you do when you’ve fallen into a job as a DBA? Take a deep breath, Find out what you’ve got, And dive right in!
New Instance… Now What? Presented by: James Donahoe Senior Solutions Engineer – TeleTracking Technologies MCSA: SQL Server 2012.
Hitting the SQL Server “Go Faster” Button Rob Douglas #509 | Brisbane 2016.
ProgressBook Suite Maintenance
SQL Database Management
The importance of computer backups
New Instance… Now What? Presented by: James Donahoe
You Inherited a Database Now What?
On-premise database. Files in the cloud.
Tips for SQL Server Performance and Resiliency
SharePoint Solutions Architect, Protiviti
Get to know SQL Manager SQL Server administration done right 
Hitting the SQL Server “Go Faster” Button
Getting Started with Azure DBaaS!
Common SQL Server Mistakes and How to Avoid Them
SQL Server Security For Everyone
New Instance… Now What? Presented by: James Donahoe
Introduction to System Administration
Introduction to System Administration
Installation and database instance essentials
Contained DB? Did it do something wrong?
Database Administrator/Azure SME – RDX
SQL Server May Let You Do It, But it Doesn’t Mean You Should
Tips for SQL Server Performance and Resiliency
Tips for SQL Server Performance and Resiliency
Dynamics AX Performance
Hitting the SQL Server “Go Faster” Button
5 WAYS TO BYPASS *OR ENSURE* SQL SERVER SECURITY MATT MARTIN
Making PowerShell Useful
Re-Indexing - The quest of ultimate automation
What’s new in SQL Server 2016 Availability Groups
Migrating your SQL Server Instance
Cloud Architect – Azure
Example of a page header
Peter Shore SQL Saturday Cleveland 2016
Smart Team Making a Beautiful software
Database Administrator/Azure SME – RDX
Making PowerShell Useful
Getting Started with Azure DBaaS!
You Inherited a Database Now What?
Summit Nashville /3/2019 1:48 AM
Have you seen this screen?
Top 5 TIPS TO KEEP Always on AGs humming and users happy
Sql Saturday Philadelphia
Managing the mystery database
Vendor Software Lessons From Consulting Vendor Software.
The DBA Quit and now you’re it:
Presentation transcript:

New Instance… Now What? Presented by: James Donahoe Cloud Data Architect – TeleTracking Technologies MCSA: SQL Server 2012

About Me! PASS Virtual Chapter Leader – “In-Memory” SQL Environments of SQL 2000 to current MCSA in SQL Server 2012 , pursuing MCSE Retro Video Game Collector (Over 900 games!) Eagle Scout United States Marine Corps Veteran An owner of Retro Perler Art

62 1st 80% 350K+ 870+ 24 YEARS of the 100 GREAT HOSPITAL About TeleTracking 1st 350K+ Acute Care Beds 24 YEARS As Industry Leader in Patient Flow By KLAS as Industry Leader in Patient Flow Retention Rate 95% 62 of the 100 GREAT HOSPITAL 80% 870+ Clients Of The Best Hospitals

First Giveaway! Here is a list of the hospitals in the general area that TeleTracking is providing solutions for: Nashville General Hospital at Meharry Tri-Star Centennial Medical Center Saint Thomas Hospital Saint Thomas Midtown Hospital Vanderbilt University Hospital Monroe Carell Junior Childrens Hospital Total Bed Count - ? 3900

Agenda Configuration The Maintenance Hexagon What do I backup? DR Testing Best Practice Security Recommendations Resources

Configuration

Are your MDF, and LDF files on the same drive? Are your backups residing on the same drive as your data files? What is MAXDOP set to? What is your cost threshold for parallelism? How many TempDB files do you have? What is your instance memory capped at? Several things should be configured after you install: MDF and LDF locations, MAXDOP, Cost Threshold for parallelism, TempDB allocation, autogrowth, etc. MDF and LDF on the same drive? Why? IO contention can be avoided by separating these. Backups on that same drive? WHY?!?! A failure of that drive just puts you out of business, or as Brent Ozar likes to say, a resume submitting opportunity. MAXDOp, how many processors do you have? How many cores? I generally go with half the cores, so if I have 16 cores, I generally set MAXDOP to 8. Cost Theshold, this is important….do you want EVERYTHING going parallel? TEMPDB, best practice is to have 1 file per processor, up to 32(Check this). This can help avoid SGAM blocking in Tempdb(Give a story here). How much memory do you have installed on that box? Physical, Virtual? What did you set your MAX memory setting to in SQL? Leave 2-3 GB for your OS. Do you have NUMA nodes? I hate NUMA..(short story)

Basic Maintenance

The Maintenance Hexagon Database Backups Reduce Disk I/O Reduce Impact of Database Backup Logging Recovery Clear Backup History Index Rebuild/Reorg Backup Performance Query Performance Faster Root Cause Analysis Query Performance Statistics Update Go through each step on the hexagon and make examples of it. Make remarks such as: How many of you have seen an error log that takes too long to open up? Make a funny animation when trying to view it. Faster Root Cause Analysis More Appropriate Execution Plans Cycle Instance Error Log Manageable Error Logs Cycle Agent Error Log

Maintenance Examples BACKUPS Full Database Backup Creates a full backup of all user databases. Scheduled for every Sunday at 2:00AM Backups retained for 14 days located in the default backup directory Transaction Log Backup Creates a transaction log backup of all user databases in Full Recovery Scheduled for every Monday through Saturday at 2:00AM Backups are retained for 14 days Go through

Maintenance Continued MISC Maintenance CycleErrorLog Cycles the error log on SQL Server Is scheduled for every Sunday, Wednesday at 5:00 am. Integrity Checks database integrity including indexes Is scheduled for every Sunday at 3:00AM Optimization Rebuild all indexes Change free space to default setting Updates all statistics Is scheduled for every Sunday at 4:00AM

What Do I Do With My Backups?

What do I backup? ALL databases – User and System! All User Databases System Databases Transaction Logs Watch SIZE, Backups will help keep in check Select * from sys.configurations Create a job to run that query Save this into a table Back it up! Comes in handy if you ever have to reinstall! Talk about how many folks only focus on databases, and transaction logs, but never look for sys.configurations, and other technical pieces. Make sure you touch on testing your backups, explaining that if you havent ever had a data corruption, its only a matter of time. But what will the use of backups be if they do not work? Wouldn’t you rather know before the system fails?

TEST Your Backups! Backing up is the first step, but they won’t do you any good if they are corrupted. TEST your backups at LEAST once a quarter. If you haven’t experienced a corrupted database, give it time, it will happen!

Disaster Recovery Testing

DR Testing When was the last time you did a fire drill? If it is longer than 6 months, you are overdue! How easy is it to access the documentation? \\fileshare\where\the\folder\structure\is\something\like\this ^ REALLY!? That just slows everything down. Are the instructions clear? Would I be able to come in today, and be able to follow your instructions to have your system back up and running within your timeframe? What is your average restore time? (Those backup tests have come back to get yinz! – Pittsburgheze) Disaster recovery(DR) documentation and processes are critical to maintaining server and service availability with minimal impact. Failure to maintain good disaster recovery documentation and processes could lead to small problems becoming disasters and disasters becoming unrecoverable failures. Disaster Recovery Plan should be tested and practiced regularly(At LEAST every six months)

Security Recommendations

Best Practice Security Recommendations Non-Default logins provisioned to sysadmin role Non-default users are provisioned to db_owner role Who needs access? Don’t use SA accounts for SQL Server Agent Jobs Are you using the basics? “Password Complexity”, “Password Expiration”? Talk about using “Password Complexity”, and “Password Expiration” policies by leveraging the Windows Password Policy mechanisms. The db_owner role grants permission to perform the activities of all the fixed database roles as well as the maintenance and configuration activities in the database. Users should not be added to this role, unless they are required full control on the database. In SQL Server 2005, members of the db_owner fixed database role can DROP the database. Also, security should be thought of when software is developed. That is where it all starts: “However is it just the users that create poor passwords? In many cases, sure. However as the people that develop software, we can help. In fact, we should. Security should be on the mind of everyone that writes software.” http://www.sqlservercentral.com/articles/Editorial/137337/

Resources

Resources Local Pass Chapter BrentOzar.com Twitter Many of us see each other monthly at a user group. Ask your question there, get the speakers contact information and don’t be afraid to reach out to them. PASS is a great organization that encourages learning through your peers. BrentOzar.com  In one free, convenient zip file, you get their scripts including sp_Blitz®, sp_AskBrent®, and sp_BlitzIndex®, plus their e-books like the SQL Server Setup Checklist and AlwaysOn Availability Groups Setup Checklist. Twitter #SQLHELP, #SQLFAMILY Reaching out to any of those hashtags will get you a response relatively quickly if you are working on something SQLskills.com/blogs/glenn/ Free SQL Server Diagnostic Information queries—Updated MONTHLY

Micrsoft Virtual Academy MinionWare Several free pieces of wonderful software – Reindex, backup, etc. Automates those tasks for you so you don’t have to worry! SQLSentry I cannot stress how great PlanExplorer is! They have a free and paid version, both get the job done, but I HIGHLY recommend that paid version. Virtual Pass Chapters These chapters hold virtual meetings every month for their subject(In-Memory, Performance, Administration, etc). Register on SQLPASS.org and look into them, lots of great, knowledgeable speakers regularly present! --Shameless Plug, In-Memory VC has a great leader, just sayin. ;) Micrsoft Virtual Academy Free videos on all Microsoft products

Questions? Suggestions? Stories?

Thank You! To all of you for attending and to ALL of our sponsors today! Twitter: @SQLFlipFlopsDBA Email: James-Donahoe@TeleTracking.com