sql azure administration and application self-servicing michal lesiczka program manager microsoft...
TRANSCRIPT
![Page 1: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/1.jpg)
SQL Azure Administration and Application Self-Servicing
Michal LesiczkaProgram ManagerMicrosoft Corporation
Vinod Jagannathan Program ManagerMicrosoft Corporation
DBI326
![Page 2: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/2.jpg)
Agenda
Context and Role DefinitionSQL Azure Management SQL Azure Troubleshooting
![Page 3: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/3.jpg)
Who is the Application Administrator?
Azure Application
SQL Azure SQL
AzureSQL
Azure
SQL Azure
Azure App
SQL Azure
Azure App
SQL Azure
SQL Azure
SQL Azure
SQL Azure
SQL Azure
Azu
re
Applic
ati
on
• Enterprise Tier 1 / Mission Critical• Small # (tens)• 1:1 Admin to App• Highly managed
• CSV• No traditional roles (devs?)• Highly automated• Multi-tenant (1 tenant per DB or Federations)• 100s – 10,000s tenants• Aggregated experience for monitoring,
troubleshooting, management is key
• Breadth/Web & Departmental Apps• Many small distinct apps• 1 DB per app• 1:N (~10) App Admin to App
![Page 4: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/4.jpg)
Physical vs. Logical Administration
Instance
App Admin role places more focus on logical management
Security
Database
HA Configuration
Schema Creation & Management
Transparent Failovers
Load Balancing
Query Optimization
![Page 5: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/5.jpg)
App Admin Responsibilities
App LifecyclePlan, Stage, Deploy
Import, Export, Workflows
Patch, Upgrade
Backup, Restore, Recover
Delete, Retire
App Schema
Schema editing
Ad-hoc queries
App Health
Monitoring
Diagnostics
Fixes
App Security
User management
Compliance Reports
![Page 6: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/6.jpg)
Troubleshooting Features
Summaries and global viewsSQL Azure Management portal integration
Live TroubleshootingLimited DMV coverageExtending DMV coverageDatabase Extended Events
Historical TroubleshootingEvent Table (Logging)
![Page 7: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/7.jpg)
SQL Azure Management Portal
![Page 8: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/8.jpg)
SQL Azure Management Portal
Customer Complaints: How do I easily manage my SQL Azure databases?How can I easily look at query plans and troubleshoot my query?
Solution: The SQL Azure Management Portal simplifies management and troubleshooting of databases.
Database management experienceQuery performance detailsQuery plansEvent table support
![Page 9: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/9.jpg)
demo
SQL Azure Management Portal
![Page 10: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/10.jpg)
Database Extended Events
![Page 11: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/11.jpg)
Database Extended Events
Customer Complaint: How do I trace the workload to understand where time is being spent and pinpoint any potential issues?
Solution: Utilize Extended Events to do live troubleshooting on databases in SQL AzureProvides consistent experience between on-premise and SQL Azure troubleshooting
![Page 12: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/12.jpg)
demo
Database Extended Events
![Page 13: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/13.jpg)
Live Troubleshooting using DMVs
Customer Complaint: I have a high workload but I am seeing a fairly low number of connections and sessions for my application. How can I find out what T-SQL is executing and if I can improve things?
Solution: New DMVs that provide insight into cached plans, trigger and stored procedure usage and performance.
![Page 14: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/14.jpg)
demo
Troubleshooting using DMVs
![Page 15: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/15.jpg)
New DMVsDMV Scenario
sys.dm_exec_query_memory_grants
Queries waiting for memory before they can be executed.
sys.dm_exec_cached_plans Execution plans that are currently in the case.
sys.dm_db_missing_index_details
Missing indexes that would increase the query performance.
sys.dm_db_missing_index_columns
Missing table columns for a given index.
sys.dm_db_missing_index_groups
Missing indexes are contained in a specific missing index group, excluding spatial indexes.
sys.dm_db_missing_index_group_stats
Groups of missing indexes, excluding spatial indexes.
sys.dm_db_index_usage_stats Information about the usage of an index.
sys.dm_db_index_physical_stats Information about the physical layout for a given index (space consumption etc).
sys.dm_db_index_operational_stats
Information about the performance for a given index.
sys.dm_exec_procedure_stats Usage of stored procedures in the database.
sys.dm_exec_trigger_stats Usage of triggers in the database.
![Page 16: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/16.jpg)
Historical Troubleshooting using Event TableCustomer Complaint:
My application experienced issues a few days ago. Is it potentially related to a deadlock in SQL Azure?
Solution: Event table provides historical event logging inside the logical masterEvents types:
Successful connectionsConnection failuresThrottlingDeadlocks
![Page 17: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/17.jpg)
demo
Event Table
![Page 18: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/18.jpg)
Session Takeaways
Position the App Admin role Manage a SQL Azure application Troubleshoot a SQL Azure application
![Page 19: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/19.jpg)
Contact Information
MichalLesiczka
Vinod Jagannathan
![Page 20: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/20.jpg)
Track Resources
@sqlserver@TechEd_NA#msTechEd
mvaMicrosoft Virtual Academy
SQL Server 2012 Eval Copy
Get Certified!
Hands-On Labs
![Page 21: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/21.jpg)
Resources
Connect. Share. Discuss.
http://northamerica.msteched.com
Learning
Microsoft Certification & Training Resources
www.microsoft.com/learning
TechNet
Resources for IT Professionals
http://microsoft.com/technet
Resources for Developers
http://microsoft.com/msdn
![Page 22: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/22.jpg)
Complete an evaluation on CommNet and enter to win!
![Page 23: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/23.jpg)
MS Tag
Scan the Tagto evaluate thissession now onmyTechEd Mobile
![Page 24: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/24.jpg)
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to
be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS
PRESENTATION.
![Page 25: SQL Azure Administration and Application Self-Servicing Michal Lesiczka Program Manager Microsoft Corporation Vinod Jagannathan Program Manager Microsoft](https://reader031.vdocuments.site/reader031/viewer/2022020117/56649dac5503460f94a9befc/html5/thumbnails/25.jpg)