| How Will IBM DB2 Web Query for System i Benefit Your Shop? |
|
|
|
| Database - DB2 | |||||
| Written by Gene Cobb | |||||
| Monday, 12 October 2009 00:00 | |||||
|
f you have been following recent IT industry trends, you may have noticed that there has been a lot of activity in the area of Business Intelligence (BI). Mergers, major acquisitions, and announcements have dominated the headlines in the past year. IBM has been quite active in this area as well. The recent acquisition of Cognos and the announcement of the Dynamic Data Warehouse Initiative are evidence of this. But IBM's i5/OS investment in and commitment to BI has not just been recent; it has been a point of emphasis in the last several releases, going back to V4R1. Consider some of the following database enhancements that have been built into the operating system over the last decade and beyond:
While many enhancements have been made in the database, one area where little was done was a query and reporting tool that could take advantage of these enhancements. Until recently, Query/400 was one of the few IBM i5/OS offerings in this area; and while it was a very successful and popular product, it simply wasn't keeping pace with today's demanding BI requirements. For starters, all aspects of the tool's interfaces (report development, end user invocation, and output formats) are text-based and limited to the green-screen. Another major drawback is that all Query/400 requests are processed by the Classic Query Engine (CQE). This query optimizer technology is not taking advantage of the latest in IBM technology, and products like Query/400 that do not leverage standard SQL interfaces will (for the foreseeable future) only be able to use the less "intelligent" and poorer performing CQE. In fact, CQE has received no major enhancements in several years. IBM has been focusing on SQE, a redesigned database engine that is more efficient and provides more features. At this time, only standard SQL requests are processed by SQE. The result is that Query/400 is unable to leverage the latest database technologies and generally exhibits poorer performance, with limited analysis tools to understand the poor performance.
Interestingly, Query/400 continues to be used by almost every customer. However, the usage of Query/400 is often relegated to being a data extraction tool in a process of moving the data to another database. Over the past several months, while teaching workshops or presenting at conferences or through Webinars, I often poll the audience to get a count of Query/400 usage. Nearly everyone responds that they are using Query/400. However, when I ask how many are using Query/400 as their primary database analysis tool, the number of respondents is a small percentage! It's quite clear that Query/400, while useful and easy to use, simply does not have the functions and features that customers are looking for. Some of those things include the following:
Time for a New Offering: DB2 Web QueryTo fill this void, IBM partnered with Information Builders Incorporated to deliver DB2 Web Query for System i to the marketplace. Information Builders is an IBM Business Partner that has been in the information and reporting business for over 30 years and has long been a leader in delivering BI solutions to their customers. In fact, their WebFOCUS product, recognized by Gartner Group (an industry analyst) as a top BI software product, runs on many platforms (including i5/OS).
The DB2 Web Query product is essentially a subset of WebFOCUS, one that runs natively on i5/OS. The product is sold, marketed, and supported by IBM and in fact is packaged as Licensed Program Product (LPP) 5733QU2 and is installed by using the familiar RSTLICPGM interface.
It must be stressed that while a very powerful product, DB2 Web Query is not WebFOCUS. There are many features in WebFOCUS that are not included in DB2 Web Query. The objective of this product is to provide a query and reporting tool to meet the majority of the BI needs of most System i shops. WebFOCUS is based on the powerful FOCUS 4GL programming language, which supports, behind the scenes, DB2 Web Query. But for a full 4GL implementation to enable highly customized query or application logic, WebFOCUS would be the recommended solution. What Is Different About DB2 Web Query?Unlike many BI solutions, DB2 Web Query was designed as a solution for customers running their business on the System i, with a majority of their data in DB2 for i5/OS, and their IT infrastructure built around that platform. And unlike those other solutions, DB2 Web Query allows you to query your data in DB2 for i5/OS, enabling you to leverage the advantages provided by a database that is tightly integrated with the operating system: database optimization, security, backup, change management, and other procedures and policies. This greatly simplifies the delivery of information to users without a requirement for server farms, data replication, and a completely new set of administration processes and procedures.
It is designed as a Web-based product, minimizing client configuration, licensing, and administration. All components of DB2 Web Query reside in a single installation of i5/OS, including the Web application server, the reporting server, the database engine, the metadata files, and the report definitions.
Other available BI solutions also claim to run natively on System i. A key advantage that DB2 Web Query has over some of these is its ability to generate SQL for data access, thereby leveraging the new SQL Query Engine (SQE). Other solutions rely exclusively on data access techniques such as OPNQRYF and the QQQQRY APIs. These technologies are still supported and do a fine job of data retrieval and manipulation, but all of these non-SQL requests are processed by the older CQE technology. The advantages of SQE over CQE are many and are well-documented in other publications (see the IBM Redbook Preparing for and Tuning the SQL Query Engine on DB2 for i5/OS, SG24-6598), but to summarize, here are the primary SQE benefits:
Base Product 5733QU2The base option for DB2 Web Query includes the development tools and runtime necessary to create a standard, Web-based query and reporting environment. With the base option, you can create reports and graphs that far surpass anything you could do with Query/400.
The product follows a pricing model that is based on the server's processor tier. This means, for example, that a company with a P30 tier will pay more for the product than one that installs it on a P10 tier. Each tier comes with a number of entitled user licenses. Every i5/OS user profile that needs to develop or run reports requires a user license and must be registered using the license manager component of the product. If you need more named user licenses than the tier provides, you can purchase more (at a flat fee per license). However, another option exists to support users through a single or a minimum number of user licenses, and that is the Run Time User Enablement option. More information on that option is provided later in this article.
When you order product id 5733QU2 base option, the following components are included:
Three Data Adapters DB2 Web Query uses three data adapter technologies to access the data in DB2 for i5/OS. Each adapter is used to not only access data, but also create and manage the product's metadata layer (also known as synonyms). Synonyms provide an abstraction layer that describes to DB2 Web Query the overall structure of the data source as well as the specific data elements (field names, field types, etc.). Before you create reports or graphs against any data source, you must first create a synonym for that data source.
Depending on your requirements, you will use one or more of the following data adapters:
Three Web-Based Report Authoring Tools The base option of 5733QU2 comes with three tools that developers can use to create modern reports and graphs:
Report Assistant is a report development tool that provides an easy-to-use, graphical environment for report creation and maintenance. Its intuitive interface eliminates the need for report authors to know database syntax and terminology, allowing them to focus on business logic to quickly create meaningful reports. In addition, its features accommodate several of the BI requirements listed previously. Those features include the following:
Graph Assistant is development tool for creating and editing graphs. It has the same general look and feel as Report Assistant, and in fact offers the same drill-down, conditional styling, output formats, and ad hoc features that Report Assistant does. But unlike Report Assistant, it includes several additional interfaces for selecting the types of graphs you want, as well as ways to customize the pie slices, bars, and x-y axis properties. If you're looking for a specific kind of graph to impress your management, Graph Assistant has over 120 different kinds of charts and graphs to choose from.
Power Painter is a report and graph creation utility. It can also be used as a layout tool for creating composite reports (reports that show multiple reports and graphs from one interface). Although its primary purpose is for creating reports in the PDF format, it can direct the output to HTML, Active Reports, and Excel spreadsheets. It is based on AJAX and Web 2.0 technologies, which means that there is an extensive amount of activity and communication between the client application and the server. As such, it does consume and require more memory on both the client side and on the server. It may appear that there is some overlap between Graph Assistant and Power Painter. This is somewhat true, but there are some differences. A common question is, "When would you use Power Painter instead of Graph Assistant?" Power Painter should be used when you want do the following:
DB2 Web Query Reporting Server The DB2 Web Query Reporting Server is the "workhorse" that resides between the DB2 Web Query users and the database. It employs the data adapters to translate user queries and report requests into SQL statements, performs additional tasks to properly format the results, and delivers the content to the specified output format, ensuring ease of use and efficient requests for the database.
i5/OS Integrated Web Application Server In V5R4, IBM made available a Web application server that is integrated in the operating system. DB2 Web Query uses this application server because it is more lightweight and requires a smaller memory footprint than the WebSphere Application Server. It is also easier to administer, start, and stop. In fact, the i5/OS commands provided by DB2 Web Query handle the starting and stopping of both the reporting server and the integrated application server. The implementation used by DB2 Web Query also uses IBM Technology for Java, the 32-bit Java Virtual Machine (JVM), which further reduces the system resources needed and generally results in better overall application performance.
Additional ComponentsThe DB2 Web Query base product can essentially be thought of as a more modernized version of Query/400. While it is much more robust and feature-rich than Query/400, its capabilities are primarily for querying and reporting, just as the product it strategically replaces.
To take this product to the "next level" requires the implementation of several additional LPP options available from IBM. The powerful features included with these options are what transform DB2 Web Query from a modern reporting tool into a solution that provides true BI capabilities. For example, if you want the ability to enhance the metadata layer and hide the complexity of the database, provide visually rich dashboards to your management, give your business analysts the ability to slice and dice data to solve complex business problems, give your mobile employees access to powerful reports in a disconnected environment, and provide true ad hoc reporting capabilities to empower your end users, you will want take a serious look at these additional options.
Most of these options are server-based, chargeable features that, like the base component, follow a processor tier pricing model. The exception to this is 5733QU2 option 3 (Developer Workbench), which is a PC client application with a flat-fee pricing model. You purchase a license for each PC that the tool is installed on. Let's have a look at each of these options.
Active Reports (5733QU2 Option 1) Active Reports is special report output format (specified in the Report Assistant tool) in which the data and the reporting controls are all stored within a single HTML file. These reporting controls provide the user with a variety of built-in data analysis and manipulation features. Here are some examples:
All these features are built-in and ready to use via a Web browser; no client application is required. In addition, since all the information is encapsulated in a single HTML file, you can do all this in a disconnected mode. The end user works with the data contained in the HTML file and does not require a network connection to the DB2 for i5/OS server.
This also means that users do not have to be registered named users. Only the user who originally ran and populated the report needs to be a licensed user (or member of a Run Time User Enablement group). The report can be distributed (emailed) to anyone, and those recipients simply open the HTML file in a Web browser and have the same information and same data manipulation capabilities as the user who originally created the report.
OLAP (5733QU2 Option 2) Online Analytical Processing (OLAP) is a component of BI software that provides an interactive experience of working with the data. The user typically runs an initial report to analyze data or examine trends. The report may yield information that leads to more questions, or perhaps it may uncover a problem area within the corporation. To help the user gain more insight on the information, an OLAP application enables the user to extract and view the data at different points of view. This could mean dragging and dropping new fields into the report, filtering the data, re-sorting by a specific column, drilling down to the next level of detail, or pivoting specific columns in the report.
To perform this type of function, OLAP tools structure data in a hierarchical design. As such, OLAP is often associated with data that is multi-dimensional (often extracted from cubes or a data warehouse that was designed based on star schema or snowflake schema principles). However, this is not a requirement for DB2 Web Query. Databases that are relational can also be analyzed using the OLAP module in the Report Assistant tool. Once your OLAP dimensions and hierarchies are defined using the Developer Workbench application, report developers can simply "switch on" OLAP to enable these types of capabilities. This feature empowers your users, giving them many ways to dissect and manipulate the data to gain a better understanding of information that is buried within it.
Developer Workbench (5733QU2 Option 3) Developer Workbench is a Windows client-based application that provides additional and advanced features for DB2 Web Query development activities. While synonym creation, as well as report and graph development tasks, can be accomplished by using the other tools, the numerous features provided in this application make it well worth looking into. Some of the highlights include the following:
Runtime User Enablement (5733QU2 Option 4; Available Only with V1R1M1) In March of 2008, the Run Time User Enablement option was added to the product offering. While it provides no additional features, this option gives customers more licensing flexibility when the majority of the users are run-time only.
With the base licensing option of 5733QU2, all users (whether they are report developers or report users) must be explicitly registered as named users using the product's license manager component. Each of these named users consumes a user license. Consequently, a company with many users would be forced to create an environment that is both expensive and difficult to administer. This option was made in response to feedback received from the initial product release based on such environments. With Runtime User Enablement, a company in which the majority of users are run-time only users (perform no report development activities) can license those users under i5/OS group profiles. Each of these group profiles secures a unique set of reports. This means that runtime licensing is based on the number of reports sets being made available rather than the number of uses that access the reports. This can result in significant savings and reduced administration. The FutureIn March of 2008, IBM and Information Builders announced a joint product roadmap for DB2 Web Query. This roadmap provides a glimpse of what is to come in 2008 for this product. Some of the planned product enhancements and offerings included in this announced were:
SummaryQuery/400 was a very popular product and had a great run. Indeed, many thousands of licenses have been sold since 1988, and customers continue to use it today. But as useful as it was, its time as a primary query and reporting tool has passed. A changing of the guard has occurred, and with it comes a wealth of new features to deliver the information that your users need, in the format that they want, and with additional features that allow them to utilize true Business Intelligence capabilities. All this from a product that is designed to leverage all the good things about i5/OS: security, backup and recovery, and use of the integrated database...and all from a single i5/OS server. This means easier installation, maintenance, problem determination, licensing, and queries that are optimized for DB2 for i5/OS.
If you would like more information about this exciting new product, I'd suggest starting with the DB2 Web Query for System i home page.
Also take a look at the IBM Redbook Getting Started with DB2 Web Query for System i, which accompanied the product launch. It contains much more information about the product, tutorials to help you easily get started using the product, and performance tips and techniques to maximize your usage of the latest database technologies. | |||||
View all articles by this author
|
|||||
| Last Updated on Monday, 19 October 2009 08:56 |





