Professional Documents
Culture Documents
10 - Introduction To Db2 Web Query
10 - Introduction To Db2 Web Query
Important Links
1
21/05/2021
• INFORMATION vs. DATA – easily spot trends NOW vs. wait until its too late
• Keep the data, but also the reports and visibility to files secure
• MANAGE the whole BI stack just like you do any other IBM i Licensed Program Product
– HA/DR, Backups, Security, PTF Management, Start/Stop, Work Management
2
21/05/2021
Modularize for flexibility Un-couple data access from RPG Modernize Query/400
Approaches Improve User Interface Shift to SQL foundation Leverage integrated BI solution
Enable for any HLL usage Enforce business rules in database Deliver interactive reports, dashboards
Phase in - for minimal disruption Visualize data for better analysis
“Our modernization of reporting tools with Db2 Web ©Query SAVED the AS/400 in our company” – Gary West Huhtamaki
2018 IBM Corporation
3
21/05/2021
DATA SOURCES
Query/400 SQL Scripts Aggregated Data Programs (defined Excel
SQL Views (EVIs, MQTs) as Stored Procs) Non Db2 for i
Files/Tables Data Sources
ETL BI
Data
Warehouse
Reports/Dashboards/Visualizations or even a Data Warehouse
4
21/05/2021
Dashboards OLAP
“Insightful” “Extensible”
10
5
21/05/2021
– Standard Edition
Adds report distribution, integration APIs
Adds non Db2 Database Adapters
Virtually unlimited runtime users support
Optionally add JDEdwards Adapter
11
Savings compares adding user licenses to Express vs. Upgrading to new Edition
Calculated using U.S. List Prices and includes SW Maintenance
ibm.biz/db2wq-blog-neweditions Assumes you already own Express Edition + 2 user licenses
12
6
21/05/2021
• Interactive Dashboards
• Excel Integration
13
14
7
21/05/2021
User Interfaces
• Excel: Plug in
15
16
8
21/05/2021
17
18
© 2018 IBM Corporation
18
9
21/05/2021
19
• Hyperlinked Reports
– More customized links from a report to
• Another report
• A website
• A BI Portal Refresh
20
10
21/05/2021
• Visualizations
– Interactive Dashboards
• Live data
• Drill downs and ups are automatically
built for you
• Filter controls automatically built
• “Lasso” filtering within view
21
Now that you have a report let’s turn it into an “OLAP” Report
22
11
21/05/2021
23
24
12
21/05/2021
25
Dashboards
• Personal Dashboards – My Favorite
Reports on a single window pane
26
13
21/05/2021
27
28
14
21/05/2021
Demo Time!
29
• There are many ways to integrate database aspects into Db2 Web
Query
– Can often improve performance
– Can often simplify difficult reporting challenges
– Can leverage what you do in Db2 in other applications
30
15
21/05/2021
Salary Analysis
• Your HR department wants to ensure salaries are equitable across the company and
across departments and there aren’t outliers or other discrepancies
– What is the employee’s salary compared to the average WITHIN their department?
– What is an employee’s ratio of salary within their department and overall company?
– For each employee, compare their salary to the two closest behind this person’s salary,
and the two closest ahead of them in salary
31
With IBM i 7.3, Db2 for i supports the following additional OLAP specifications for
summarizing and referencing rows within windows of result sets:
32
16
21/05/2021
The Process
• Create a SQL Views (or script) using new 7.3 SQL Extensions
33
The Process
• Within Db2 Web Query, create a “synonym” (term for meta data) over each of the SQL Views
34
17
21/05/2021
The Process
35
Examples
36
18
21/05/2021
QUESTIONS?
37
38
19
21/05/2021
Data Replication
‒ Ongoing Log (Journal Receiver based) in near real time
Data Migration
‒ One time or on going data synchronization across different databases
Data Preparation
‒ Consolidate and/or transform data in preparation for feeding into
predictive analytics or Watson
Data Warehousing or Data Mart Automation
‒ Timed ETL
Spreadsheet Consolidation
‒ Automate upload of spreadsheet of flat file data to offer reporting
combining this data with DB2 data
© 2018 IBM Corporation
39
IBM Bluemix
Db2 for i
Power Systems(IBM i)
40
20