ProgressBook Suite Maintenance

Slides:



Advertisements
Similar presentations
David Johnson | Page #1 © 2009 Blackbaud What Every Blackbaud DBA Ought to Know Welcome to the Support Roundtable for DBAs Presenter: David Johnson, Technical.
Advertisements

Installation and Deployment in Microsoft Dynamics CRM 4.0
DataBase Administration Scheduling jobs Backing up and restoring Performing basic defragmentation and index rebuilding Using alerts Archiving.
SQL Server Best Practices Keep Your Database In Top Performance Shape and Maintain Effective Backups September, 2007 Richard Kokoski.
SQL Server 2005 Implementation and Maintenance Chapter 10: Maintaining and Automating SQL Server.
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
Backup, Integrity Check and Index and Statistics Maintenance
Proper Care and Feeding of your SQL MDB -Recommendations for General MDB Maintenance -Read the notes on the foils! -Revised October
CS27510 Commercial Database Applications. Maintenance Maintenance Disaster Recovery Disaster Recovery.
Chapter 5 Configuring the RMAN Environment. Objectives Show command to see existing settings Configure command to change settings Backing up the controlfile.
Designing Custom Maintenance Plans with TSQL By John Miner.
1 Chapter Overview Transferring and Transforming Data Introducing Microsoft Data Transformation Services (DTS) Transferring and Transforming Data with.
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Virtual techdays INDIA │ September 2011 Tips for Successful SQL Server Deployment in Enterprise Environment Balmukund Lakhani │ Technical Lead –
SQL Server 2008 Implementation and Maintenance Chapter 7: Performing Backups and Restores.
Chapter 2: Designing Physical Storage MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide (70-443)
Chapter 18: Windows Server 2008 R2 and Active Directory Backup and Maintenance BAI617.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Roy Ernest Manager of DBA Dept Pinnacle Sports Worldwide
Module 16: Performing Ongoing Database Maintenance
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
Systems Management Server 2.0: Backup and Recovery Overview SMS Recovery Web Site location: Updated.
Partners’ Webinar 01/31/2013 Karol Jarkovsky Solution Architect Upgrading Kentico.
Week 7 : Chapter 7 Agenda SQL 710 Maintenance Plan:
1 Chapter Overview Defining Operators Creating Jobs Configuring Alerts Creating a Database Maintenance Plan Creating Multiserver Jobs.
MISSION CRITICAL COMPUTING Siebel Database Considerations.
Maintenance Practices. Goal  Automate the necessary DBA chores to put organizations on the path of having healthier, consistent and more trustworthy.
1 Chapter Overview Using Standby Servers Using Failover Clustering.
Praveen Srivatsa Director| AstrhaSoft Consulting blogs.asthrasoft.com/praveens |
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.
SQL SERVER MAINTENANCE PLANS Kat
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.
Jeremy Kingry, eBECS | ADVANCED SQL SERVER FOR ADMINS AND ANALYSTS.
New Instance… Now What? Presented by: James Donahoe Senior Solutions Engineer – TeleTracking Technologies MCSA: SQL Server 2012.
Database Administration for the Non-DBA Denny Cherry twitter.com/mrdenny.
Blog.eardley.org.uk SharePoint Databases What you need to know Alan Eardley SQL Saturday Exeter 25 April 2015.
SQL Server Magic Buttons! What are Trace Flags and why should I care? Steinar Andersen, SQL Service Nordic AB Thanks to Thomas Kejser for peer-reviewing.
Hitting the SQL Server “Go Faster” Button Rob Douglas #509 | Brisbane 2016.
SQL Database Management
SQL Replication for RCSQL Reporting
Smarter Technology for Better Business
You Inherited a Database Now What?
Tips for SQL Server Performance and Resiliency
SQL Replication for RCSQL 4.5
Get to know SQL Manager SQL Server administration done right 
Hitting the SQL Server “Go Faster” Button
Designing Database Solutions for SQL Server
Introduction to SQL Server Management for the Non-DBA
Database Administration for the Non-DBA
SQL Server May Let You Do It, But it Doesn’t Mean You Should
Dynamics AX Performance
Hitting the SQL Server “Go Faster” Button
The Ultimate Maintenance Plan By Ed Roepe Perimeter DBA, LLC
Re-Indexing - The quest of ultimate automation
Backup and Restore your SQL Server Database
HC Hyper-V Module GUI Portal VPS Templates Web Console
Information Services & Technology
The Ultimate Maintenance Plan By Edward Roepe Perimeter DBA, LLC
AlwaysOn Availability Groups
You Inherited a Database Now What?
NAVIGATING THE MINEFIELD
Chapter 11 Managing Databases with SQL Server 2000
Sql Saturday Philadelphia
Ch 10. Maintaining and Automating SQL Server
Presentation transcript:

ProgressBook Suite Maintenance SQL and Web Server strategies to combat the mob activity of school systems

Maintenance Plans and SQL Jobs Recommended Indexes and fragmentation Log table growth SQL Settings Log file growth Shrinking databases TempDB files ProgressBook Suite logging Config File Settings Connection string application names Debug and logging settings 64 Bit applications Windows Updates

Maintenance Plans and SQL Jobs Why? How? Dynamic data Database integrity/consistency checks Data corruption Rebuild/reorganize indexes Disk allocation fluctuation Database backups Unused logging Error Log cleanup

Maintenance Plan Options Custom Maintenance Jobs Manual setup through scripts SQL server agent https://ola.hallengren.com/ Maintenance Task Wizard Easy to use Not very customizable

Consistency/Integrity Checks Checks to make sure each object is where SQL says it should be allocated Checks to make sure each piece of data is the data type that SQL says it should be Resource intensive on large databases like StudentInformation Physical only Allows for quick, resource light execution At the cost of detailed check (skips indexes and more) Recommendations: Run an integrity check once a week at night for StudentInformation and GradeBook. Additional: Nightly with Physical_Only for StudentInformation On Error: Backup recovery Drop/recreate bad tables, if possible Repair command

Rebuild and Reorganize Indexes Check fragmentation often using Physical Statistics Report. Right Click >> Reports >> Standard Reports >> Index Physical Statistics Report Rebuild fragmented indexes during emergencies using the rebuild command. Right click index >> Rebuild Reorganize fragmented index during heavy usage, if necessary Lightweight Can be done online all the time Right click index >> Reorganize

Rebuild and Reorganize indexes (Continued) Recommendations: StudentInformation Rebuild on weekends Reorganize nightly GradeBook

Log Table Cleanup Software Answers creates large logging tables Ongoing problem checks Must create SQL Job Recommended: Pb_master: Truncate Elmah_Errors table nightly CentralAdmin: Delete security audits older than 30 days Stored procedure is set up in CentralAdmin Dbo.DeleteOldSecurityAudits StudentInformation: Delete log table values older than 30 days

Backups Stores a copy of your database Full All the data Stores snapshot at the time of the backup execution Also used to recover pieces of data that may have been mistakenly removed Differential Cumulatively adds the changed data to a current full backup after a specified amount of time Transactional Backs up transaction logs Can restore to a specific point Resource intensive Recommended: All databases: nightly full backups Keep databases for a week Sufficient for the size and activity of Software Answers’ products Simple recovery set on databases

Maintenance Task Option Maintenance plan easiest to first create through the wizard Once done, you can edit the task Set properties after wizard Can also run scripts through a maintenance task

Shrinking Databases Used to release large quantities of freed disk space Pros: Regain disk space from allocated Cons: Reallocation (auto-growth) of new disk space during uptime can cause poor performance Growth can cause fragmentation Recommendations Only shrink after very large log table truncation/deletion when trying to free up disk space Set Database/Log autogrowth to: StudentInformation: 2GB, Unlimited GradeBook: 500 MB, Unlimited

Adding TempDB Files Recommended: 1 TempDB file per logical CPU All SQL server instances Helps complete I/O faster through having multiple channels Improves performance TEMPDB files

Logging For ProgressBook Applications Where to look for particular application errors

ELMAH: ParentAccess and Virtual Classroom Elmah errors Error logging modules and handlers Accessed 2 ways Log table pb_master.dbo.ELMAH_Error Page in ParentAccess …/elmah Report of latest ELMAH errors Errors on page reflect table User column provided to narrow results to particular parent

Log4Net_Log: Gradebook & PublishService File and DataBase table Level adjusted in config file ALL or INFO – For gathering every action ERROR – Errors and ratal errors Applications GradeBook Report Card Publish Service ParentAccess Events Provides less descriptive results than elmah

SpecialServices Errorlog SPS writes to pb_district.dbo.ErrorLog table on each error page Contains a studentID and UserId column to search from scope of error

StudentInformation and Vendorlink Log Table VendorLink calls DataMap errors also Symptoms to look in Log table Failed VendorLink calls 500 Errors Emailed DASL Exceptions These are not logged in database

Central Security Audit CentralAdmin.Audit.Security Audits every user login/logout Easy access to prove malicious logins of particular users Provides application and security actions handled for the user Sign in/out Locked account Password reset

Config Recommendations StudentInformation Debug = False Adjusted in 15.0 ConnectionStrings Rename Application Name value to proper app name GradeBook ParentAccess Log4Net logging Set to “Error” unless problem arises GradeBook ParentAccess Report Card Publish Service

Other Recommendations Software Answers tests on the latest Microsoft Updates. Recommended: Keep Windows and SQL server updated Recommended: Change application pool to 64 bit–except for GradeBook StudentInformation ParentAccess CentralAdmin SpecialServices