29
Deepak Kumbhar [June 11 th , 2009] Reporting Services Deep Dive

Deepak Kumbhar [June 11 th , 2009]

  • Upload
    dory

  • View
    46

  • Download
    0

Embed Size (px)

DESCRIPTION

Reporting Services Deep Dive. Deepak Kumbhar [June 11 th , 2009]. SQL Server 2008 Reporting Services Deep Dive. Agenda. Reporting Services 2008 Architecture Report Engine Improvements Report Rendering Improvements Memory Management New Controls Tablix [demo] Charts and Gauges [demo] - PowerPoint PPT Presentation

Citation preview

Page 1: Deepak Kumbhar  [June 11 th , 2009]

Deepak Kumbhar [June 11th, 2009]

Reporting Services Deep Dive

Page 2: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Agenda

• Reporting Services 2008 Architecture• Report Engine Improvements• Report Rendering Improvements• Memory Management• New Controls

- Tablix [demo]- Charts and Gauges [demo]

• Report Builder 2.0 [demo]

2

Page 3: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Benefits of Eliminating IIS from SSRS Architecture• Easier configuration

- IIS settings for other applications impact SSRS.• Better resource management

- IIS is designed for static or dynamic HTML pages and not for executing large reports for many concurrent users.

- Memory management is easier to implement outside of IIS and can be efficiently managed.

• Consolidation of two services into one- Communication process between services is now eliminated.

• Elimination of deployment obstacles- SQL Server DBAs lacking IIS skills.- IT policies prevent IIS and SQL Server on same server.

3

Page 4: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

4

Reporting Services 2008 Architecture

Page 5: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Report Engine Improvements

• On-demand processing of reports with many datasets and data regions

• Reports with heavy usage of interactivity can be significantly faster

• Faster page-by-page navigation when viewing reports interactively

• Smaller memory footprint

You probably now think -- thanks that’s nice; and where is the catch?

5

Page 6: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Processing and Rendering Architecture

TableMatrixListChart

Calcs

Storage

Data

2005

Tablix

Grou

p

Winforms

Webforms

CSV

XML

PDF

Image

ROM

HTML

Image

HTML

Excel

Print

ImageHard Page

Layout

Data

Soft PageLayout

Chart

2008

6

Page 7: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Understanding Memory Management

Low Memory Pressure

Medium Memory Pressure

HighMemory Pressure• Current requests

continue• New requests accepted• Background low priority

• Current requests continue• New requests might be accepted• Memory allocations reduced for all

apps• Background largest reduction

• Current requests slow• New requests denied• Memory allocation

reduced • Memory swaps to disk

7

Page 8: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Configuring Memory Changes

Full Memory Range KB

WorkingSetMaximum

MemoryThreshold

MemorySafetyMargin

WorkingSetMinimum Low memory pressure

Medium memory pressure

High memory pressure

Boundaries of medium pressure %

8

Page 9: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Introducing Tablix

2001 2002 Total

20,235 74,281 94,517

10,085 10,085

8,369 8,369

4,545,337 9,190,838 13,736,175

2,850,012 10,765,177

13,615,189

7,415,584 20,048,750

27,464,334

Accessories Helmets

Locks

Pumps

Bikes Mountain Bikes

Road Bikes

Grand Total

Product

Accessories

Helmets

Locks

Pumps

Bikes

Mountain Bikes

Road Bikes

Grand Total

Avg Sale

18.19

19.56

14.92

11.94

964.54

1,445.61

722.10

794.52

Tabl ixe + Matr

9

Page 10: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

• Flexible grid layout - Fixed columns and dynamic rows like a Table- Dynamic rows and columns like a Matrix- Any combination of Table and Matrix layouts

• Flexible grouping- Nested groups- Adjacent groups- Recursive groups

Features of Tablix Control

10

Page 11: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Tablix Examples

Hierarchical rows with dynamic headers

2001 2002

Accessories 20,235 92,735

Helmets 20,235 74,281

Locks 10,085

Pumps 8,369

Bikes 7,395,349 19,956,015

Mountain Bikes 4,545,337 9,190,838

Road Bikes 2,850,012 10,765,177

2001 2002

Accessories Total 20,235 92,735

Helmets 20,235 74,281

Locks 10,085

Pumps 8,369

Bikes Total 7,395,349 19,956,015

Mountain Bikes 4,545,337 9,190,838

Road Bikes 2,850,012 10,765,177

11

Current Desired

Page 12: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Mixing dynamic and static columns

Avg Sale

Accessories Helmets 19.56

Locks 14.92

Pumps 11.94

Bikes Mountain Bikes 1,445.61

Road Bikes 722.10

2001 2002

Accessories Helmets 20,235 74,281

Locks 10,085

Pumps 8,369

Bikes Mountain Bikes 4,545,337 9,190,838

Road Bikes 2,850,012 10,765,177

Current

Desired

2001 2002 Avg Sale

Accessories Helmets 20,235 74,281 19.56

Locks 10,085 14.92

Pumps 8,369 11.94

Bikes Mountain Bikes 4,545,337 9,190,838 1,445.61

Road Bikes 2,850,012 10,765,177 722.10

Tablix Examples

12

Page 13: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Tablix ExamplesParallel Dynamic Groups

Europe North America

Accessories Helmets 6,963 87,554

Locks 1,050 9,035

Pumps 963 7,406

Bikes Mountain Bikes

569,244 13,166,930

Road Bikes

731,682 12,883,507

2001 2002

Accessories Helmets 20,235 74,281

Locks 10,085

Pumps 8,369

Bikes Mountain Bikes

4,545,337 9,190,838

Road Bikes

2,850,012 10,765,177

Current

Desired2001 2002 Europe North America

Accessories Helmets 20,235 74,281 6,963 87,554

Locks 10,085 1,050 9,035

Pumps 8,369 963 7,406

Bikes Mountain Bikes 4,545,337 9,190,838 569,244 13,166,930

Road Bikes 2,850,012 10,765,177 731,682 12,883,507

13

Page 14: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Tablix ExamplesNon-Aggregate Details in Subtotals

14

Q1 Q2 Total

Prof Enrolled Prof Enrolled Prof Enrolled

Calculus Galt 20 Rand 28 Galt 48

Physics Ellis 25 Chan 30 Ellis 45

Yoga Zehn 41 Tou 29 Zehn 70

Biology Rasa 32 Starr 48 Rasa 80

Q1 Q2 Total

Prof Enrolled Prof Enrolled Enrolled

Calculus Galt 20 Rand 28 48

Physics Ellis 25 Chan 30 45

Yoga Zehn 41 Tou 29 70

Biology Rasa 32 Starr 48 80

Desired

Current

Page 15: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Tablix Examples

15

Scope-specific aggregates in subtotals2005 2006 Total

Jan-Jun Jul-Dec Total Jan-Jun Jul-Dec Total

$ Gr $ Gr $ Gr $ Gr $ Gr $ Gr $ Gr

Cog 10 - 15 - 25 - 11 1 20 5 31 6 56 -

Sprocket 20 - 25 - 45 - 22 2 30 5 52 7 97 -

2005 2006 Total

Jan-Jun

Jul-Dec

Total Jan-Jun

Jul-Dec

Total

$ Gr $ Gr

Cog 10 15 25 - 11 20 31 6 56

Sprocket 20 25 45 - 22 30 52 7 97

Desired

Current

Page 16: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Tablix Examples

16

Non-detail aggregates in subtotals

2005 2006

NY Joe 50 60

Sue 80 100

Total Count 2 2

Sales 130 160

Avg 65 80

Page 17: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Rendering Improvements• CSV Renderer redesign

- True data renderer, not a combination of data and layout- Removing the layout information means the data output file can be

consumed more readily by other applications.

• Excel Renderer- Supports rendering of subreports and nested data regions

17

Page 18: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

New Word Renderer

18

• Output RDL to Microsoft Word binary format (.doc)• Support for Word 2000 and later• Documents fully editable in Word

Page 19: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Rich Text Formatting

• Apply different format properties to selected text within a textbox

- Font settings: Color, Font, TextAlign

- Paragraph settings: Indent, SpaceAfter, SpaceBefore- List settings: ListLevel, ListStyle

• Use HTML tags in selected text- Action: HTML – Interpret HTML tags as styles

19

Page 20: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Reporting Services

demo Tablix Control

20

Page 21: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Data Visualization

21

• MS has acquired Dundas Software’s Data• Visualization products

- Chart- Gauge- Map - Barcode- Calendar

• New Chart and Gauge in SSRS 2008• Other controls planned for post-2008

Page 22: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

New Chart TypesStepped Line

Range (Spline Area)

Pie Callout

Polar

Radar

Range Column/Bar

Funnel

Pyramid

Boxplot/Error

22

Page 23: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Gauges and Indicators• Display and monitor real-time data• Use as dashboard or scorecard components for visualizing KPIs

23

Page 24: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Reporting Services

demo Data Visualization

24

Page 25: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Report Builder 2.0 / Report Designer

Globals

Data Pane

Parameters

Data Source

& Dataset

Office-style Ribbon

Properties Pane

Group Task Pane

Expression Placeholders

25

Page 26: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep DiveFeature Comparison

26

Report Designer

ReportBuilder

2.0

Report Builder 1.0

Full RDL SupportShared Layout Surface

Shared Dialogs

Report Models

Office 12 Look & Feel

VS Integration

Integrated Query and LayoutFull Report Model Support

Click through ReportsLimited RDL Support

Page 27: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Reporting Services

demo Report Builder 2.0

27

Page 28: Deepak Kumbhar  [June 11 th , 2009]

SQL Server 2008 Reporting Services Deep Dive

Resources• Application Domains for Report Server Applications, http://msdn2.microsoft.com/en-us/library/bb934330(SQL.100).aspx

• Configuring Authentication in Reporting Services, http://msdn2.microsoft.com/en-us/library/bb283249(SQL.100).aspx

• About URL Reservations and Registration (Reporting Services), http://msdn2.microsoft.com/en-us/library/bb677364(SQL.100).aspx

• Group Variables in SSRS 2008 for Custom Aggregationhttp://blogs.msdn.com/robertbruckner/archive/2008/07/20/Using-group-variables-in-reporting-services-2008-for-custom-aggregation.aspx • Reporting Services WMI Provider, http://msdn2.microsoft.com/en-us/library/ms152836(SQL.100).aspx

28

Page 29: Deepak Kumbhar  [June 11 th , 2009]

Deepak Kumbhar [email protected]

Thank You

29