-
公开(公告)号:CA2414983A1
公开(公告)日:2004-06-23
申请号:CA2414983
申请日:2002-12-23
Applicant: IBM CANADA
Inventor: O'CONNELL WILLIAM T , SIDLE RICHARD S , COCHRANE ROBERTA JO , CHAN PETRUS KAI CHUNG , PIRAHESH HAMID MIR , LA DIEU QUAN STEVE
Abstract: A system and method for flexible execution in the order of operations for loading data into base tables, for checking the base tables for constraint violations, an d for refreshing the materialized views. The system and method maintains the ability to perform a ny of these operations incrementally. Materialized views may be incrementally refreshed at different points in time independently of one another and independently of the load append operations performed on the base tables. The system and method includes load appending data to on e base table, incrementally refreshing of just one associated materialized view (and makin g the materialized view available immediately thereafter) and deferring refresh of the other materialized views, load appending more data into other base tables, and incrementally refreshing all materialized views with respect to all load append operations. Advantageously, the system and method handles combinations of multiple materialized views associated with a single base table as well as multiple base tables referenced or associated with one materialized view.
-
2.
公开(公告)号:CA2310576A1
公开(公告)日:2001-01-30
申请号:CA2310576
申请日:2000-06-02
Applicant: IBM
Inventor: TRUONG TUONG CHANH , SIDLE RICHARD S , LIGHTSTONE SAM S , COCHRANE ROBERTA JO , WINER MICHAEL J , ZUZARTE CALISTO P , CHAN PETRUS KAI C C , PIRAHESH MIR HAMID
IPC: G06F17/30
Abstract: The invention provides method and apparatus for use in a database management system for managing a database containing data, where the database has storage for storing data in the database, and has an instruction processor for processing instructions for managing da ta stored in the database. The database has a constraint manager for managing constraints on said data stored in the database. The invention provides efficient method and means for deferred checking of data after bulk loading into said database for violation of constraints by determining an appropriat e procedure for constraint checking by determining whether constraint checking is required; and if it i s required, determining whether to implement full, or incremental checking for compliance with said constraints; and then checking the data in the database in accordance with the determined constrai nt checking procedure.
-