SlideShare a Scribd company logo
1 of 41
SQLSaturdayNigh                14


t
Microsoft SQL Server 2008 R2

Reporting Services
Part II


Σάββαην 18/02/2012
Η παξνπζίαζε απηή ζα θαηαγξαθεί ώζηε λα είλαη
δηαζέζηκε γηα όζνπο ζέινπλ λα ηελ μαλαδνύλ, ή δελ
είραλ ηελ δπλαηόηεηα λα ηελ παξαθνινπζήζνπλ ζε
πξαγκαηηθό ρξόλν.
Εάλ θάπνηνο από ηνπο παξαβξηζθόκελνπο ζε απηή έρεη
ην νπνηνδήπνηε πξόβιεκα ή αληίξξεζε λα είλαη κέξνο
ηεο θαηαγξαθή απηήο, παξαθαιείηαη λα απνρωξήζεη
άκεζα.
Σε δηαθνξεηηθή πεξίπηωζε ε παξακνλή ζε απηή
εθιακβάλεηαη ωο απνδνρή ηεο θαηαγξαθήο.
Η παξνπζίαζε απηή διατίθεται δωρεάν,
θαη ζα αξρίζεη ζε 1 ιεπηό…
Απηή ηελ ζηηγκή ν παξνπζηαζηήο κηιάεη θαη ζαο δεηάεη λα
βεβαηώζεηε όηη ηνλ αθνύηε.
Εάλ απηό δελ είλαη δπλαηόλ παξαθαιείζηε λα αιιάμεηε ην
ρξώκα ηεο θάξηαο ζαο ζην αληίζηνηρν ρξώκα ώζηε λα
ηνλ ελεκεξώζεηε.
Απηό κπνξεί λα γίλεη παηώληαο ηελ αληίζηνηρε επηινγή
πνπ βξίζθεηαη ζην πάλω δεμί κέξνο ηνπ πεξηβάιινληνο
ηνπ live meeting.
Σαο επραξηζηνύκε γηα ηελ ζπλεξγαζία.
Reporting Services
Microsoft SQL Server 2008 R2 Part II




Antonios Chatzipavlis
Solution Architect - Principal Consultant - SQL Server Evangelist & MVP
MCT, MCITP, MCPD, MCSD, MCDBA, MCSA, MCTS, MCAD, MCP, OCA
sp_who

1982 >The first contact with computers.
1988 > I started my professional carrier in IT,
       especially in software development.
1998 > I earned my 1st Certification as MCSD
       (3rd in Greece). Since then I certified as
       MCP, MCSD, MCT, MCDBA,
       MCAD, MCTS, MCITP, MCPD, MCSA, OCA.
1999 > I started my Trainer carrier as MCT. Since
       then I have more than 14.000 hours of
       training
2010 > I became for first time Microsoft MVP
       on SQL Server.

Leader of IAMCT Europe Greek Chapter
Moderator of autoexec.gr
Member of the dotNETZone.gr
Connect with me

                “ blog”



              sqlschoolgr
@antoniosch   .wordpress.com   help@sqlschool.gr http://sqlschool.gr
Security
SSRS Security Model
SSRS is a .NET application.
Use Role-based authorization.
During installation, sets up the local administrator pool
with the System Administrator and Content Manager
roles.
Securables
Folder, Report, Model, Resources, Shared Data Sources
How Role Assignments Work
Tasks
A set of underlying permissions
SSRS comes with 25 different tasks.

Item-level tasks
Tasks level that acts on an item in the Report Server catalog, such as folders, models,
reports, and resources

System-level tasks
Tasks level that can be performed on objects that are not in the catalog but are
global in scope, such as site settings and shared data sources.
SSRS Policies
Is the relationship between items that need to be
secured, roles, and users.
Is responsible for mapping out the minimum set of
permissions required for securing a report item.
Individual policy is a mapping of users or groups
(principals) with a required role needed for access.
Each item in the catalog can have multiple policies
defined; however, no single item can have two policies
that apply to the same principal.
Built-In Roles
System Level           Item Level Roles
Roles                  Browser
System Administrator   Content Manager
System user            Report Builder
                       My Reports
                       Publisher
demo
Questions?
Execution / Processing
Schedules
Shared                   Report Specific
Can be used to trigger   Used for one and only
a number of events       one specific event
throughout the Report
Server
demo
Create & Manage Schedules
Report Execution and Processing
Retrieves the report definition
Data processing
Layout processing
Rendering
Report-Execution Timeouts
Report Execution                           Query Timeout
Is the amount of time a report can take
                                           Specify how long an individual query
to process. This value is specified at a   can take to come back from the data
system level, and can be overridden for    source. This value is specified inside
individual reports. To set this            the reports, by specifying the timeout
setting, click the Site Settings tab and   property while creating a data set.
modify the Report Execution Timeout        Query timeouts can also apply to data-
property. The default value is 1800        driven subscriptions.
seconds. SSRS evaluates the execution
timeout for running jobs every 60
seconds.
Running Processes aka Jobs
User Jobs                                    System Jobs
Running an on-demand report                  Processing a data-driven subscription
Rendering a report from a snapshot           Scheduling a generation of a snapshot
Generating a new snapshot                    Scheduling report execution
Processing a subscription


 SSRS comes by every 60 seconds and checks on the status of any in progress jobs.
 Canceling a running job does not guarantee that a query has stopped processing on the
  remote data server.
 The property RunningRequestsDbCycle in the RSReportServer.config file sets how
  often the Report Server evaluates running jobs.
Report-Execution History
In these days of endless audits, SOX (Sarbanes-
Oxley), and now PCI (Payment Card Industry), it is
becoming essential to know when someone within
an organization accesses data.
It is also helpful to know this information from an
organizational and planning perspective.
As more and more reports get published, how
often reports get looked at and by whom could be
essential information.
SSRS Execution Log
•   Name of the physical machine that ran the report (Report Server, not
    database server)
•   Unique ID of the report
•   Unique ID of the user running the report
•   Whether the request came from a user or system process
•   What rendering format was used
•   Values of the report parameters
•   When the report process started and when it finished
•   Amount of time the server took to process the report in milliseconds
•   Type of data used for execution (live, cached, snapshot, history)
•   Final status code of the report processing (success or first error code)
•   Final size of the rendered report in bytes
•   Number of rows returned in the data sets of the rendered reports
demo
How to Report Off the Execution Log
Questions?
Subscriptions
What is a Subscription
Subscription setting up a job on the Report
Server to deliver a report to a user at a
specified point in time without the user
actively going to the Report Server and
running the report.
Subscription Fundamentals
User must have access to view the report.
User must have a role assignment that includes the task Manage Individual
Subscriptions before subscribe to the report.
The report has to be able to run independently, that is, the data sources must use
either stored credentials or no credentials.
The report must have a configured delivery method. The built-in ones include email
and file sharing.
You must specify a rendering extension for the subscribed report.
Some trigger or event is required to run the subscription. Usually, this is a scheduled
event, based on either a custom or shared schedule.
The parameter values for any parameter in a report must be specified or defaulted.
Uses of Subscriptions
Deliver reports to end users.
Save reports for offline viewing
Send long-running reports or large reports
directly to disk.
Preload the Report Server’s cache.
Standard vs Data-Driven
Subscriptions
Standard                                    Data-Driven
Users can create and manage standard        The data used for the subscription
subscriptions for themselves.               must come from a query.
All the information for the subscription
is static, which means that the             The list of recipients is derived via a
information has to be specified when        query.
the subscription is created (and that the
information cannot be modified at           Users can create customized reports
runtime).                                   for recipients based on preferences of
                                            that recipient or that recipient’s role
                                            within the organization.

                                            Even the delivery style and location can
                                            be customized.
Delivery Options


       email   File Share




       Null    Custom
demo
Creating a Simple Subscription
demo
Creating a Data-Driven Subscription
Managing & Monitoring
Subscriptions can be managed with Report Manager.
Report subscriptions are managed just like any other
property of a report.
The Status column is crucial for monitoring the execution
of a subscription in case the subscription runs into a
processing error.
Questions?
Administration
Monitoring Tools
Report Server Execution Log
Trace Log
HTTP Log
Performance Objects
MSRS 2008 Web Service
MSRS 2008 Windows Service
Report Server Service
Configuration Items
Email Delivery
Unattended Execution Account
Memory
Key Management
Backing Up the Symmetric Key
rskeymgmt -e -f rsdbkey.snk -p<password>
Restoring the Symmetric Key
rskeymgmt -a -f rsdbkey.snk -p<password>
Changing the Symmetric Key
rskeymgmt –s
Deleting the Symmetric Key
rskeymgmt -d
Questions?
Σας
εσταριστώ
ROCKING WITH KNOWLEDGE IN SQL SERVER

More Related Content

What's hot

SQL Server Developer 70-433
SQL Server Developer 70-433SQL Server Developer 70-433
SQL Server Developer 70-433
jasonyousef
 
Secerno SQLagile datasheet
Secerno SQLagile datasheetSecerno SQLagile datasheet
Secerno SQLagile datasheet
Paul Tompsett
 
How to Cure SharePoint Headaches with GSX - Monitor, Measure, Manage - From A...
How to Cure SharePoint Headaches with GSX - Monitor, Measure, Manage - From A...How to Cure SharePoint Headaches with GSX - Monitor, Measure, Manage - From A...
How to Cure SharePoint Headaches with GSX - Monitor, Measure, Manage - From A...
David J Rosenthal
 
Second review presentation
Second review presentationSecond review presentation
Second review presentation
Arvind Krishnaa
 
MYSQL_Basic_Performance_Tuning_Guidelines_-_V2
MYSQL_Basic_Performance_Tuning_Guidelines_-_V2MYSQL_Basic_Performance_Tuning_Guidelines_-_V2
MYSQL_Basic_Performance_Tuning_Guidelines_-_V2
Shelton Reese
 

What's hot (20)

SQL Server Developer 70-433
SQL Server Developer 70-433SQL Server Developer 70-433
SQL Server Developer 70-433
 
70 640 Lesson06 Ppt 041009
70 640 Lesson06 Ppt 04100970 640 Lesson06 Ppt 041009
70 640 Lesson06 Ppt 041009
 
Patrick_Rebrook_Resume
Patrick_Rebrook_ResumePatrick_Rebrook_Resume
Patrick_Rebrook_Resume
 
Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000
 
Sql server 2014 online operations
Sql server 2014 online operationsSql server 2014 online operations
Sql server 2014 online operations
 
Secerno SQLagile datasheet
Secerno SQLagile datasheetSecerno SQLagile datasheet
Secerno SQLagile datasheet
 
SQL under the hood
SQL under the hoodSQL under the hood
SQL under the hood
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12
 
Rock Solid SQL Server Management
Rock Solid SQL Server ManagementRock Solid SQL Server Management
Rock Solid SQL Server Management
 
How to use VTS with loadrunner
How to use VTS with loadrunnerHow to use VTS with loadrunner
How to use VTS with loadrunner
 
70 640 Lesson08 Ppt 041009
70 640 Lesson08 Ppt 04100970 640 Lesson08 Ppt 041009
70 640 Lesson08 Ppt 041009
 
How to Cure SharePoint Headaches with GSX - Monitor, Measure, Manage - From A...
How to Cure SharePoint Headaches with GSX - Monitor, Measure, Manage - From A...How to Cure SharePoint Headaches with GSX - Monitor, Measure, Manage - From A...
How to Cure SharePoint Headaches with GSX - Monitor, Measure, Manage - From A...
 
Fast Start Failover DataGuard
Fast Start Failover DataGuardFast Start Failover DataGuard
Fast Start Failover DataGuard
 
70 640 Lesson05 Ppt 041009
70 640 Lesson05 Ppt 04100970 640 Lesson05 Ppt 041009
70 640 Lesson05 Ppt 041009
 
New Features Sql 2008
New Features Sql 2008New Features Sql 2008
New Features Sql 2008
 
Second review presentation
Second review presentationSecond review presentation
Second review presentation
 
Mres presentation
Mres presentationMres presentation
Mres presentation
 
Microsoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 Whitepaper
Microsoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 WhitepaperMicrosoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 Whitepaper
Microsoft SQL Server 2008 R2 - Upgrading to SQL Server 2008 R2 Whitepaper
 
MYSQL_Basic_Performance_Tuning_Guidelines_-_V2
MYSQL_Basic_Performance_Tuning_Guidelines_-_V2MYSQL_Basic_Performance_Tuning_Guidelines_-_V2
MYSQL_Basic_Performance_Tuning_Guidelines_-_V2
 
Why you should(n't) run your databases in the cloud
Why you should(n't) run your databases in the cloudWhy you should(n't) run your databases in the cloud
Why you should(n't) run your databases in the cloud
 

Similar to Ssn#14 reporting services part ii

SQL Server Reporting Services
SQL Server Reporting ServicesSQL Server Reporting Services
SQL Server Reporting Services
Ahmed Elbaz
 
Monitor and tune for performance
Monitor and tune for performanceMonitor and tune for performance
Monitor and tune for performance
Steve Xu
 
Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)
pramod singh
 
Sql server briefing sept
Sql server briefing septSql server briefing sept
Sql server briefing sept
Mark Kromer
 
Bala_krishna_resume
Bala_krishna_resumeBala_krishna_resume
Bala_krishna_resume
Bala Krishna
 

Similar to Ssn#14 reporting services part ii (20)

Agile Methodology Approach to SSRS Reporting
Agile Methodology Approach to SSRS ReportingAgile Methodology Approach to SSRS Reporting
Agile Methodology Approach to SSRS Reporting
 
SQL Server Reporting Services
SQL Server Reporting ServicesSQL Server Reporting Services
SQL Server Reporting Services
 
Sample dotnet project
Sample dotnet projectSample dotnet project
Sample dotnet project
 
Dot Net performance monitoring
 Dot Net performance monitoring Dot Net performance monitoring
Dot Net performance monitoring
 
Ssrs 2008 R2 webinar
Ssrs 2008 R2   webinarSsrs 2008 R2   webinar
Ssrs 2008 R2 webinar
 
Monitor and tune for performance
Monitor and tune for performanceMonitor and tune for performance
Monitor and tune for performance
 
SSRS RLS Prototype | Vision and Scope Document
SSRS RLS Prototype | Vision and Scope Document  SSRS RLS Prototype | Vision and Scope Document
SSRS RLS Prototype | Vision and Scope Document
 
Business Analytics System
Business Analytics SystemBusiness Analytics System
Business Analytics System
 
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
Importance of ‘Centralized Event collection’ and BigData platform for Analysis !
 
Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12
 
Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2Whats New Sql Server 2008 R2
Whats New Sql Server 2008 R2
 
PowerShell DSC - State of the Art & Community by Gael Colas
PowerShell DSC - State of the Art & Community by Gael ColasPowerShell DSC - State of the Art & Community by Gael Colas
PowerShell DSC - State of the Art & Community by Gael Colas
 
Ikenstudiolive
IkenstudioliveIkenstudiolive
Ikenstudiolive
 
Sql server briefing sept
Sql server briefing septSql server briefing sept
Sql server briefing sept
 
REPORT ON (1)
REPORT ON (1)REPORT ON (1)
REPORT ON (1)
 
Microsoft SQL Licensing Workshop - Software ONE
Microsoft SQL Licensing Workshop - Software ONEMicrosoft SQL Licensing Workshop - Software ONE
Microsoft SQL Licensing Workshop - Software ONE
 
Datawarehouse and reporting in service manager
Datawarehouse and reporting in service manager Datawarehouse and reporting in service manager
Datawarehouse and reporting in service manager
 
Pysyvästi laadukasta masterdataa SmartMDM:n avulla
Pysyvästi laadukasta masterdataa SmartMDM:n avullaPysyvästi laadukasta masterdataa SmartMDM:n avulla
Pysyvästi laadukasta masterdataa SmartMDM:n avulla
 
Bala_krishna_resume
Bala_krishna_resumeBala_krishna_resume
Bala_krishna_resume
 

More from Antonios Chatzipavlis

More from Antonios Chatzipavlis (20)

Data virtualization using polybase
Data virtualization using polybaseData virtualization using polybase
Data virtualization using polybase
 
SQL server Backup Restore Revealed
SQL server Backup Restore RevealedSQL server Backup Restore Revealed
SQL server Backup Restore Revealed
 
Migrate SQL Workloads to Azure
Migrate SQL Workloads to AzureMigrate SQL Workloads to Azure
Migrate SQL Workloads to Azure
 
Machine Learning in SQL Server 2019
Machine Learning in SQL Server 2019Machine Learning in SQL Server 2019
Machine Learning in SQL Server 2019
 
Workload Management in SQL Server 2019
Workload Management in SQL Server 2019Workload Management in SQL Server 2019
Workload Management in SQL Server 2019
 
Loading Data into Azure SQL DW (Synapse Analytics)
Loading Data into Azure SQL DW (Synapse Analytics)Loading Data into Azure SQL DW (Synapse Analytics)
Loading Data into Azure SQL DW (Synapse Analytics)
 
Introduction to DAX Language
Introduction to DAX LanguageIntroduction to DAX Language
Introduction to DAX Language
 
Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs
 
Exploring T-SQL Anti-Patterns
Exploring T-SQL Anti-Patterns Exploring T-SQL Anti-Patterns
Exploring T-SQL Anti-Patterns
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure
 
Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure
 
SQLServer Database Structures
SQLServer Database Structures SQLServer Database Structures
SQLServer Database Structures
 
Sqlschool 2017 recap - 2018 plans
Sqlschool 2017 recap - 2018 plansSqlschool 2017 recap - 2018 plans
Sqlschool 2017 recap - 2018 plans
 
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018 Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
 
Microsoft SQL Family and GDPR
Microsoft SQL Family and GDPRMicrosoft SQL Family and GDPR
Microsoft SQL Family and GDPR
 
Statistics and Indexes Internals
Statistics and Indexes InternalsStatistics and Indexes Internals
Statistics and Indexes Internals
 
Introduction to Azure Data Lake
Introduction to Azure Data LakeIntroduction to Azure Data Lake
Introduction to Azure Data Lake
 
Azure SQL Data Warehouse
Azure SQL Data Warehouse Azure SQL Data Warehouse
Azure SQL Data Warehouse
 
Introduction to azure document db
Introduction to azure document dbIntroduction to azure document db
Introduction to azure document db
 

Recently uploaded

Recently uploaded (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Ssn#14 reporting services part ii

  • 1. SQLSaturdayNigh 14 t Microsoft SQL Server 2008 R2 Reporting Services Part II Σάββαην 18/02/2012
  • 2. Η παξνπζίαζε απηή ζα θαηαγξαθεί ώζηε λα είλαη δηαζέζηκε γηα όζνπο ζέινπλ λα ηελ μαλαδνύλ, ή δελ είραλ ηελ δπλαηόηεηα λα ηελ παξαθνινπζήζνπλ ζε πξαγκαηηθό ρξόλν. Εάλ θάπνηνο από ηνπο παξαβξηζθόκελνπο ζε απηή έρεη ην νπνηνδήπνηε πξόβιεκα ή αληίξξεζε λα είλαη κέξνο ηεο θαηαγξαθή απηήο, παξαθαιείηαη λα απνρωξήζεη άκεζα. Σε δηαθνξεηηθή πεξίπηωζε ε παξακνλή ζε απηή εθιακβάλεηαη ωο απνδνρή ηεο θαηαγξαθήο. Η παξνπζίαζε απηή διατίθεται δωρεάν, θαη ζα αξρίζεη ζε 1 ιεπηό…
  • 3. Απηή ηελ ζηηγκή ν παξνπζηαζηήο κηιάεη θαη ζαο δεηάεη λα βεβαηώζεηε όηη ηνλ αθνύηε. Εάλ απηό δελ είλαη δπλαηόλ παξαθαιείζηε λα αιιάμεηε ην ρξώκα ηεο θάξηαο ζαο ζην αληίζηνηρν ρξώκα ώζηε λα ηνλ ελεκεξώζεηε. Απηό κπνξεί λα γίλεη παηώληαο ηελ αληίζηνηρε επηινγή πνπ βξίζθεηαη ζην πάλω δεμί κέξνο ηνπ πεξηβάιινληνο ηνπ live meeting. Σαο επραξηζηνύκε γηα ηελ ζπλεξγαζία.
  • 4. Reporting Services Microsoft SQL Server 2008 R2 Part II Antonios Chatzipavlis Solution Architect - Principal Consultant - SQL Server Evangelist & MVP MCT, MCITP, MCPD, MCSD, MCDBA, MCSA, MCTS, MCAD, MCP, OCA
  • 5. sp_who 1982 >The first contact with computers. 1988 > I started my professional carrier in IT, especially in software development. 1998 > I earned my 1st Certification as MCSD (3rd in Greece). Since then I certified as MCP, MCSD, MCT, MCDBA, MCAD, MCTS, MCITP, MCPD, MCSA, OCA. 1999 > I started my Trainer carrier as MCT. Since then I have more than 14.000 hours of training 2010 > I became for first time Microsoft MVP on SQL Server. Leader of IAMCT Europe Greek Chapter Moderator of autoexec.gr Member of the dotNETZone.gr
  • 6. Connect with me “ blog” sqlschoolgr @antoniosch .wordpress.com help@sqlschool.gr http://sqlschool.gr
  • 8. SSRS Security Model SSRS is a .NET application. Use Role-based authorization. During installation, sets up the local administrator pool with the System Administrator and Content Manager roles. Securables Folder, Report, Model, Resources, Shared Data Sources
  • 9. How Role Assignments Work Tasks A set of underlying permissions SSRS comes with 25 different tasks. Item-level tasks Tasks level that acts on an item in the Report Server catalog, such as folders, models, reports, and resources System-level tasks Tasks level that can be performed on objects that are not in the catalog but are global in scope, such as site settings and shared data sources.
  • 10. SSRS Policies Is the relationship between items that need to be secured, roles, and users. Is responsible for mapping out the minimum set of permissions required for securing a report item. Individual policy is a mapping of users or groups (principals) with a required role needed for access. Each item in the catalog can have multiple policies defined; however, no single item can have two policies that apply to the same principal.
  • 11. Built-In Roles System Level Item Level Roles Roles Browser System Administrator Content Manager System user Report Builder My Reports Publisher
  • 12. demo
  • 15. Schedules Shared Report Specific Can be used to trigger Used for one and only a number of events one specific event throughout the Report Server
  • 16. demo Create & Manage Schedules
  • 17. Report Execution and Processing Retrieves the report definition Data processing Layout processing Rendering
  • 18. Report-Execution Timeouts Report Execution Query Timeout Is the amount of time a report can take Specify how long an individual query to process. This value is specified at a can take to come back from the data system level, and can be overridden for source. This value is specified inside individual reports. To set this the reports, by specifying the timeout setting, click the Site Settings tab and property while creating a data set. modify the Report Execution Timeout Query timeouts can also apply to data- property. The default value is 1800 driven subscriptions. seconds. SSRS evaluates the execution timeout for running jobs every 60 seconds.
  • 19. Running Processes aka Jobs User Jobs System Jobs Running an on-demand report Processing a data-driven subscription Rendering a report from a snapshot Scheduling a generation of a snapshot Generating a new snapshot Scheduling report execution Processing a subscription  SSRS comes by every 60 seconds and checks on the status of any in progress jobs.  Canceling a running job does not guarantee that a query has stopped processing on the remote data server.  The property RunningRequestsDbCycle in the RSReportServer.config file sets how often the Report Server evaluates running jobs.
  • 20. Report-Execution History In these days of endless audits, SOX (Sarbanes- Oxley), and now PCI (Payment Card Industry), it is becoming essential to know when someone within an organization accesses data. It is also helpful to know this information from an organizational and planning perspective. As more and more reports get published, how often reports get looked at and by whom could be essential information.
  • 21. SSRS Execution Log • Name of the physical machine that ran the report (Report Server, not database server) • Unique ID of the report • Unique ID of the user running the report • Whether the request came from a user or system process • What rendering format was used • Values of the report parameters • When the report process started and when it finished • Amount of time the server took to process the report in milliseconds • Type of data used for execution (live, cached, snapshot, history) • Final status code of the report processing (success or first error code) • Final size of the rendered report in bytes • Number of rows returned in the data sets of the rendered reports
  • 22. demo How to Report Off the Execution Log
  • 25. What is a Subscription Subscription setting up a job on the Report Server to deliver a report to a user at a specified point in time without the user actively going to the Report Server and running the report.
  • 26. Subscription Fundamentals User must have access to view the report. User must have a role assignment that includes the task Manage Individual Subscriptions before subscribe to the report. The report has to be able to run independently, that is, the data sources must use either stored credentials or no credentials. The report must have a configured delivery method. The built-in ones include email and file sharing. You must specify a rendering extension for the subscribed report. Some trigger or event is required to run the subscription. Usually, this is a scheduled event, based on either a custom or shared schedule. The parameter values for any parameter in a report must be specified or defaulted.
  • 27. Uses of Subscriptions Deliver reports to end users. Save reports for offline viewing Send long-running reports or large reports directly to disk. Preload the Report Server’s cache.
  • 28. Standard vs Data-Driven Subscriptions Standard Data-Driven Users can create and manage standard The data used for the subscription subscriptions for themselves. must come from a query. All the information for the subscription is static, which means that the The list of recipients is derived via a information has to be specified when query. the subscription is created (and that the information cannot be modified at Users can create customized reports runtime). for recipients based on preferences of that recipient or that recipient’s role within the organization. Even the delivery style and location can be customized.
  • 29. Delivery Options email File Share Null Custom
  • 30. demo Creating a Simple Subscription
  • 32. Managing & Monitoring Subscriptions can be managed with Report Manager. Report subscriptions are managed just like any other property of a report. The Status column is crucial for monitoring the execution of a subscription in case the subscription runs into a processing error.
  • 35. Monitoring Tools Report Server Execution Log Trace Log HTTP Log
  • 36. Performance Objects MSRS 2008 Web Service MSRS 2008 Windows Service Report Server Service
  • 38. Key Management Backing Up the Symmetric Key rskeymgmt -e -f rsdbkey.snk -p<password> Restoring the Symmetric Key rskeymgmt -a -f rsdbkey.snk -p<password> Changing the Symmetric Key rskeymgmt –s Deleting the Symmetric Key rskeymgmt -d
  • 41. ROCKING WITH KNOWLEDGE IN SQL SERVER