IBM DB2 Web Query for i 2€¦ · DataMigrator ETL tool for building data warehouses Advanced HTML5...
Transcript of IBM DB2 Web Query for i 2€¦ · DataMigrator ETL tool for building data warehouses Advanced HTML5...
7/3/2017
1
IBM DB2 Web Query for i 2.2
Simona Pacchiarini [email protected]
DB2 Web Query for i – Intuitivo, facile, estensibile
2
Funzioni di Analytics e evoluzione da Query/400 per i clienti IBM iSoluzione a basso costo ed alto valore aggiunto per uograde da Query/400
Grazie ai medatati si definiscono best practice di accesso ai datiSfrutta le tecnologie di Advanced Query Optimizatin di DB2 for i
Accesso alle informazioni di business significative, in modo facile e veloce
per interrogazioni , rapportistica cruscotti ed analisi
7/3/2017
2
DB2 Web Query• Tool nativo IBM i per rapportistica/BI
– facile ed intuitivo– robusto– potente– produttivo– estensibile– prestazioni ottimizzate
• Crea prospetti, grafici e cruscotti nelbrowser ed in vari formati
– Excel incluse tabelle pivot – Tecnologie “Active” (ottimo per mobile)– PDF, File, Print, Database– Report con auto drill down (OLAP) – HTML, HTML5, Flash
• Esegue nel browser tradizionale o in ambiente mobile
• Possibilità di importare le definizioni di Query/400
DB2 Web Query, la storia• DB2 Web Query è stato disegnato per:
– Modernizzare la rapportistica RPG e Query/400 e allinearsi con le strategie di modernizzazione di database
– Sfruttare le potenzialità di IBM i e del DMBS DB2 for IBM i• Basato su SQL• Utilizza SQE
– Fornire una robusta soluzione di Business Intelligence – Avere una politica di costi molto contenuti
Circa 2007Import Query/400
GUI Authoring Tools
Output to Excel, PDF, HTML, “active” reports
Leverages SQE
Meta Data Layer
Developer Workbench for advanced dashboarding
2007-09Run Time Licensing
Automated job scheduling and distribution
Excel Plug In
SQLServer as data sourceRedbook
SDK for application integration
2010-11New GUI Authoring tool
JDEdwards Adapter
Query/400 conversion toolsImproved Dasbhoarding
Change Management
Run Time Environments
2012-13Version 2.1.0
Simplified Packaging with Express and StandardCore based pricing
Mobile Device SupportNew Security Center
New BI Portal Interface
Personal Dashboards
DB2 Family as data sources
2014 - 2015Geographical MappingWizard AnalyticsDataMigrator ETL tool for building data warehousesAdvanced HTML5 Charts/graphs
DB2 Web Query Solution Edition
Updated Redbook
Updated Education (OD04 1 day class, OD05 3 day advanced workchop)
How to get started videos
2016 - 2017Version 2.2 Auto Size DashboardsEnhanced DataSource Support for MySQL, Postgres or Generic JDBCDeveloper Workbench Usability Features
Browser or mobile device specific development options
EZ-Install Package DB2 Web Query Usage ReportsSample Reports for the IBM i Systems Administrator
e 7.3
V2.2 per 7.1, 7.2
e 7.3
7/3/2017
3
IBM DB2 Web Query 2.2 - EdizioniExpress Edition
Portale come interfaccia utenteSupporta tutti i tool di creazione di metadati e rapportisticaSecurity Center per gestione profile utenteUtilizzo in ambiente Mobile Si possono ordinare licenze utente aggiuntiveSi possono ordinare licenze Developer Workbench
Standard EditionTutte le capacità di Express ed in piùPossibilità di avere utenti run time virtualmente illimitati
Si possono ordinare licenze addizionali di gruppi runtime
Pianificazione delle esecuzioni e distribuzione dei risultati, anche con eventuali esplosioniCapacità di integrazione applicativaAdattatori per accesso a database eterogenei edapplicazioni (SQL Server, MySQL, Postgres, generic JDBC Adapters , opzione x JDE adapter)
Prezzo base per CORE, si aggiungono utenti/gruppi secondo necessità
Consentito subcapacity pricing La mia LPAR ha assegnati 3 core, posso comprare la licenza per 1 solo core DB2 Web Query!
IBM DB2 Web Query, politica di licenza
• Prezzo base per CORE, si aggiungono tanti utenti quanti ne servono• Consentito subcapacity pricing
– La mia LPAR ha assegnati 3 core, posso comprare la licenza per 1 solo core DB2 Web Query!
Domande comuni:• Quanti utenti di DB2 Web Query sono inclusi nel prezzo base?
– La licenza per 1 core Express include 2 utenti registrati– La licenza per 1 core Standard include 2 utenti registrati & 2 gruppi di esecuzione (runtime groups)
• Per avere 10 utenti, devo avere licenze per 5 core? – Assolutamente NO. Potete agiungere licenze utente a WQE o WQS indipendentemente dal numero
dei core. • Avevo 15 utenti aggiuntivi con QU2 su un sistema P05. Li perdo con il passaggio alla V2?
– Certo che no, le licenze aggiuntive vengono migrate nel nuovo prodotto. Se avete la Standard Edition, potete definire in fase di upgrade se le licenze aggiuntive vengono migrate come utentiregistrati o convertite in gruppi di esecuzione.
• Che succede se non voglio licenze per tutti i core definiti automaticamente da IBM in fase di migrazione (o se me ne servono di meno)?
– Possibilità di alterare il numenro di core in fase di upgrade via e-config. – Subcapacity disponibile con IBM i 7.1, 7.2 & 7.3
7/3/2017
4
Metadati: posare le fondamenta
La differenza tra un tool di query GUI e una soluzione di Business Intelligence e’ il livello di astrazione fornito dai Metadati che vi consentono di:
• Documentare il vostro database (probabilmente ora scarsamente documentato)
• Standardizzare il significato dei dati in un solo posto (versione unica della verità…)
• Espandere la comunià di autori di report perchè non devono conoscere tutte le complessità dei dati né il linguaggio SQL
• Integrare funzioni DB2, stored procedure e usare i dati risultato nei vostri report (molto potente e flessibile)
• Definire relazioni tra tabelle/file e tra elementi dati per nascondere le complessità del database e fornire capacità di analisi avanzate senza programmazione (ad esempiocapacità di drill down automatico)
7
Con DB2 Web Query si parte dai Metadati
• Standardizzare formati di Campi/Colonne– Ex, uso dei separatori, simboli di valuta,
soppressione zeri iniziali non significativi• Standardizzare/Decomporre campi Data
– Ex: Numeri usati per rappresentare MMDDYYYY• Creare Filtri
– Ex: Definire un insieme di paesi come “Europa”• Definire JOIN e rapportistica Dimensionale• Creare Business View
– Organizzare colonne/campi per svilupposemplificato di report
• Definire Stored Procedure, View, UDF a livello deiMetadati per ottenere funzioni molto furbe:– Text Search – Sfruttare il web per inglobare info meteo o notizie
locali nei cruscotti aziendali– Richiamare programmi RPG esistenti che
restituiscono un result set
7/3/2017
5
DB2 Web Query accede a tutti i dati di DB2 for i :
Metadati DB2 Web Query
DB2 Web Query non vede gli oggetti di DB2 for idirettamente ma richiede i propri Metadati (Sinonimi)
– Metadati creati su tabelle/file contengonoinformazioni simili a quelle fornite dal comandoIBM i DSPFFD
– metadati create su stored procedure definisconoun result set
I Metadati sono oggetti permanenti che risiedono in IFS– Non e’ necessario ricrearli ammenocche’ il
tracciato del file non cambi
Metadati devono essere create anche per il richiamo di *QRYDFN esistentiIn V2 Metadati:
• sono collegati alle cartelle (ogni cartella ha una corrispondente applicazione che contiene i suoi metatadi)• possono essere creati e gestiti con l’interfaccia Web
• tabelle/file fisici• viste/file logici• alias• stored procedure • materialized query table
IBM DB2 Web Query for i – Interfaccia Utente
• Per lavorare con DB2 Web Query:
– BI Portal – interfaccia standard per gli utentiEsegue gli oggetti (prospetti, grafici, cruscotti)ModificaPianifica le esecuzioniGestisce le cartelleChange ManagementSincronizza con cartella Mobile Favorites Imposta la riservatezzaDefinizione di cruscotti personali
– InfoAssist – Strumento di creazione e modifica di prospetti, grafici e cruscotti
7/3/2017
6
IBM DB2 Web Query for i – InfoAssist
OLAP: Auto Drill Down ed analisi personalizzate
A single drill down (its really “drill ANYWHERE”) 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
– Watch video at ibm.biz/db2webqueryi– (take “View DB2 Web Query End User Demos” link)
7/3/2017
7
Dump the Data Into an Excel Pivot Table
• Sales Report defined with Excel Pivot Table Output
Create/Edit/Run Reports Directly from within Excel
• Using the Excel add-in • Create ad-hoc form to simplify parameter selection for end users
14
7/3/2017
8
Utilizzo da strumenti “Mobile”
Build once, deploy to any device!Adattamento dinamico al device utilizzato
Conversione automatica a “mobile”Resa del contenuto appropriata per lo strumento utilizzato
App scaricabile gratuitamente per Android e Apple, per la gestione della cennessionee dei prospetti/grafici/cruscotti
Sincronizzazione oggetti tra Mobile Faves e cartella in BI PortalRicezione oggetti in email ed utilizzo offlineUtilizzo del browser del client per collegamento al Sistema ed accesso via BI Portal
Video: ibm.biz/db2webqueryilink “DB2 Web Query End User Demos”
16
Place Your Report onto a Dashboard
Build KPI (Key Performance Indicator) view of the business for executives
– Layout multiple KPIs onto single view– Some, but often minimal interaction
• Example: allow end user to select geography of interest and all charts automatically reflect selection
Multiple deployment models
– “Active” dashboards– Can work with data offline– Good fit for mobile device support
– Advanced dashboards with more sophisticated features– Many additional controls such as a date picker– Highly customizable
– Use Excel features for views, and DB2 Web Query add-in for pulling data from DB2
See video at: ibm.biz/db2webqueryiTake “DB2 Web Query End User Demos” link
7/3/2017
9
La vita facile: Wizard Analytics
• Incluso sia in Express che in Standard
• Automatizza la definizione dei metadata e la costruzione automatic di un set di oggettipredefiniti in base al numero di dimensioni e misure esistenti
• Due wizard– MetaData Wizard per tabelle/file DB2 – Upload Wizard per importare fogli Excel
• Gli wizard creano dei prototipi degli oggetti in base alle definizioni dei dati, consentonopersonalizzazioni prima della finalizzazione deimetadata e modifica dell’output.
• Demo video disponibile ibm.co/db2wqwiki
Grafici a mappa
*Pre-enabled territories are the only ones that are officially certified and QA’d
7/3/2017
10
Cosa aggiunge Standard Edition?
– Run Time User EnablementRisparmio nelle licenze utente
– Adattatori Database SQL Server, MySQL, Postgres e JDBC generico
– Automated report scheduling and distribution• On scheduled or event basis• Intelligent bursting• Additional output formats for batch reporting
o (HTML, PDF, Excel, Active HTML)
• Delivery Destinationso (E-mail / stampa / salvataggio in cartella)
• Notify Function– Application Extension (REST)– 5250 Reporting Extension (RUNWQFEX)– Si possono aggiungere
Utenti aggiuntivi (developer o runtime groups)Developer WorkbenchJDE Adapter
Standard only
Standard only
Integrazione avanzata con IBM i
Workload capping:
abilitazione per core basato su usenti/gruppi*
Comandi CL per impostazione, gestione ed utilizzo di DB2 Web Query!
WRKWEBQRY – Interfaccia amministrativa per la gestione del prodotto
STRWEBQRY – ENDWEBQRY comandi per avviamento/chiusura del prodotto
WRKWQRTE - Interfaccia amministrativa che consente agli utenti DB2 Web Query di cambiare dinamicamente la lista librerie da utilizzare nelle estrazioni
REGWQUSR** - Comando CL per la registrazione degli utenti e l’assegnazione dei permessialle cartelle
RUNBRSCHED – Comando CL per l’esecuzione delle pianificazioni impostate in Report Broker
RUNWQFEX – Comando CL per l’esecuzione di report/grafici, con parametri e scelta del mezzo di distribuzione (email, ftp o cartella) .....
DB2 Web Query è il solo prodotto di BI
con questo livello di integrazione!
* Available with HF3** Available with HF2
7/3/2017
11
DB2 Web Query EZ-Install
• Installa la suite complete del software DB2 Web Query, in trial* all’ultimo livello (inclusi gruppi di PTF):
Express EditionStandard EditionDataMigrator ETL tool
• Include• Database d’esempio dei Tutorial e relative metadati• Set complete degli oggetti dei tutorial (ripristinabili)• DB2 Web Query Usage Reports• Sample Reports for the IBM i Systems Administrator**• Query/400 Report Definition Discovery Tool and Sample Report
Leggete il post su http://db2webqueryi.blogspot.it/Inviate email a [email protected] per richiederlo
*the trial code period for this is 70 days, license keys can be applied** For clients already at V2.2 of DB2 Web Query, sample reports available outside of the EZ-Install package
NEW!!!
Ready to use*Restore from CM:reports included to provide auditing capabilities
– Who is running what reports ?
– How long are the reports taking to run?
– What reports have been changed and who is changing them?
* As of HF1
7/3/2017
12
Tools available on request
• Sample reports for System Administrators– Based on IBM i (SQL) Services– System utilization dashboard– Storage and spoolfile usage – License and PTF Status
• Query/400 Analysis Reports– Reports built over information collected by a discovery tool– Get your arms around your Query/400 definitions
Which ones are obsolete? Which ones are redundant? – Helps build a plan to consolidate and then convert to DB2 Web Query
reports for enhanced functionality
Read post on http://db2webqueryi.blogspot.it/Send an email to [email protected] for request
DataMigrator InformationNew Product ID 5733-WQM‒ Requires either DB2 Web Query Express or
Standard Edition‒ Standard Edition required for MS SQLServer as a
data source‒ DB2 Web Query Developer Workbench required to
set up data and process flows
ETL for IBM i‒ Like DB2 Web Query, all server code and ETL
objects are stored in IBM i‒ Data sources support is based on DB2 Web
Query adapters
INTEGRATED with DB2 Web Query‒ Use meta data created with DB2 Web Query or
vice versa‒ Same look and feel‒ Shared services
7/3/2017
13
Why an ETL (Extraction, Transform, and Load) tool? Isolate Query workloads from Transaction workloads‒ Different workloads require different tuning
• Leverage advanced DB2 for i query optimization and tuning techniques to boost performance without impacting transaction processing
Consolidate data from multiple data sources‒ 70% to 80% of a Business Intelligence (Analytics) project is in
gathering data. This automates the gathering process from multiple data sources (including Excel spreadsheets)
Prepare the data for analytics‒ Transaction oriented databases are designed for short database
operations (create, update, or delete a record). They are not designed for analytical queries and are less than optimal when used as the source for such queries. DataMigrator can create more optimal data models, such as star schemas
‒ Transform and cleanse the data to provide “single version of the truth” set of trusted, secured data
26
Per saperne di più
• DB2 Web Query for i Website– Ibm.biz/db2webqueryi
• DB2 Web Query for i Wiki– Ibm.co/db2wqwiki
• DB2 Web Query Getting Started Enablement:– https://ibm.biz/db2wqconsulting
• Demo: – Wizard Analytics:
https://ibm.biz/DB2WQWizards– End User Demos:
https://ibm.biz/db2wqreportingdemos– Getting Started Videos:
https://ibm.biz/db2wqgettingstarteddemos• Follow “the DB2 Web Query guy” Doug Mack
on twitter at @mckdrmoly or check out his blog at http://db2webqueryi.blogspot.com/ for all the latest news
7/3/2017
14
Product Demos and Getting Started Videos
Product Demos‒ Auto Drill down (OLAP) reporting‒ Dashboard Options‒ Mobile Client Support‒ Upload Wizard‒ Meta Data Wizard
Getting Started‒ Acquiring and Installing‒ Setting up Security‒ Creating Meta Data over Sample database
Access via DB2 Web Query website or wiki‒ Ibm.biz/db2webqueryi‒ Ibm.co/db2wqwiki
New Redbooks for Version 2.2
• SG24-8379 DB2 Web Query The Nuts & Bolts
• SG24-8378 DB2 Web Query Tutorials
Best way of learning to use DB2 Web Query:– Engage an expert for fast start and practice
Or:– Use tutorials– Practice– Practice– Practice