[uruguay] db2 web query for i - hernando bedoya

31
© 2011 IBM Corporation DB2 Web Query for i Hernando Bedoya – DB2 for i Evangelist [email protected] Latinamerican Roadshow 2011 – Bogota, Colombia

Upload: ibmssa

Post on 18-Nov-2014

1.116 views

Category:

Business


4 download

DESCRIPTION

Power, potencia su planeta.

TRANSCRIPT

Page 1: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

DB2 Web Query for iHernando Bedoya – DB2 for i [email protected]

Latinamerican Roadshow 2011 – Bogota, Colombia

Page 2: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

Acknowledgments

� Thanks to Robert Andrews from IBM STG Lab Services-Rochester author of this presentation.

Page 3: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

3

DB2 for i Enablers for DW

� DB2 Engine

– SQL Query Engine (SQE)

• 5x Query Performance

Improvement

• Real time statistics

• Autonomic Indexes

• Star Schema Awareness

– Database Parallelism

– Materialized Query Tables

– Encoded Vector Indexing

– Remote Journaling

*See detailed certified benchmark results at http://www.sap.com/solutions/benchmark/bimxl.epx

� Management

– On Demand Performance Center

� Business Intelligence

– DB2 Web Query

Page 4: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

Today’s Mid-market BI Landscape

� Business Intelligence Remains HOT

– BI ranked #1 four straight years in Gartner CIO

survey of top priorities

– BI ranks #1 in Aberdeen Group study of technologies with the most business impact in

the next 2-5 years

� Mid-market companies have different requirements but want similar benefits:

– Budget is smaller

– Staff is limited– Admin, DBAs– “The full capabilities of most BI tools are

overkill for the typical SMB (Small and Medium

Business).” – Aberdeen Group

4

Page 5: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

IBM DB2 Web Query for i : A Brief History Lesson

� SQL introduced in V2R1 in 1991 (adoption was slow)

� Strategic database language

� Major investment in SQL

– EVIs, parallelism, SQE

� No native query or BI tool to leverage SQL

What about Query/400?

– No modern interfaces

– No modern output formats

– No SQL – no ability to leverage latest

technology (SQE)

� IBM and Information Builders alliance: DB2 Web Query! 5

Page 6: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

6

Upgrade into BASE Product from Query/400

� The BASE product (V1R1M2) web enables Query/400 – Highly intuitive, ribbon based, drag and drop report builder

(InfoAssist)

– Add additional functionality (compared to Query/400) to reports • Link Reports by clicking on “hot spot”

• Add Conditional Styling (“if revenue less than forecast, highlight in

RED”)

• Push data directly from DB2 into Spreadsheets including pivot tables

• Over 100 charts and graphs

• Boardroom quality PDF output

• Access remote DB2 for i data sources

– Leverages the LATEST in DB2 for i Query Optimization Technology

• Better performance, better analysis tools• Many more techniques available to process queries

Page 7: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

7

BASE Product Tools

� InfoAssist� New Ribbon Based GUI for building reports,

charts, and compound documents

� View what you’re building as you build it!

� Report/Graph Assist� Web based tools with guided query building

more similar to building a Query/400 report but with much more functionality

� Power Painter� Web based PDF builder with canvas and

layout look and feel

Page 8: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

8

InfoAssist

8

� Create simple queries, as well as highly

complex reports, charts, and dashboards from

multiple sources using simple Ribbon-like interface

� Convert reports to charts or charts to reports or

analyze multiple reports and charts

simultaneously, tiling them to view data from multiple perspectives

� Will extend “report author” community beyond just I/T personnel

� Only available with v1.1.2

� Upgrade into 1.1.2 on 5.4 and up

� DB2 Web Query SW Maintenance required

Page 9: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

9

Import Query/400 Definitions

Then Modify with

Report Assistant or

execute from any

of the tools

Page 10: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

10

You could STOP HERE, and you’d potentially have:

•Web Based interactive queries for limited users

•Many more output formats

•Improved performance

•Linked (Drill down) reports

But with a little EXTRA EFFORT

You could be a SUPER HERO!

Page 11: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

11

DB2 Web Query: Making Information Easily Accessible

Email

00--ClickClick

Run Time User

11--ClickClick

Dashboards

11--ClickClick

Guided Ad Hoc

22--ClickClick

Report AssistOLAP

33--ClickClickAnalysts orDevelopers

Business UsersAnd Executives

Internal

External – Customers, Partners, CitizensOthers

Page 12: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

12

Benefits of DB2 Web Query Additional Features

� Reduce Report Maintenance– Reduce number of reports to maintain

• Through modernized reporting capabilities such as OLAP and parameterized reports

� Remove Dependency on IT to deliver information– Empower End Users with interactive analysis (OLAP)

– Shield complexities of database from report authors and end users with meta data layer

� Extend into Business Intelligence– Add Dashboards, self service or disconnected analytics

Page 13: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

13

Build Dashboards with Rich Internet Application Layout tool

� Look and feel of fat client application on a zero footprint client

� Leverage HTML Composer component of Developer Workbench

� Build KPI (Key Performance Indicator) view of the business for executives� Layout multiple KPIs onto single view� Link reports to common parameter

� Example: allow end user to select geography of interest and all charts automatically reflect selection

� No programming required

Page 14: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

14

Empower End Users with On Line Analytical Processing

� With the OLAP feature you can replace 10’s of Query/400 reports with a SINGLE DB2 Web Query report

� A single report is a starting point for interactive, real time multi-dimensional data analysis� Drill down� Add or remove fields/columns by dragging and

dropping� Pivot rows and columns� Navigate across any dimension � Create charts from navigation point� Save report based on navigation point

� Requires Developer Workbench license to define dimensions and measurements� No CUBES Required� No data duplication required

Page 15: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

15

Provide Analysis to Mobile Workers with Active Reports

� Simply specify as an output option

� Generates PC File with SNAPSHOT of data and manipulation scripts

� “Actively” work with snapshot of data� Create calculated fields� Filter data� Visualize fields/columns� Export to other formats

� Word, Powerpoint� Create charts

� Requires Supported Browser

Page 16: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

16

Improve Productivity of Report “Authors” with Meta Data

� Standardize Field/Column Formats– Ex, use commas, set currency symbol,

suppress leading zeros

� Standardize/Decompose Date Fields– Ex: Integer defined as MMDDYYYY

� Create Filters– Ex: Define a set of countries as “Europe”

� Define JOINS

� Create Business Views– Organize Columns/fields for easier report

development

Page 17: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

17

Integrate DB2 and Microsoft Products

� Spreadsheet Client– Improve the experience for Excel Users

– Plugs right into spreadsheet

– Build/Run queries from within Excel

– Leverage Templates for dashboards

� SQL Server Adapter– Extend the reach of DB2 Web Query

– Support pulling data from multiple SQL

Server databases with a single adapter– Join data from DB2 and SQL Server and

avoid data replication

Page 18: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

1818

Enable querying of Oracle JDEdwards application databases

� Oracle JDEdwards OneWorld and EnterpriseOne adapter

– Feature of DB2 Web Query

– Does not affect SW Maintenance

� Supports querying application databases running in IBM i 5.4 and up

� Provides meaningful data element names, automates date conversion, converts

numeric data

� The adapter preserves data integrity and security during report execution by

automatically interfacing to the application’s meta data and security layers

Page 19: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

19

� Automated Delivery Of Information– On Scheduled Basis

• Through Admin GUI• Daily, Weekly, Specific Days, exclude rules,

etc.– On Event Basis

• Some customization required

� Intelligent bursting– Ex: Regional Sales Report

� Additional output formats for batch reporting– (HTML, PDF, Excel, Active HTML)

� Delivery Destinations– E-mail– Printer– Save the reports for later viewing

� Notify Function– Send notification when report is complete or fails– Report Logging

� Requires DB2 Web Query BASE Product to be installed

Automate Report Execution and Distribution

Page 20: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

Copyright 2007, Information Builders. Slide 20

DB2 Web Query SDK - Definition

� The Web Query SDK is a collection of Web Services that allow WebQuery content to be easily exposed to any application that can call a Web Service

� Callable from many languages:– C, C++, C#, VB.NET, PHP, Java, RPG, COBOL

� Web Query customers– Create their own front-end applications to run

Web Query reports and graphs (Portal, Corporate Look and Feel)

� ISVs– Simple way to deliver an applications that

contains Web Query content– Simple way to deliver an application that

controls Web Query content, e.g., Change Management Application

20

Page 21: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

21

Page 22: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

22

Integrate DB2 Web Query functions with applications

22

� Lab Services offerings that extend DB2 Web Query and

simplify integration of functions in existing or customized

applications

� Application Extension

� Provides a URL based interface

� Removes complexity of programming

� Supports any programming language

� 5250 Reporting Extension

� Enables execution of reports from a 5250 app

� Provides CL command supporting most output options

� e-mail/FTP, or store a report locally

� Both require Run Time Enablement feature of DB2 Web Query for production environment

� Application Extension requires 5733-QU4 for development environment

Page 23: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

23

23

http://lp12ut21:12321/wqsoa/report/?&zrdDomain=db2wbqry%2Fdb2wbqry.htm&zrdFolder=%23visiblea56gb&zrdReport=app%2Fproduct_revenue_state_report.fex&STATE=California

Create hotspot on map that links to execution of a detailed report

DB2 Web Query Integration Toolkit Extension Example

Page 24: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

2424

DB2 Web Query 5250 Reporting Extension

RUNWQFEX command

Page 25: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

“The most widespread technical problem reported by practitioners was slow query performance.”

� Survey of over 2000 companies that have implemented Business Intelligence Applications

– The BI Survey 8 – Nigel Pendse,

Don’t let your project fail because you missed the most critical success factor!

DB2 for i has some great query optimization technology - but you need to make sure you are using it!

Page 26: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

*Use a voucher

� DB2 for i web site – articles, papers, presentations

– ibm.com/systems/i/software/db2/

� Briefings, consulting and guidance on demand*

� DB2 Web Query Getting Started Services*

� DB2 for i Modernization Workshop

� DB2 for i SQL Performance Workshop

� DB2 for i Performance Checkup*

� DB2 for i remote database administration and engineer services

For More Information, Contact Mike Cain ([email protected]) or Mark Even ([email protected])

Note: Traditional Performance Analysis addresses RESOURCE utilization, but does not address database optimization

DB2 for i Center of Excellence (Lab Services)

Page 27: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

27

To Learn More: DB2 Deep Dive Webinar Series

� DB2 Web Query Report Broker

� Integrating DB2 Web Query with Microsoft® products

� Raising the analytics bar with DB2 Web Query Online Analytical Processing (OLAP) feature

� Are you getting the maximum performance out of your DB2 Web Query reports?

� Building and deploying Dashboards with DB2 Web Query Developer Workbench and Active Dashboards

To view replays of these webinars, go to:

http://www.ibm.com/systems/i/software/db2/webquery/db2_webinars.html

Page 28: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

28

For More Information: www.ibm.com/systems/i/db2/webquery

� Self Running Demos

– 40 minute overview– 75 minute deeper dive

– Links to webinar series

� Helpful Getting Started Tab

– Latest Installation Instructions

– Links to our “community”

– Education and RedBook Offerings– Recent Articles (tips and techniques)

� Additional Product Information

� Access to Developer Workbench trial

� Papers

– FAQs

– Why i for BI– How Run Time Enablement Works

Page 29: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

Important Links

� IBM developerWorks site for DB2 Web Querywww.ibm.com/developerworks/spaces/DB2WebQuery

– Registration Recommended

– KnowledgeBase– Forum– Links to Additional Information

– WIKI – Repository of technical

information

� DB2 Web Query home page

www.ibm.com/systems/i/db2/webquery

� Getting Started with DB2 Web Query Redbookhttp://www.redbooks.ibm.com/abstracts/sg247214.html

– Tutorial Driven– Download Sample Database

29

“This forum is SUPER helpful”- DB2 Web Query Forum User

Page 30: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

30

Page 31: [Uruguay] DB2 Web Query for i - Hernando Bedoya

© 2011 IBM Corporation

IBM Systems Technical University – Prague, Czech Republic, 4 – 7 April, 2011

31

SESSION EVALUATIONS

�Please fill in the session evaluation sheets.

�They can be found at the entrance of the break-out room.

�A prize winner is drawn every day from the completed evaluations.

�The winner’s name is announced at lunch time and displayed on the plasma screens.

�Prizes can be collected at the Welcome Desk.