Amit Bansal CTO | Peopleware India (unit of eDominer Systems) www.amitbansal.net | www.WeTogether.in | www.peoplewareindia.com.

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Payroll and HR Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Bijoy Singhal Developer Evangelist | Microsoft India |
Co- location Mass Market Managed Hosting ISV Hosting.
Connect with life Vinod Kumar M Technology Evangelist | Microsoft
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
WinHEC /22/2017 © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Connect with life Connect with life
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: Employee Self Service Timecard Entry © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
SQL Server SQL Azure Visual Studio“Quadrant” SQL Server Modeling Services Entity Framework ADO.NET“M”/EDM Data Services …
Ian Ellison-Taylor General Manager Microsoft Corporation PC27.
|
Connect with life Vinod Kumar Technology Evangelist | Microsoft
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Vinod Kumar MTC - Technology Specialist | Microsoft
Mohammed Abdul Muqeet Khan Microsoft MVP – IIS | HCL
Praveen Srivatsa Director| AstrhaSoft Consulting blogs.asthrasoft.com/praveens |

Connect with life Bijoy Singhal Microsoft India Jadeja Dushyantsinh A Microsoft India.
Locking Internals By Amit R S Bansal Director, Principal Consultant & Trainer |
IoCompleteRequest (Irp);... p = NULL; …f(p);
MIX 09 4/17/2018 4:41 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Возможности Excel 2010, о которых следует знать
Title of Presentation 11/22/2018 3:34 PM
Title of Presentation 12/2/2018 3:48 PM
1/3/2019 1:21 PM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
28 days.
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
Title of Presentation 7/24/2019 8:53 PM
Presentation transcript:

Amit Bansal CTO | Peopleware India (unit of eDominer Systems) | |

Amit Bansal CTO, eDominer Systems & Peopleware India Corporate Trainer/Consultant & Evangelist Conducted more than 200 workshops on SQL Server & BI for top notch IT companies world wide Microsoft MVP for SQL Server, UG Lead Microsoft Certified Trainer Advisory Council member Speaker at TechED India, TechED US & TechED Europe Technical Reviewer – MSL courses on SQL Server SME – SQL Server 2008 certifications Manager – President – SQLServerGeeks.com

Introduction When you create large, enterprise-scale databases, you may encounter performance problems caused by poor database design or hardware limitations. When you have performance issues, it is critical to first properly diagnose the problem before you take corrective measures.

Shared resources CPU For processing & querying During partition processing, CPU is used mainly to build aggregations Memory Almost all processes within SSAS need memory I/O SSAS generates I/O operations both directly and indirectly

Using Task Manager to monitor CPU usage

Tools Task Manager Windows Reliability And Performance Monitor SQL Server Profiler Dynamic Management Views

Windows Reliability & Performance Monitor Provides tools to analyze operating system, application, and hardware performance. Consists of three components: Resource View Reliability Monitor and Performance Monitor

Windows Reliability & Performance Monitor What do you monitor? CPU % Processor Time Memory Pages/sec is the number of pages read from and written to disk to resolve hard page faults Committed Bytes is the amount of virtual memory requested by all running processes

Windows Reliability & Performance Monitor What do you monitor? I/O Current Disk Queue Length represents the current number of queued requests to the disk. If this number is constantly above the number of spindles plus 2, the disk subsystem could be improved by adding spindles (to a RAID 0/10 configuration) or by using faster disks Disk Read Bytes/sec & Disk Write Bytes/sec

Windows Reliability & Performance Monitor What do you monitor? SSAS counters: MSAS 2008: Memory – Memory Limit High KB MSAS 2008: Memory – Memory Limit Low KB MSAS 2008: Memory – Memory Usage KB MSAS 2008: Processing MSAS 2008: Proc Aggregations MSAS 2008: Proc Indexes

Monitoring Processing Performance SSAS counters: MSAS 2008: Processing Total Rows Converted Total Rows Read Total Rows Written SQL Server Profiler Command Events Command Begin Command End Progress Reports Progress Report Begin Progress Report End Progress Report Error

Monitoring using Performance Monitor

Monitoring Processing Performance Using Dynamic Management Views (DMVs) SELECT TOP 10 * FROM $System.DISCOVER_OBJECT_ACTIVITY ORDER BY OBJECT_CPU_TIME_MS DESC

Monitoring using DMVs

Monitoring Query Performance Regardless of the tool we use, trace data is the most important source of information on query related operations. Trace data provides information on the internal operations of the Storage Engine and the Formula Engine, for example showing if aggregations are used or not or if calculations are evaluated in bulk mode or not

Monitoring Query Performance Progress Report Begin (5) / Progress Report End (6) Query (14) shows when the Storage Engine accesses a partition or aggregation to get data. This will only happen if the data required is not available in the Storage Engine cache. Query Begin (9) / Query End (10) – are raised at the start and end of query evaluation. MDXQuery (0) shows the MDX statement sent to Analysis Services. For the Query End event, the Duration column shows the overall amount of time taken to run the query and return its results back to the client.

Monitoring Query Performance Calculate Non Empty Begin (72) / Calculate Non Empty End (74) – have no related subclass events. The Calculate Non Empty events are raised when Analysis Services performs non empty filtering operations, for example when the NonEmpty MDX function or the Non Empty statement is used in a query, and these operations are often the cause of slow query performance.

Monitoring Query Performance Get Data From Aggregation (60) – has no related subclass events. This event is raised when the Storage Engine reads data from an aggregation. Get Data From Cache (61) – is raised when data is read from cache.

Monitoring Query Performance Query Cube Begin (70) / Query Cube End (71) Query Dimension (81) - this event is raised when queries retrieve members from dimension hierarchies Query Subcube (11) Query Subcube Verbose (12) – is functionally identical to Query Subcube, but it adds more information about the multidimensional

Monitoring Query Performance using SQL Server Profiler

Monitoring Query Performance Can you monitor query performance using Performance Monitor? MSOLAP: Cache MSOLAP:MDX

Summary Monitoring Processing Performance Performance Monitor SQL Server Profiler DMVs Monitoring Query Performance Performance Monitor SQL Server Profiler DMVs

Feedback / QnA Your Feedback is Important! Please take a few moments to fill out our online feedback form at: > For detailed feedback, use the form at Or us at Use the Question Manager on LiveMeeting to ask your questions now!

SQLServerGeeks.com Bangalore – 20 th November 2010 Mumbai – 28 th November 2010 Gurgaon – Dec 5, 2010 Visit to register

Join my network Join my network: Personal Site – LinkedIn – Forum – Blog – Twitter – FaceBook – Bansal/

© 2007 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.