SQLSaturdayNigh                14tMicrosoft SQL Server 2008 R2Reporting ServicesPart IIΣάββαην 18/02/2012
Η παξνπζίαζε απηή ζα θαηαγξαθεί ώζηε λα είλαηδηαζέζηκε γηα όζνπο ζέινπλ λα ηελ μαλαδνύλ, ή δελείραλ ηελ δπλαηόηεηα λα ηελ ...
Απηή ηελ ζηηγκή ν παξνπζηαζηήο κηιάεη θαη ζαο δεηάεη λαβεβαηώζεηε όηη ηνλ αθνύηε.Εάλ απηό δελ είλαη δπλαηόλ παξαθαιείζηε λ...
Reporting ServicesMicrosoft SQL Server 2008 R2 Part IIAntonios ChatzipavlisSolution Architect - Principal Consultant - SQL...
sp_who1982 >The first contact with computers.1988 > I started my professional carrier in IT,       especially in software ...
Connect with me                “ blog”              sqlschoolgr@antoniosch   .wordpress.com   help@sqlschool.gr http://sql...
Security
SSRS Security ModelSSRS is a .NET application.Use Role-based authorization.During installation, sets up the local administ...
How Role Assignments WorkTasksA set of underlying permissionsSSRS comes with 25 different tasks.Item-level tasksTasks leve...
SSRS PoliciesIs the relationship between items that need to besecured, roles, and users.Is responsible for mapping out the...
Built-In RolesSystem Level           Item Level RolesRoles                  BrowserSystem Administrator   Content ManagerS...
demo
Questions?
Execution / Processing
SchedulesShared                   Report SpecificCan be used to trigger   Used for one and onlya number of events       on...
demoCreate & Manage Schedules
Report Execution and ProcessingRetrieves the report definitionData processingLayout processingRendering
Report-Execution TimeoutsReport Execution                           Query TimeoutIs the amount of time a report can take  ...
Running Processes aka JobsUser Jobs                                    System JobsRunning an on-demand report             ...
Report-Execution HistoryIn these days of endless audits, SOX (Sarbanes-Oxley), and now PCI (Payment Card Industry), it isb...
SSRS Execution Log•   Name of the physical machine that ran the report (Report Server, not    database server)•   Unique I...
demoHow to Report Off the Execution Log
Questions?
Subscriptions
What is a SubscriptionSubscription setting up a job on the ReportServer to deliver a report to a user at aspecified point ...
Subscription FundamentalsUser must have access to view the report.User must have a role assignment that includes the task ...
Uses of SubscriptionsDeliver reports to end users.Save reports for offline viewingSend long-running reports or large repor...
Standard vs Data-DrivenSubscriptionsStandard                                    Data-DrivenUsers can create and manage sta...
Delivery Options       email   File Share       Null    Custom
demoCreating a Simple Subscription
demoCreating a Data-Driven Subscription
Managing & MonitoringSubscriptions can be managed with Report Manager.Report subscriptions are managed just like any other...
Questions?
Administration
Monitoring ToolsReport Server Execution LogTrace LogHTTP Log
Performance ObjectsMSRS 2008 Web ServiceMSRS 2008 Windows ServiceReport Server Service
Configuration ItemsEmail DeliveryUnattended Execution AccountMemory
Key ManagementBacking Up the Symmetric Keyrskeymgmt -e -f rsdbkey.snk -p<password>Restoring the Symmetric Keyrskeymgmt -a ...
Questions?
Σαςεσταριστώ
ROCKING WITH KNOWLEDGE IN SQL SERVER
Upcoming SlideShare
Loading in …5
×

Ssn#14 reporting services part ii

530 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
530
On SlideShare
0
From Embeds
0
Number of Embeds
57
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ssn#14 reporting services part ii

  1. 1. SQLSaturdayNigh 14tMicrosoft SQL Server 2008 R2Reporting ServicesPart IIΣάββαην 18/02/2012
  2. 2. Η παξνπζίαζε απηή ζα θαηαγξαθεί ώζηε λα είλαηδηαζέζηκε γηα όζνπο ζέινπλ λα ηελ μαλαδνύλ, ή δελείραλ ηελ δπλαηόηεηα λα ηελ παξαθνινπζήζνπλ ζεπξαγκαηηθό ρξόλν.Εάλ θάπνηνο από ηνπο παξαβξηζθόκελνπο ζε απηή έρεηην νπνηνδήπνηε πξόβιεκα ή αληίξξεζε λα είλαη κέξνοηεο θαηαγξαθή απηήο, παξαθαιείηαη λα απνρωξήζεηάκεζα.Σε δηαθνξεηηθή πεξίπηωζε ε παξακνλή ζε απηήεθιακβάλεηαη ωο απνδνρή ηεο θαηαγξαθήο.Η παξνπζίαζε απηή διατίθεται δωρεάν,θαη ζα αξρίζεη ζε 1 ιεπηό…
  3. 3. Απηή ηελ ζηηγκή ν παξνπζηαζηήο κηιάεη θαη ζαο δεηάεη λαβεβαηώζεηε όηη ηνλ αθνύηε.Εάλ απηό δελ είλαη δπλαηόλ παξαθαιείζηε λα αιιάμεηε ηνρξώκα ηεο θάξηαο ζαο ζην αληίζηνηρν ρξώκα ώζηε λαηνλ ελεκεξώζεηε.Απηό κπνξεί λα γίλεη παηώληαο ηελ αληίζηνηρε επηινγήπνπ βξίζθεηαη ζην πάλω δεμί κέξνο ηνπ πεξηβάιινληνοηνπ live meeting.Σαο επραξηζηνύκε γηα ηελ ζπλεξγαζία.
  4. 4. Reporting ServicesMicrosoft SQL Server 2008 R2 Part IIAntonios ChatzipavlisSolution Architect - Principal Consultant - SQL Server Evangelist & MVPMCT, MCITP, MCPD, MCSD, MCDBA, MCSA, MCTS, MCAD, MCP, OCA
  5. 5. sp_who1982 >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 training2010 > I became for first time Microsoft MVP on SQL Server.Leader of IAMCT Europe Greek ChapterModerator of autoexec.grMember of the dotNETZone.gr
  6. 6. Connect with me “ blog” sqlschoolgr@antoniosch .wordpress.com help@sqlschool.gr http://sqlschool.gr
  7. 7. Security
  8. 8. SSRS Security ModelSSRS is a .NET application.Use Role-based authorization.During installation, sets up the local administrator poolwith the System Administrator and Content Managerroles.SecurablesFolder, Report, Model, Resources, Shared Data Sources
  9. 9. How Role Assignments WorkTasksA set of underlying permissionsSSRS comes with 25 different tasks.Item-level tasksTasks level that acts on an item in the Report Server catalog, such as folders, models,reports, and resourcesSystem-level tasksTasks level that can be performed on objects that are not in the catalog but areglobal in scope, such as site settings and shared data sources.
  10. 10. SSRS PoliciesIs the relationship between items that need to besecured, roles, and users.Is responsible for mapping out the minimum set ofpermissions 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 policiesdefined; however, no single item can have two policiesthat apply to the same principal.
  11. 11. Built-In RolesSystem Level Item Level RolesRoles BrowserSystem Administrator Content ManagerSystem user Report Builder My Reports Publisher
  12. 12. demo
  13. 13. Questions?
  14. 14. Execution / Processing
  15. 15. SchedulesShared Report SpecificCan be used to trigger Used for one and onlya number of events one specific eventthroughout the ReportServer
  16. 16. demoCreate & Manage Schedules
  17. 17. Report Execution and ProcessingRetrieves the report definitionData processingLayout processingRendering
  18. 18. Report-Execution TimeoutsReport Execution Query TimeoutIs the amount of time a report can take Specify how long an individual queryto process. This value is specified at a can take to come back from the datasystem level, and can be overridden for source. This value is specified insideindividual reports. To set this the reports, by specifying the timeoutsetting, 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 executiontimeout for running jobs every 60seconds.
  19. 19. Running Processes aka JobsUser Jobs System JobsRunning an on-demand report Processing a data-driven subscriptionRendering a report from a snapshot Scheduling a generation of a snapshotGenerating a new snapshot Scheduling report executionProcessing 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. 20. Report-Execution HistoryIn these days of endless audits, SOX (Sarbanes-Oxley), and now PCI (Payment Card Industry), it isbecoming essential to know when someone withinan organization accesses data.It is also helpful to know this information from anorganizational and planning perspective.As more and more reports get published, howoften reports get looked at and by whom could beessential information.
  21. 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. 22. demoHow to Report Off the Execution Log
  23. 23. Questions?
  24. 24. Subscriptions
  25. 25. What is a SubscriptionSubscription setting up a job on the ReportServer to deliver a report to a user at aspecified point in time without the useractively going to the Report Server andrunning the report.
  26. 26. Subscription FundamentalsUser must have access to view the report.User must have a role assignment that includes the task Manage IndividualSubscriptions before subscribe to the report.The report has to be able to run independently, that is, the data sources must useeither stored credentials or no credentials.The report must have a configured delivery method. The built-in ones include emailand 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 scheduledevent, based on either a custom or shared schedule.The parameter values for any parameter in a report must be specified or defaulted.
  27. 27. Uses of SubscriptionsDeliver reports to end users.Save reports for offline viewingSend long-running reports or large reportsdirectly to disk.Preload the Report Server’s cache.
  28. 28. Standard vs Data-DrivenSubscriptionsStandard Data-DrivenUsers can create and manage standard The data used for the subscriptionsubscriptions for themselves. must come from a query.All the information for the subscriptionis static, which means that the The list of recipients is derived via ainformation has to be specified when query.the subscription is created (and that theinformation cannot be modified at Users can create customized reportsruntime). 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. 29. Delivery Options email File Share Null Custom
  30. 30. demoCreating a Simple Subscription
  31. 31. demoCreating a Data-Driven Subscription
  32. 32. Managing & MonitoringSubscriptions can be managed with Report Manager.Report subscriptions are managed just like any otherproperty of a report.The Status column is crucial for monitoring the executionof a subscription in case the subscription runs into aprocessing error.
  33. 33. Questions?
  34. 34. Administration
  35. 35. Monitoring ToolsReport Server Execution LogTrace LogHTTP Log
  36. 36. Performance ObjectsMSRS 2008 Web ServiceMSRS 2008 Windows ServiceReport Server Service
  37. 37. Configuration ItemsEmail DeliveryUnattended Execution AccountMemory
  38. 38. Key ManagementBacking Up the Symmetric Keyrskeymgmt -e -f rsdbkey.snk -p<password>Restoring the Symmetric Keyrskeymgmt -a -f rsdbkey.snk -p<password>Changing the Symmetric Keyrskeymgmt –sDeleting the Symmetric Keyrskeymgmt -d
  39. 39. Questions?
  40. 40. Σαςεσταριστώ
  41. 41. ROCKING WITH KNOWLEDGE IN SQL SERVER

×