microsoft sql server 2000 reporting services ( 주 ) 아이티즌 서정만 선임연구원...

29
Microsoft SQL Server 2000 Reporting Services ( 주 ) 주주주주 주주주 주주주주주 aejusjm@itisn. net

Upload: james-marshall

Post on 22-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Microsoft SQL Server 2000Reporting Services

( 주 ) 아이티즌서정만 선임연구원[email protected]

Reporting Services 소개

Reporting Services Overview Reporting Services Life Cycle Report Authoring/Management/Delivery

The Reporting Life Cycle

DELIVERYDELIVERY

Runtime report rendering

Pull

Report Manager

Custom

Push

E-mails

Custom

Runtime report rendering

Pull

Report Manager

Custom

Push

E-mails

Custom

MANAGEMENTMANAGEMENT

Central Report Server database

Managed report execution

Secured reports

Web-based Report Manager or custom

Central Report Server database

Managed report execution

Secured reports

Web-based Report Manager or custom

AUTHORINGAUTHORING

RDL

Any .NET managed data provider

Report Designer or custom

RDL

Any .NET managed data provider

Report Designer or custom

Highlights of Reporting Services

Authoring Wide range of supported data sources Open report authoring options Flexible report designs

Management Parameterized reports Execution properties Report scheduling and history Role-based security

Delivery Range of rendering options Flexible and extensible delivery

Reporting Services Scenarios

Internal reporting Departmental Corporate

External reporting Business to business

Embedded reporting Portals Applications

Authoring Reports

Report Definition LanguageReport Definition Language

List / Table / Matrix / Chart

Sorting / Filtering / Grouping / Aggregates

Interactivity (drill-down, drill-through)

Parameters

Full Visual Basic .NET Expression Language

List / Table / Matrix / Chart

Sorting / Filtering / Grouping / Aggregates

Interactivity (drill-down, drill-through)

Parameters

Full Visual Basic .NET Expression Language

Access through ADO.NET managed

data providers

Access through ADO.NET managed

data providers

OLE DB

ODBC

OLE DB for OLAP

OLE DB

ODBC

OLE DB for OLAP

Development optionsDevelopment options

Report Designer

Third Party

Report Designer

Third Party

Managing Reports

Publish reports to a centralized report server database

General report management tasks: Define execution schedule–on demand or in adva

nce Set up security Maintain report folders Administer user features

Management roles Content manager System administrator

Delivering Reports

Runtime rendering Web – HTML, MHTML Print – PDF, TIFF Data – CSV, Excel, XML

Pull delivery – User issues report request Report Manager Custom

Push delivery – Report is automatically distributed to user E-mail File Custom

Reporting Services Platform

Report Sources

DeliveryChannels

SecurityServices

Output Formats

Report Server

Data ProcessingData Processing

RenderingRendering

SecuritySecurity

DeliveryDelivery

Report ProcessingReport Processing

Programmatic Interfaces

Web UI

Microsoft Office

Microsoft Office

Custom Applications

Custom Applications

Report Server Database

BrowserBrowser

Reporting Services Components

Component Prerequisites

Server

Report ServerReport Manager

IIS .NET Framework

Report Server Database

SQL ServerSQL Server Agent

E-mail Delivery Extension

SMTP Server

Client

Report Designer Visual Studio .NET

UtilitiesWindows Management Instrumentation

Single Server Deployment

Client

Report AuthorReport AuthorUserUser

Server

IISIIS

Report Manager Report

Manager

Report ServerReport Server

Report Server Database

SMTPSMTP

Report DesignerReport Designer

Visual Studio .NET

Visual Studio .NET

Web Farm Deployment

UserUser

Web Farm Virtual Report Server

MSSQL

MSRS

Report Server Database

MSRS

SMTPSMTP

IISIIS

Report Manager Report Manager

Report ServerReport Server

DEMO (Basic Reporting)

Authoring Management Delivery

DEMO (Interactive Navigation)

Using Dynamic Visibility Creating a Document Map Initiating Actions

DEMO (Parameter / Filter)

Using Parameter Using Filter

Reporting Services

Executing Reports On-Demand Executing Cached Instances Executing Snapshot Reports Subscriptions Rendering Reports Using URL Access Report Printing in Windows Applications

Executing Reports On-Demand

Every report request triggers the same execution process: Retrieves up-to-date data and processes report Creates intermediate report and temporarily stores result in

the session cache in ReportServerTempDB Renders using intermediate report

Rendered Report

Intermediate Report .Published

Report

Report RequestReport Request

Executing Cached Instances

Initial request triggers execution process (subsequent requests only use step 4)

1. Retrieves most up-to-date data and processes report2. Creates intermediate report and stores intermediate result in the

cache in ReportServerTempDB3. Flags intermediate report as a cached instance 4. Renders report from cached instance

First Report RequestFirst Report Request Other Report RequestOther Report Request

Report Server Cache

Rendered Report

Intermediate Report .

Published Report

Snapshot Creation

Report RequestReport Request

Executing Snapshot Reports

Data retrieval and processing occurs in advance of report browsing1. Scheduled event occurs2. Creates the intermediate report and stores result as a snapshot in the r

eport server database3. Requests are satisfied by retrieving and rendering the snapshot

Report Server Snapshot Cache

Rendered Report

Intermediate Report .

Published Report

Rendered Report

Using Report History

Report histories store snapshots for future reference History requests are satisfied by retrieving a specific historical

snapshot

Snapshot History

History RequestHistory Request

Snapshot

Published Report

DEMO (Cached Instance/Snapshot)

Executing Cached Instances Executing Snapshot Reports Using Report History

Subscriptions

Mechanisms to execute and deliver rendered reports

Two types of subscriptions: Standard – end-user driven Data-driven – administrator driven

Default delivery extensions: E-mail (SMTP) File share

DEMO (Subscriptions)

Data-driven Subscriptions

Rendering Reports Using URL Access

Use a hyperlink from a Web page http://localhost/ReportServer?/Reports/

SalesReport&rs:Command=Render Additional parameters allow rendering control

http://.../SalesReport&rs:Command=Render&rc:Toolbar=false&rc:Zoom=200

URL can include report parameters URL sent as plain text – use SSL for security Web service detects appropriate HTML level for

browser

DENO (URL Access)

Web Browser VB 6.0

Report Printing in Windows Applications

Using Adobe Acrobat Reader Using Adobe Acrobat Control for ActiveX (PDF.OCX) Using Microsoft Office Document Imaging Viewer Co

ntrol (MODI) Using PrintDialog Control (Win Form)

DENO (Report Printing)

Using Adobe Acrobat Reader Using Adobe Acrobat Control for ActiveX (PDF.OCX) Using Microsoft Office Document Imaging Viewer Co

ntrol (MODI) Using PrintDialog Control (Win Form)