Presentation is loading. Please wait.

Presentation is loading. Please wait.

SQL Reporting Services Troubleshooting Tips Greg Celentano SQL Saturday Providence.

Similar presentations


Presentation on theme: "SQL Reporting Services Troubleshooting Tips Greg Celentano SQL Saturday Providence."— Presentation transcript:

1 SQL Reporting Services Troubleshooting Tips Greg Celentano SQL Saturday Providence

2 Thanks to our sponsors!

3 About Me  SQL Server DBA  Also work with SharePoint & Salesforce

4 Agenda  SSRS Components  Common SSRS troubleshooting  What to look at when analyzing performance  Scaling up / Scaling out

5 Where to start Installation  Native & SharePoint options  This installs SSRS on the Instance you selected earlier  Multiple SSRS instances are legal

6 But wait…Before we install  Did you ask the right questions to the user  What is the application?  Who will be using this application?  What is the importance of this application?  What is the approximate size of the data?  Whatever else you feel is an important question about the application

7 Configuration Manager

8 RsReportServer.config  Create a backup first  Modify at your own risk  CREATE A BACKUP FIRST!!!!!!!!!!  MSDN Guide to RsReportServer.config  https://msdn.microsoft.com/en-us/library/ms157273.aspx

9 Where Are Reports Created  Pre SQL 2012 – Business Intelligence Development Studio (BIDS)  After SQL 2012 – Data Tools

10 Data Sources SSRS can use  Microsoft SQL Server  Microsoft SQL Server Analysis Services  Microsoft Azure SQL Database  SQL Server Parallel Data Warehouse  Oracle  SAP NetWeaver BI  Hyperion Essbase  Microsoft SharePoint Lists  Teradata  OLE DB  ODBC  XML  Linked Servers*

11 Troubleshooting issues demo  Security issues  Folders and data sources  dataset can’t be found error  Integrated security and prompts for data sources  Review settings around a RDL  Discuss Scheduled tasks  Email and File drops  SSRS performance settings  Time out settings  Finding SSRS long running SPIDs and what they are doing  Examining the execution log

12 Ways to monitor and things to look for  Executionlog2 view within SSRS ReportingDB  Time Data Retrieval (ms) – Time to grab data from source  Time Processing (ms) – Time SSRS took to process that data  Time Rendering (ms) – Time SSRS took to display the report  Parameters  Don’t forget about the Additional Info column  Sp_who2 ‘active’ & DBCC INPUTBUFFER  Profiler or Extended Events  Third party tools  Watch for CreateChunkSegment and WriteLockSessions, indicators of SSRS resource pressure

13 Performance Options  What is next after tuning queries & stored procedures?  Are there more users needing access to reports  Look at the hardware SSRS is running on - Scale up  Look at the SSRS topology - Scale out

14 Scale up  Increase system resources  CPU  RAM  Maybe IO/Disk speed https://www.flickr.com/photos/91707070@N03/8329864546" title="server hardware by Sivaserver, on Flickr

15 Scale out  Spread out the processing  Relocate ReportServices service  Relocate ReportServer & ReportServerTempDB http://dennyglee.com/2012/10/01/enterprise-reporting-services-jump-start-guide/

16 Moving the SSRS DBs

17 A simple example

18 Another Simple Example

19 Simple scale out pros & cons Pros  Relieve pressure and provide more resources to other applications  Dedicated reporting environment Cons  Network bandwidth  Licensing

20 http://dennyglee.com/2012/10/01/enterprise-reporting-services-jump-start-guide/ Complex Scale Out Option

21 Complex Scale Out Pros & Cons Pros  Accommodate more users and report requests  Results should process faster for the user Cons  More complex topology  More services to monitor and troubleshoot  Licensing cost

22 Recap  What goes into an install and Configuration of SSRS  How reports are designed will have an impact on performance  Simple ways to find bottlenecks  Scale out options

23 Links  Technet guide on Scale-Out Deployment  https://technet.microsoft.com/en-us/library/ms159114%28v=sql.105%29.aspx https://technet.microsoft.com/en-us/library/ms159114%28v=sql.105%29.aspx  More Information on SSRS Execution Log  http://blogs.msdn.com/b/robertbruckner/archive/2009/01/05/executionlog2-view.aspx

24


Download ppt "SQL Reporting Services Troubleshooting Tips Greg Celentano SQL Saturday Providence."

Similar presentations


Ads by Google