Automated View Maintenance for OLAP Data Marts
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The use of database views in OLAP applications is hindered by the need for frequent updates due to new data additions, leading to outdated views and the complexity of managing large numbers of views, which requires significant supervision and intervention.
Innovation Solution
A data analysis platform that automates the creation and recreation of views and schema objects, using a build module and workflow engine to manage dependencies and deploy new view versions, reducing the need for manual intervention and enabling extensive use of views for analysis.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If materialized views are used to reduce response time, then query performance is improved, but frequent updates are required as new data is added, increasing maintenance overhead
Solution Approach 1:
The system implements automated view maintenance where the database management system automatically detects when views need updating and performs the recreation process without requiring manual intervention from database administrators. This self-service approach resolves the contradiction by maintaining up-to-date materialized views while eliminating the manual maintenance overhead.
Solution Approach 2:
The system performs preliminary actions by automatically detecting data changes and triggering view recreation before queries are executed against outdated views. This ensures views are updated in advance, maintaining query performance without requiring manual monitoring or intervention.
2Adaptability or versatility
If extensive use of views is implemented to support various drill-down levels and dimensions, then analytical capability is improved, but the number of views becomes unwieldy, increasing system complexity
Solution Approach 1:
The automated view management system systematically handles the creation, maintenance, and optimization of large numbers of views without manual intervention. This allows the system to support extensive analytical capabilities with many views while reducing the complexity of managing them through automation.
Solution Approach 2:
The system dynamically manages view parameters such as materialization status, update frequency, and storage location based on usage patterns and system state. This allows extensive view usage for analytical purposes while optimizing system complexity through adaptive parameter adjustment.
3Reliability
If manual supervision and intervention are used to maintain views, then view accuracy is maintained, but significant time and resources are required, reducing productivity
Solution Approach 1:
The system performs automated view maintenance that ensures view accuracy through systematic checking and updating processes while eliminating the need for manual database administrator intervention. This resolves the contradiction by maintaining reliability through automation rather than manual processes.
Solution Approach 2:
The system implements feedback mechanisms that monitor data changes and automatically trigger view updates when needed. This feedback loop ensures view accuracy is maintained through automated detection and correction, freeing database administrators from manual monitoring while preserving reliability.
Data Source
AI summary
A data analysis platform may be based on database views. A build module may receive, from a source code repository, information about a modified definition of a view. The build module may identify schema objects on which the view depends and form instructions for creating the view and the schema objects. The instructions may be executed to form the updated version of the view in a schema space separate from a production schema space. A deployment pipeline may coordinate replacing the production version of the view with the new version in response to validating the new version of the view.


