tune, monitor and analyze the health of your centricity...
TRANSCRIPT
![Page 1: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/1.jpg)
Tune, Monitor and Analyze the Health of Your Centricity SQL Server
Presented by Steve Stedman and Derrick Bovenkamp
![Page 2: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/2.jpg)
About Us
Steve Stedman
• 26 years of SQL Server experience
• Recent experience with Centricity over the last 2 years.
• Blog regularly at http://SteveStedman.com
• Founder of the Database Corruption Challenge.
• Creator of Database Health Monitor http://DatabaseHealth.com.
• Freelance Database Consultant (SQL Server). Stedman Solutions, SQL Data Partners.
• Volunteer Firefighter / EMT with local fire department.
Derrick Bovenkamp
• Senior Systems Administrator at Family Care Network
• 11 Years of experience with Centricity
• Experience with VMware, Citrix, Veeam
• CHUG Board Member
• Teach Health Information Technology at a local Technical College
![Page 3: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/3.jpg)
Family Care Network
• 104 Providers across 13 locations across two counties in Northwest Washington State.
• Locally owned and physician led.
• On PM since 2002 and EMR since 2005.
• Combined on CPS in 2013.
• CPS Database is 800GB.
![Page 4: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/4.jpg)
Introduction
• Performance tuning can save time and money.• Doctors time, Clinical, Front and Back Office Staff time,
Patients time.
• Get more out of your hardware without having to upgrade.
• A stable and reliable database can save time and money.
• System checks and best practices can prevent outages and data loss.
You can download all the slides at http://SteveStedman.com/Chug2016
![Page 5: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/5.jpg)
Baseline Monitoring
Monitoring Tools - Database Health Monitor
Wait StatisticsEstablish a baseline and see changes over time.
![Page 6: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/6.jpg)
Baseline Monitoring
VM and Shared Storage Implications
ESX Top
http://www.running-system.com/vsphere-6-esxtop-quick-overview-for-troubleshooting/
![Page 7: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/7.jpg)
Baseline Monitoring - Memory
Page Life Expectancy, Plan Cache Hit Ratio
Reading from memory much faster than reading form disk.
Not rebooting unless absolutely needed, Install updates less often (every 4 to 6 weeks common)
![Page 8: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/8.jpg)
TempDB Performance
• What is TempDB, What uses TempDB
• Performance Recommendations
![Page 9: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/9.jpg)
What is in TempDB?
• Temporary user objects that are explicitly created, such as: • Global or local temporary tables
• Temporary stored procedures
• Table Variables
• Sorts (including DISTINCT)
• Hash (aggregates and joins)
• Spools (table and index)
• Row versions that are generated by data modification transactions in a database that uses read-committed using row versioning isolation or snapshot isolation transactions.
• Centricity Upgrades
![Page 10: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/10.jpg)
TempDB is Special
• No backups / No restores
• Simple recovery only
• Cannot change owner
• Cannot drop database
• Cannot Enable CDC / Mirroring / Snapshots / Availability Groups
• If the database files are missing when SQL Server starts, the files are recreated
![Page 11: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/11.jpg)
TempDB Performance
•Performance Recommendations• Multiple Files
• Drive of its own
• Fast Storage
• 64K block size
• VLF Count (Virtual Log Files) - Also applies to other database log files.
![Page 12: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/12.jpg)
Backup and Restore
• Compressed Backups
• Types:
• Full
• Incremental (i.e. differential)
• Logs
• GE Job and log backups
![Page 13: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/13.jpg)
Backup and Restore
• VLF Impact on restore
• Less VLF’s = Faster Restore
• VM Snapshots• Timing with other backups
• Veeam Backups
• Watch out for truncated log files.
More info on VLFs at http://SteveStedman.com/vlf
![Page 14: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/14.jpg)
Backup and Restore
• Automatic Restore Script• Save time and mistakes when you need to do a database
restore
• Your backups are only as good as what you have tested.
http://databasehealth.com/about/shared-scripts/
![Page 15: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/15.jpg)
Maintenance Plan Problems
• Default maintenance plan order
• Sp_maint what it does
• Detecting Database Corruption
![Page 16: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/16.jpg)
Best Practices
• IFI – Instant File Initialization http://stevestedman.com/IFI
• Virtualization – Don’t Overcommit
• Multiple drives (data, log, tempdb)
• Storage Medium
• Document management – Export images
• Sp_spaceused ‘patientprofileattachment’
![Page 17: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/17.jpg)
More Best Practices
• Autogrowth Percentage and size
• Avoid autoshrink on database.
• Email configuration• Email on jobs failing
• Email on alerts.
• Changing database owners – don’t do this for Centricity.
![Page 18: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/18.jpg)
Daily Checklist
• Check Backups
• Check the SQL Error Logs
• Quick Scan Report –Database Health Monitor
• Check scheduled jobs
![Page 19: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/19.jpg)
Next Steps
• Take a look at the white paper. http://centricitydatabasehelp.com/
• Download the slides from this session. http://SteveStedman.com/Chug2016
• Download Database Health Monitor. http://DatabaseHealth.com
• Evaluate your system.
• Take base line vitals on your system.
• Follow up if you have any questions.
![Page 20: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/20.jpg)
Any Questions
![Page 21: Tune, Monitor and Analyze the Health of Your Centricity ...stevestedman.com/wp-content/uploads/Performance... · •Performance tuning can save time and money. •Doctors time, Clinical,](https://reader034.vdocument.in/reader034/viewer/2022042219/5ec59d5c967bcd16002ad317/html5/thumbnails/21.jpg)
Contact Us