DB2 Web Query whats new
Upcoming SlideShare
Loading in...5
×
 

DB2 Web Query whats new

on

  • 2,043 views

COMMON Europe Congress 2012 - Vienna

COMMON Europe Congress 2012 - Vienna

Statistics

Views

Total Views
2,043
Views on SlideShare
2,043
Embed Views
0

Actions

Likes
1
Downloads
67
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

DB2 Web Query whats new DB2 Web Query whats new Document Transcript

  • IBM Power SystemsDB2 Web Query for i – What’s newTim Rowe timmr@us.ibm.com1 © 2012 IBM CorporationIBM Power SystemsRequirementsIf you have items yourbusiness requires,Submit arequirement!Help IBM understandhow we can help you.2 © 2012 IBM Corporation
  • IBM Power SystemsBackgroundWhat is DB2 Web Query?An IBM i Web-based query and report writing program product First delivered in 2007 as product 5733-QU2 A powerful replacement for IBM Query for iSeries (QU1 product Query/400)Designed to: Provide modernized reporting with extensions into analytics and Business Intelligence Leverage the LATEST in DB2 for i technology Provide BI “best practices” (e.g., meta data layer) Be delivered at low cost Allow customers to keep their data in DB2 for i while – Improving Performance – Reducing report maintenance – Simplifying infrastructure (single server installation)3 © 2012 IBM CorporationIBM Power Systems What is Business Intelligence? MONITOR REPORTING ANALYSIS PREDICT WHAT JUST WHAT HAPPENED? WHY DID IT HAPPEN? WHAT WILL HAPPEN? HAPPENED? Query/ OLAP Data Mining Dashboards/ Reporting Scorecards Historical Data (Data Warehouses/Marts) Real-Time Data (ODS) DB2 Web Query Predictive Analytics Product Source: The Data Warehousing Institute, Smart Companies in the 21st Century, July 2003 OS/EAI-Operation Systems/Enterprise Application Integrations4 © 2012 IBM Corporation
  • IBM Power SystemsThe Challenges of Delivering Analytics with Query/400 The most common way of accessing DB2 for i data for reporting purposes for over 30 years Limited functionality, product is in stable-ized mode – Output to file, printer, or on screen Requires data “expert” to build reports Multi-step processes for simple tasks like viewing the data in a chart in Excel No Impact Analysis or Usage tools – What is the impact of database changes on my Query/400 reports? – How many queries can we get rid of because they are no longer used? No easy way to understand performance impact on system – Older query optimization technology being used – Little usage of governing functions means “run- away” queries are not uncommon Creates negative perception of “AS/400” © 2012 IBM CorporationIBM Power SystemsWhy do you need to TRANSFORM your data? Not everyone understands the data..only the original programmer knows! – Cryptic six character RPG fields – Data meaning buried in the field • If the first character is an “A”, the next 5 characters mean customer number • If the first character is a “B”, then it’s a company ID Not everyone understands the table/file and data relationships – How do I join these 8 files? – How do I more easily roll up data by city/region/country/world? Not everyone AGREES to the meaning of data – Accounting: 1+1 = 2 Sales: 1+1 = 3 ! Not everyone understands complex date functions – Nor how every date is stored in different data TYPEs in the database And no one wants to define these rules in EVERY single report Shield the COMPLEXITIES of the database from Report Authors and End Users opening up additional report authoring capabilities and removing dependency on I/T6 © 2012 IBM Corporation
  • IBM Power SystemsLeverage a Meta Data Layer to Shield Complexity of Operational Databases 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 – Leverage relationships across tables/files Create Business Views – Organize Columns/fields for easier report development Define Multi-Dimensional Relationships – If I drill down on COUNTRY, should I see REGION or DISTRICT? © 2012 IBM Corporation IBM Power Systems For credit rating >7 is “Good”, Meta Data Example: Data Transformation 4-6 is “Average”, <4 is “Bad” © 2012 IBM Corporation
  • IBM Power SystemsDB2 Web Query for i – Intuitive, Insightful, ExtensibleModernize Query/400, Extend into Business Intelligence Authoring Tool Authoring Tool “Intuitive” “Intuitive” Reports & Graphs Reports & Graphs “Flexible delivery” “Flexible delivery” Dashboards Dashboards “Insightful” “Insightful” OLAP OLAP “Extensible” “Extensible”9 © 2012 IBM Corporation 9IBM Power SystemsAnnouncing! DB2 Web Query for i v2.1Modernize Query/400 Reporting with Smarter Analytics for IBM i New Version 2.1 New Product IDs (5733-WQe/WQs) New Core based pricing Announced Available for IBM i v6.1 and v7.1 April 24 Simpler Packaging Options Express Edition Entry level edition Report development Great for small, get started environments Standard Edition Full function capabilities Virtually unlimited runtime users support Generally Available June 1510 © 2012 IBM Corporation
  • IBM Power SystemsV2.1 – Simplified product structure From current product(s) (v1.1.2): To new product (v2.1): BASE Number of Users Express Edition OPTIONS Number of Users Option 1 Active Reports WorkBench Option 2 OLAP Option 3 Developer Workbench Standard Edition Option 4 Run Time User Enablement Number of Users Option 5 Spreadsheet Client WorkBench Option 6 Microsoft SQL Server Adapter Runtime Users Option 7 JD Edwards Application Adapter JD Edwards Application Adapter 5733QU3 Report Broker 5733QU4 SDK Lab Services 5250 Reporting Extension11 © 2012 IBM Corporation 11IBM Power SystemsV2.1 – Simplified product structure Functionality mapping From current product(s) (v1.1.2): To new product (v2.1): BASE Number of Users Express Edition OPTIONS Number of Users Option 1 Active Reports WorkBench Option 2 OLAP Option 3 Developer Workbench Standard Edition. Express plus: Option 4 Run Time User Enablement Number of Users Option 5 Spreadsheet Client WorkBench Option 6 Microsoft SQL Server Adapter Runtime Users Option 7 JD Edwards Application Adapter JD Edwards Application Adapter 5733QU3 Report Broker 5733QU4 SDK Lab Services 5250 Reporting Extension12 © 2012 IBM Corporation 12
  • IBM Power Systemsv2.1 Product enhancements New look and feel – Direct links to Web Query Wiki with Tutorials, Redbook, and Q&A forum, as well as product page with latest offerings and features – New GUI (Portal) for working with reports and folders Improved Mobility Support with ‘My Mobile Favorites’ Web based user management – admin, dba, dev, user, scheduler, workbench User Role Based Security Web browser Meta Data editor Consolidated report development tool (InfoAssist) Integrated OS based report scheduling* And lots more13 © 2012 IBM CorporationIBM Power Systemsv2.1 Product enhancements New look and feel – Direct links to Web Query Wiki with Tutorials, Redbook, and Q&A forum, as well as product page with latest offerings and features – New GUI (Portal) for working with reports and folders Improved Mobility Support with ‘My Mobile Favorites’ Web based user management – admin, dba, dev, user, scheduler, workbench User Role Based Security Web browser Meta Data editor Consolidated report development tool (InfoAssist) Integrated OS based report scheduling* And lots more14 © 2012 IBM Corporation
  • IBM Power Systemsv2.1 Product enhancements New look and feel – Direct links to Web Query Wiki with Tutorials, Redbook, and Q&A forum, as well as product page with latest offerings and features – New GUI (Portal) for working with reports and folders Improved Mobility Support with ‘My Mobile Favorites’ Web based user management – admin, dba, dev, user, scheduler, workbench User Role Based Security Web browser Meta Data editor Consolidated report development tool (InfoAssist) Integrated OS based report scheduling* And lots more15 © 2012 IBM CorporationIBM Power Systemsv2.1 Product enhancements New look and feel – Direct links to Web Query Wiki with Tutorials, Redbook, and Q&A forum, as well as product page with latest offerings and features – New GUI (Portal) for working with reports and folders Improved Mobility Support with ‘My Mobile Favorites’ Web based user management – admin, dba, dev, user, scheduler, workbench User Role Based Security Web browser Meta Data editor Consolidated report development tool (InfoAssist) Integrated OS based report scheduling* And lots more16 © 2012 IBM Corporation
  • IBM Power Systemsv2.1 Product enhancements New look and feel – Direct links to Web Query Wiki with Tutorials, Redbook, and Q&A forum, as well as product page with latest offerings and features – New GUI (Portal) for working with reports and folders Improved Mobility Support with ‘My Mobile Favorites’ Web based user management – admin, dba, dev, user, scheduler, workbench User Role Based Security Web browser Meta Data editor Consolidated report development tool (InfoAssist) Integrated OS based report scheduling* And lots more www.ibm.com/systems/i/db2/webquery * Available in Web Query Standard Edition17 © 2012 IBM CorporationIBM Power SystemsComparing v2.1 Editions Express Edition Portal user interface Supports all metadata and report authoring tools User management security center Mobile support Can order additional licensed users Can order Developer Workbench licenses Standard Edition All capabilities of Express plus Ability to have virtually unlimited run time users Can order runtime group licenses Report scheduling, distribution, and bursting Application integration capability Data and application adapters: SQL Server (included) JDE adapter (optional feature)18 © 2012 IBM Corporation
  • IBM Power SystemsInfoAssist – The integrated development toolIntegrated development tool• Create simple queries, as well as highlycomplex reports, charts, and dashboards frommultiple sources•Convert reports to charts or charts to reportsor analyze multiple reports and chartssimultaneously, tiling them to view data frommultiple perspectives•Generate reports in HTML, AdobeFlash/Flex, Adobe PDF, Microsoft Excel orPowerPoint, DB2 Web Query Active Reports(for offline analysis), and other formats• Familiar Microsoft Office-like ribbon interface• Robust yet simple to use!19 © 2012 IBM CorporationIBM Power SystemsIBM DB2 Web Query for i – InfoAssistInfoAssist splash screen Can create a single report – Replace Report Assistant Can create a single graph – Replace Graph Assistant Can create a document – Replace Power Painter Can start with a single report or single graph and escalate them into a document and add additional elements – Additional reports – Additional graphs – Text – Images20 © 2012 IBM Corporation
  • IBM Power Systems IBM DB2 Web Query for i – InfoAssist21 © 2012 IBM CorporationIBM Power Systems InfoMiniFeature enabled by InfoAssist Create report “slicers” – Filters selected by users at run time Dynamic, user selected output format – Selected by users at run time22 © 2012 IBM Corporation
  • IBM Power Systems Ability to create Rich Internet ApplicationsNew feature in HTML ComposerBenefits of a Rich Internet Application(RIA) • Rich – robust and intuitive • Responsive – quickly updates • Look and feel similar to desktop 23 © 2012 IBM Corporation IBM Power Systems Active Technologies for Mobile Web Apps Ease of Use Single-tap UI paradigm Full gesture & screen rotation support Embedded data analysis and visualization Full offline data interactivity Ease of Development Dynamic device detection Build once, fit in any device Industry Standard Send data with 128-bit encryption Web Apps technology iPhone App-like UI Available in HTML or Flash Download iPad app: http://itunes.apple.com/us/app/mobile-faves/id406033421?mt=8 24 © 2012 IBM Corporation
  • IBM Power SystemsDB2 Web Query Application Extension Provides an easy URL based interface to reports/graphs Based on SDK http://lp12ut21.rchland.ibm.com:12321/wqsoa/reports/re port?&zrdDomain=db2wbqry/db2wbqry.htm&zrdFolder= %23revenuerepor&zrdReport=app/product_revenue_sta Greatly simplifies report integration process te_report.fex&STATE=California Integrate reporting and BIfunctions into customized or existingLine-of-Business applications DB2 Web Query contentintegration without low levelprogramming! 2525 © 2012 IBM CorporationIBM Power SystemsDB2 Web Query Application Extension Based on SDK - Greatly simplifies report integration process http://lp12ut21.rchland.ibm.com:12321/wqsoa/reports/re port?&zrdDomain=db2wbqry/db2wbqry.htm&zrdFolder= %23revenuerepor&zrdReport=app/product_revenue_sta te_report.fex&STATE=California 2626 © 2012 IBM Corporation
  • IBM Power Systems http://lp12ut21.rchland.ibm.com:12321/wqsoa/reports/report?DB2 Web Query Application Integration Extension &zrdDomain=db2wbqry/db2wbqry.htm Based on SDK - Greatly simplifies report integration process &zrdFolder=%23revenuerepor &zrdReport=app/product_revenue_state_report.fex &STATE=California http://lp12ut21.rchland.ibm.com:12321/wqsoa/reports/re port?&zrdDomain=db2wbqry/db2wbqry.htm&zrdFolder= %23revenuerepor&zrdReport=app/product_revenue_sta te_report.fex&STATE=California 2727 © 2012 IBM CorporationIBM Power Systems http://lp12ut21.rchland.ibm.com:12321/wqsoa/reports/report?DB2 Web Query Application Integration Extension &zrdDomain=db2wbqry/db2wbqry.htm Based on SDK - Greatly simplifies report integration process &zrdFolder=%23revenuerepor &zrdReport=app/product_revenue_state_report.fex &STATE=California If no parm is passed in URL, user is automatically prompted http://lp12ut21.rchland.ibm.com:12321/wqsoa/reports/re port?&zrdDomain=db2wbqry/db2wbqry.htm&zrdFolder= %23revenuerepor&zrdReport=app/product_revenue_sta te_report.fex&STATE=California 2828 © 2012 IBM Corporation
  • IBM Power SystemsIBM DB2 Web Query Extension OfferingDB2 Web Query CL Reporting Extension Provides an easy way to invoke DB2 Web Query reports through CL Similar functionality for customers use to invoking Query/400 reports CL interface to run reports send via e-mail (as inline HTML or as an attachment) FTP it to a desired target v2.1 - Part of Web Query Standard Edition v1.1.2 - Provided by IBM STG Lab Services Pricing, ordering and SW Maintenance handled by Lab Services Contact IBM STG Lab Services29 © 2012 IBM CorporationIBM Power SystemsDB2 Web Query CL Reporting Extension30 © 2012 IBM Corporation
  • IBM Power SystemsDB2 Web Query CL Reporting Extension31 © 2012 IBM CorporationIBM Power SystemsDB2 Web Query CL Reporting Extension32 © 2012 IBM Corporation
  • IBM Power SystemsIBM DB2 Web Query for i – Dedicated subsystemSimplified work management -easily allocate/adjust systemresourcesSimplifies starting and stoppingof DB2 Web Query jobsSimplifies measurement andunderstanding of workloadsbeing generated by DB2 WebQuery jobsOne place to look for all DB2Web Query jobs33 © 2012 IBM CorporationIBM Power Systems IBM DB2 Web Query for i – Dynamic User selected output format34 © 2012 IBM Corporation
  • IBM Power Systems IBM DB2 Web Query for i – Dynamic user selected output format 35 © 2012 IBM Corporation IBM Power SystemsDB2 Web Query - New output formats Active Flash Active PDF ** Excel pivot tables **** InfoAssist only 36 © 2012 IBM Corporation
  • IBM Power SystemsDB2 Web Query – Improved date function performance Date functions passed to the DB2 Engine for converting and handling dates Optimized SQL and improved performance! DATECVT – Convert legacy dates Character formats DATECVT(DC_YYMD_CHAR, A8YYMD, YYMD) DATECVT(DC_MDYY_CHAR, A8MDYY, YYMD) DATECVT(DC_DMYY_CHAR, A8DMYY, YYMD) Packed and zoned decimal formats DATECVT(DC_MDYY_DEC, P8MDYY, YYMD) DATECVT(DC_MDYY_DEC, P8MDYY, YYMD) DATECVT(DC_DMYY_DEC, P8DMYY, YYMD) Integer formats DATECVT(DC_MDYY_INT, I8MDYY, YYMD) DATECVT(DC_MDYY_INT, I8MDYY, YYMD) DATECVT(DC_DMYY_INT, I8DMYY, YYMD) DPART and HPART – Extracts components from a date field YEAR, QUARTER, MONTH, and DAY DATEADD, HADD, and DATEDIFF – Date arithmetic 37 © 2012 IBM Corporation IBM Power SystemsEx: DB2 Web Query – Improved date functions performance Created a report that queried a 6 million row table and converted 1 legacy date field to a “smart” date What’s the and displayed 3 other columns So what… big deal Wow!! here? Before improved date functions: Elapsed time to run to completion and display report: Just under 8 minutes After improved date functions: Elapsed time to run to completion and display report: 20 seconds! 38 © 2012 IBM Corporation
  • IBM Power SystemsDirect SQL Function CallsNew Feature for Define/Compute and Filters• supports SQL scalar functions in a requestTo reference an SQL function in a request, prefix the function name with SQL.Examples: I could reallySQL.COALESCE(MARITAL_STATUS, ’UNKNOWN’) use this.SQL.MONTHNAME(ORDERDATE)SQL.MY_UDF(CUSTOMER_NUM, REVENUE) User Defined Function (UDF)39 © 2012 IBM CorporationIBM Power Systems JD Edwards IntegrationJ.D. Edwards Application Adapter• Create reports, graphs,dashboards over JDE data• Handles decimal and dateconversions, provides meaningfulcolumn names, supports JDE UDCsand security model• Support for JDE World andEnterpriseOne40 © 2012 IBM Corporation
  • IBM Power Systems JD Edwards Integration…Without JDE Adapter With JDE Adapter41 © 2012 IBM CorporationIBM Power Systems Creating Synonyms (Metadata Layer)CRTWQSYN CL command• Create metadata for multipleobjects programmatically• Easy to use• Start creating reports with lesssetup time42 © 2012 IBM Corporation
  • IBM Power SystemsMisc Notes Stay current with updates by applying the latest available Web Query group ptfs – SF99637 (IBM i v7.1), SF99636 (IBM i v6.1), SF99635 (IBM i v5.4) Web Query v1.1.2 remains available for order until mid June Upgrades supported to both v1.1.2 and, when available, v2.1 (excludes v1.1.0) – Must be current on DB2 Web Query SW Maintenance (SWMA) – Order a “refresh” download from ESS Website Want to try new version for 70 days? – Download 70 day trial from ESS Website Installation Instructions – https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/W5 16d8b60d32c_4fc5_a811_5f3d840bf524/page/Installation43 © 2012 IBM CorporationIBM Power SystemsNeed help? Important Links “BTW, this forum rocks and isIBM developerWorks site for DB2 Web Query SUPER helpful”www.ibm.com/developerworks/spaces/DB2WebQuery - Forum user – Registration Recommended – KnowledgeBase – Forum – Links to Additional Information – WIKI – Repository of technical informationDB2 Web Query home pagewww.ibm.com/systems/i/db2/webquery Getting Started with DB2 Web Query Redbook http://www.redbooks.ibm.com/abstracts/sg247214.html – Tutorial Driven – Download Sample Database InfoAssist tutorials from developerWorks Wiki (tutorials not yet in Redbook) https://www.ibm.com/developerworks/mydeveloperworks/wikis/home/wiki/W516d8b60d32c_4fc5_a811_5f3d840bf524?lang=en44 © 2012 IBM Corporation
  • IBM Power SystemsIBM Lab Services offerings for DB2 Web QueryThe DB2 for i Center of Excellence team within IBM Lab Services consists of a group of highly trained,senior level consultants with over 150 years of combined experience in helping AS/400, iSeries, System iand now IBM i on Power Systems clients with database related services.DB2 Web Query Getting Started Services: – Three days of onsite assistance – Audience specific training (targeted training modules) Combination of presentation, demonstration and hands on labs covering DB2 Web Query, performance considerations, and critical success factors – Getting started with Meta Data WorkshopQuery/400 Modernization Services – Three days of onsite assistance – Analyze current Query/400 environment using Lab Services developed discovery and analysis tools – Develop roadmap to modernize reporting environment – Build prototype of modernized environment with DB2 Web QueryUse Services Voucher to cover or supplement costs of services – For more information, contact Doug Mack at mackd@us.ibm.com45 © 2012 IBM CorporationIBM Power Systems46 © 2012 IBM Corporation
  • IBM Power Systems Thank you!47 © 2012 IBM Corporation IBM Power SystemsTrademarks and DisclaimersAdobe, Acrobat, PostScript and all Adobe-based trademarks are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, othercountries, or both.Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registeredtrademarks of Intel Corporation or its subsidiaries in the United States and other countries.Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both.Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government Commerce.ITIL is a registered trademark, and a registered community trademark of the Office of Government Commerce, and is registered in the U.S. Patent and Trademark Office.UNIX is a registered trademark of The Open Group in the United States and other countries.Cell Broadband Engine and Cell/B.E. are trademarks of Sony Computer Entertainment, Inc., in the United States, other countries, or both and are used under licensetherefrom.Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.Other company, product, or service names may be trademarks or service marks of others.Information is provided "AS IS" without warranty of any kind.The customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actualenvironmental costs and performance characteristics may vary by customer.Information concerning non-IBM products was obtained from a supplier of these products, published announcement material, or other publicly available sources and doesnot constitute an endorsement of such products by IBM. Sources for non-IBM list prices and performance numbers are taken from publicly available information,including vendor announcements and vendor worldwide homepages. IBM has not tested these products and cannot confirm the accuracy of performance, capability, orany other claims related to non-IBM products. Questions on the capability of non-IBM products should be addressed to the supplier of those products.All statements regarding IBM future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only.Some information addresses anticipated future capabilities. Such information is not intended as a definitive statement of a commitment to specific levels of performance,function or delivery schedules with respect to any future products. Such commitments are only made in IBM product announcements. The information is presented hereto communicate IBMs current investment and development activities as a good faith effort to help with our customers future planning.Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that anyuser will experience will vary depending upon considerations such as the amount of multiprogramming in the users job stream, the I/O configuration, the storageconfiguration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve throughput or performance improvementsequivalent to the ratios stated here.Prices are suggested U.S. list prices and are subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in yourgeography.48 © 2012 IBM Corporation