Académique Documents
Professionnel Documents
Culture Documents
Roger E. Mann
Critical Success Factors For Activating the Data Warehouse
Active
Enterprise
Consistency Single view of the business Scope Across appropriate business functions Reach New operational users, processes, and applications
Intelligence
2
Insights into Action 2007 Teradata PARTNERS
Accelerating Decisions
Business event
Opportunity
Insights into Action
Missed Opportunity
3
2007 Teradata PARTNERS
Query complexity grows Workload mixture grows Data volume grows Schema complexity grows Depth of history grows Number of users grows Expectations grow Business Value
PREDICTING WHAT WILL happen? ANALYZING WHY did it happen? REPORTING WHAT happened?
Continuous Update & Time-Sensitive Queries Become Important Batch Analytical Modeling Grows Ad Hoc Analytics Continuous Update/Short Queries Event-Based Triggering
4
2007 Teradata PARTNERS
Business Requirement:
Standard batch reports Known Questions Limited Ad-hoc Increased Ad-hoc analysis Answers to complex questions that involve cross functional queries Deep analytics used to understand cause/ effect & correlation Formulation of business models based on analytics & observations Timely access to data Integration of strategic and operational business functions Event notification services Automation of Customized offers
IT Challenges:
Data Quality Model Integration Platform scalability Responding to changing data requirements Data Model Integration Data Transformation Analytical tools Ability to handle increased demands for more information Ad-hoc query performance Query performance & user concurrency Timely response to additional data request Tactical query tuning Mixed workload management Changes to the data integrated data model EAI tools Data loading SLAs Integration with CRM System availability & DR Usage of triggers & SP
5
2007 Teradata PARTNERS
Dual Active Reference Arch. External Triggers Hot Stand-by System Mgmt
6
Insights into Action 2007 Teradata PARTNERS
Active Events
Active Access
Teradata Warehouse
Active Load
7
Insights into Action 2007 Teradata PARTNERS
Strategic Intelligence
Tens to hundreds of users Knowledge workers in Strategic Planning, Marketing, Finance, Manufacturing, Quality Assurance, Supply Chain
Sales Reporting, Forecasting, Inventory Analysis, Product Profitability Analysis, Financial Management, Customer Segmentation, Customer Profitability, Compliance, etc.
8
Insights into Action 2007 Teradata PARTNERS
Operational Intelligence
Thousands to tens of thousands of users and customers Gate Agents, Cashiers, Dock Workers, Bank Tellers, Sales, Customer Service Agents, Customers, and Suppliers Self-Service Systems: POS, ATMs, Web
customer/product look up, individualized customer offers, transaction exceptions, supply chain visibility, event detection and notifications
9
Insights into Action 2007 Teradata PARTNERS
Call centers, Sales agents, Gate Planners, analysts, managers, Agents, Suppliers, Logistics, Finance, Marketing Consumers 10s-100s Seconds to hours Daily updates
BI Workbench tools, Excel, Applications Business Critical Low tolerance for down time
Availability
10
Insights into Action 2007 Teradata PARTNERS
Predictable, regimented world of OLTP meets adhoc, ask any question world of data warehousing
SW Development Methodologies Built in QA and Testing Processes Rigid Change Control Practices Strict Problem Resolution and Escalation Procedures
11
Insights into Action 2007 Teradata PARTNERS
Understand the need for cultural change in the IT organization Balance between DSS and Operational users needs The need for clear expectations setting has never been greater SLAs exist whether explicit or not Education and training requirements are continuous
12
Insights into Action 2007 Teradata PARTNERS
Clearly understand requirements Business must own it, IT must manage it Management support
ROI should be stated and understood Must be calculated, measured and published
Well understood DSS environment Mature management and control Infrastructure to manage workflow to the warehouse Core Teradata team with deep expertise Leveraged outside resources when appropriate
Teradata and Teradata knowledgeable consultants and services Start small and grow POC
Incremental approach
Ongoing education
14
2007 Teradata PARTNERS
Strategic Users
Data Miners
Enterprise Logical Data Model (ELDM) deployment. Promote data sharing across analytic applications (strategic and tactical). Create a roadmap that goes beyond a single Business Improvement Opportunity (BIO). Educate the business on the Network Effect in data content and the attractive TCO implications of an enterprise approach.
17
2007 Teradata PARTNERS
Regional sales reports Inventory analysis Cash flow analysis Customer profiles & Trends etc.
But the Active Data Warehouse is an Operational System, just like the transactional systems. So
Q: How does one integrate the ADW with other front line business services? A: Use the Enterprise Reference Architecture to design, implement, & deploy ADW services that interoperate throughout the enterprise.
18
Legacy Environment
EDI C/S
WAN / VAN
Internet / Intranet
WAN / VAN
Transactional Services
MSG-MW
NW BI APPL DA-MW
TX2
APPL DA-MW
QD MSG-MW Event Notification DA-MW MSG-MW Business Rules DA-MW MSG-MW Event Detection DA-MW
QD
EDW A
EDW B
RS
OLTP1
OLTP2
OLTP3
OLTP4
Streaming Batch
Transactional Repositories
Insights into Action
19
Legacy Environment
EDI C/S
WAN / VAN
Internet / Intranet
WAN / VAN
Transactional Services
NW BI APPL DA-MW
EDW A
EDW B
OLTP1
OLTP2
OLTP3
OLTP4
Streaming Batch
Transactional Repositories
Insights into Action
20
Legacy Environment
EDI C/S
WAN / VAN
Internet / Intranet
WAN / VAN
Transactional Services
MSG-MW
NW BI APPL DA-MW
TX2
APPL DA-MW
QD MSG-MW Event Notification DA-MW MSG-MW Business Rules DA-MW MSG-MW Event Detection DA-MW
QD
EDW A
EDW B
RS
OLTP1
OLTP2
OLTP3
OLTP4
Streaming Batch
Transactional Repositories
Insights into Action
21
Legacy Environment
EDI C/S
WAN / VAN
Internet / Intranet
WAN / VAN
Transactional Services
MSG-MW
NW BI APPL DA-MW
TX2
APPL DA-MW
QD MSG-MW Event Notification DA-MW MSG-MW Business Rules DA-MW MSG-MW Event Detection DA-MW
QD
EDW A
EDW B
RS
OLTP1
OLTP2
OLTP3
OLTP4
Streaming Batch
Transactional Repositories
Insights into Action
22
Questions to Answer
So, what is your corporate objective for Enterprise Intelligence? What is your current state?
Master Data Management Usage and measurement of value Executive support and governance
Do you have a roadmap for data or applications? What current part of your warehouse could you leverage in an active mode?
23
Insights into Action 2007 Teradata PARTNERS
Operational Intelligence
100s to 10,000+ Web Speed: Sub second to 5 seconds; Up to minutes Within minutes or hours EAI, SOA, ETL, transaction or web servers. Triggers, SP and UDFs
Single AMP, planned, tested, tuned PPI, Global, Sparse, JI, AJI Indexing Target tables,
Performance
TASM, DQM, Priority Scheduler. Segregation of strategic, tactical, loading and reporting functions Mission Critical No tolerance for down time; Dual Active Systems
24
2007 Teradata PARTNERS
Availability
Systems Management Best Practices Development Best Practices Organization and Cultural Considerations
25
Insights into Action 2007 Teradata PARTNERS
Application Differences Active Data Warehouse requires best in class Performance Management Develop and use a solid baseline benchmark Proactively monitor and measure data growth Capacity Planning and Management Escalation Processes Disaster Recovery and Fault Resilience Clearly define and quantify SLAs
26
Insights into Action 2007 Teradata PARTNERS
Understand current resource usage levels at system and granular level Collect data and information Identify heavy hitters Analyze, trend, and predict Canary Queries
Analyze, trend, and predict
Alert System
What actions to take
Customer Comment:
Manage your workload and pay attention to performance when the system is running well, not just when you have an emergency; By then its too late to start
27
Insights into Action 2007 Teradata PARTNERS
Workload Management:
BYNET Interconnects
SMP Node1 SMP Node2 SMP Node3 SMP Node4
PE
PE
AMP
PE
PE
AMP
PE
PE
AMP
PE
PE
AMP
AMP
AMP
AMP
AMP
AMP
AMP
AMP
AMP
AMP
AMP
AMP
AMP
Enforces sharing of resources for jobs inside of Teradata Each category of work has its own partition that can be weighted Within each partition users are given priority assignments Comprehensive Priority Scheme Dynamic Priority Changes via Query Milestones Expedited Reserved Query Slots for Extreme Cases
28
2007 Teradata PARTNERS
Start with application SLA requirements Design the benchmark to reflect the characteristics of production job mix Design to scale to predictable size of system Assess impact and trade-offs of design choices Run and save EXPLAINS Use TSET to recreate exact EXPLAINS for production system Feed the results into capacity planning efforts Visual Explain Teradata System Emulation and Test Index Wizard Statistics Wizard TASM
29
2007 Teradata PARTNERS
Performance: Critical, measured in seconds Flexibility: Important, but not ad-hoc Availability: Critical, OLTP-like requirements Update Frequency: Constant, near real-time Query Type: Narrow and deep data retrieval Index Usage: Primary key frequently used Result Size: Up to tens of thousands of rows Data Source: Operational and DSS systems Referential Integrity: Handled in operational systems and ETL
30
Insights into Action 2007 Teradata PARTNERS
Record and trend data growth by database and table Understand thresholds and the red zone Use compression for reduced space and improved performance Review rules for collect statistics frequency
Periodically check for skewed data Use spool limits to govern queries
31
Insights into Action 2007 Teradata PARTNERS
Existing data capacity growth Existing workload growth New workloads & data impacts Peak period strategy User Data + Indexes and Summaries + Fallback + Working Space
Customer information:
The more detailed the system capacity/performance data, the more precise the config options can be evaluated
32
You have to change your mindset on handling EDW issues and how they are escalated
DSS query problems often handled at lower priorities Tactical query problems typically create more user dissatisfaction The Active Data Warehouse needs to be handled similarly to an operational or ODS environment
Customer Example:
33
Insights into Action 2007 Teradata PARTNERS
Problem Detection
Availability
34
Insights into Action 2007 Teradata PARTNERS
Data Synchronization
Dual Load Batch and near real-time Cross-Feed Synchronization Dual SQL Apply Replication V2R6
Teradata System A Users/ Applications
Systems Management
Workload Management
Users/ Applications
Services
Teradata System B
Users/ Applications
35
Insights into Action 2007 Teradata PARTNERS
Understand and manage the applications impact to the entire data warehouse platform - data model, capacity, performance management settings, etc. Performance starts with Application Planning and Design Develop Obsessive Compulsive Disorder about your queries Employ a Third Normal Form (3NF) Data Model Optimize the data model for a balance of ODS and DSS Change control process rigor
36
2007 Teradata PARTNERS
Customer Comment:
Pay Attention to Database Design and especially the queries. You cant just throw anything at the system and expect it to work forever. DSS experience drives practices which favor flexibility over predictability and tolerate resource inefficiency Tactical query requirements run counter to this Design and review process often needs improvement to focus on appropriate tactical query design
37
Insights into Action 2007 Teradata PARTNERS
Entire enterprise transaction systems running on Teradata Zero latency data freshness 90% Operational Queries / 10% DSS Queries
Because its primary role [of Teradata as perceived by the industry] is as a data warehouse, you must engineer the application for the Teradata environment. It is not conventional thinking. When people build applications, they do not think about doing it all in one environment. We have proven that it works.
38
Insights into Action 2007 Teradata PARTNERS
Queries are the single most significant database performance factor Strive for Single or Few-AMP operations
When necessary utilize most appropriate index type Understand the trade-offs
Develop internal processes and/or organizations that are responsible for reviewing and optimizing queries Develop and optimize queries with the understanding of the entire data warehouse application environment Develop Coach or Mentor roles
39
Insights into Action 2007 Teradata PARTNERS
Customer Situation:
Original OLTP Application was developed with little or no thought to SQL design (SQL designed to get the required information) For predictable query performance in an ad hoc environment use tactical queries techniques:
Single or few AMP operations Retrieved through a primary index or unique secondary index, Selecting a small number of rows Dont forget to control DDL operations
40
Insights into Action 2007 Teradata PARTNERS
3NF Model provides the most flexibility for extension and integration 3NF more accurately models the business without the bias of specific application needs Understand the impact of denormalizations to all applications and processes
Customer Observation:
41
Insights into Action 2007 Teradata PARTNERS
Each data model must be examined to find the proper balance between DSS and ODS
Small Data Blocks Flat, De-normalized structures Light use of indexes and aggregations Single AMP operations on most frequent access paths
Must balance operational performance with ask any question, of any data, at any time approach
42
Insights into Action 2007 Teradata PARTNERS
Tactical users require very up-to-date information for operational usage Strategic users require use of historical data for deep analytics Some analytical users typically do not want data changing with analytics underway Other users need near real-time data (as real-time as it needs to be)
Success Factors
Drive loading SLA from the business requirements, not the technology Without duplication of data
43
2007 Teradata PARTNERS
Daily batch with Fastload and Multiload Frequent or Rapid batch to staging table
Then insert/select to destination
44
Insights into Action 2007 Teradata PARTNERS
45
Insights into Action 2007 Teradata PARTNERS
OLTP people must learn to live in a world that is less structured and more unpredictable DW people must learn to be more process oriented and formalized in development and operational practices
46
Insights into Action 2007 Teradata PARTNERS
Teradata Education Network - bite size and right time Orange Books - an expanding resource Lunch and learn sessions - awareness and education Leverage User Groups - regional and Partners Class room - onsite or remote Mentoring - internal and external resources Inventory, Gap Analysis, & Action Plan
47
Insights into Action 2007 Teradata PARTNERS
Active Events
Active Access
Teradata Warehouse
Active Load
48
Insights into Action 2007 Teradata PARTNERS
Good News!
Conduct AEI Workshop Clearly define business value Keep project focused along the journey Map out the business enhancement, process, & users Find an executive sponsor Deploy pilot Ensure process & users actually use operational intelligence Communicate your success Roger.Mann@teradata.com
49