Data warehouse system
First Claim
1. A computer-implemented method for analyzing historical data in a data warehouse, comprising:
- providing a data warehouse, whereineach fact table within the data warehouse has a start time column and an end time column,each record of the fact tables has a start time value specified in the start time column, the start time value indicating an insertion time stamp of the record into the fact table,each record of the fact tables has an end time value specified in the end time column, the end time value being one of;
an infinity time stamp indicating that the record is a current record and a non-infinity time stamp indicating that the record is a historical record, andthe fact tables within the data warehouse collectively form a single searchable copy of data warehouse data that contains both continuous historical data and current data for the data warehouse; and
in response to a query against the data warehouse, retrieving records from one or more fact tables using a pair of customized query predicates against the start time column values and the end time column values of the one or more fact tables.
3 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus, including computer program products, implementing and using techniques for analyzing historical data in a data warehouse. A data warehouse is provided. The data warehouse includes several database tables. Every database table has a start time column and an end time column. A query is issued to the data warehouse. The query includes customized query predicates against the start time column values and end time column values of a database table. A response is received from the data warehouse. The response includes table records satisfying the query and having valid (START_TIME, END_TIME) ranges that cover a fixed time point specified by the customized query predicates of the query. Methods for updating a database table in a data warehouse, and a data warehouse system are also described.
-
Citations
17 Claims
-
1. A computer-implemented method for analyzing historical data in a data warehouse, comprising:
-
providing a data warehouse, wherein each fact table within the data warehouse has a start time column and an end time column, each record of the fact tables has a start time value specified in the start time column, the start time value indicating an insertion time stamp of the record into the fact table, each record of the fact tables has an end time value specified in the end time column, the end time value being one of;
an infinity time stamp indicating that the record is a current record and a non-infinity time stamp indicating that the record is a historical record, andthe fact tables within the data warehouse collectively form a single searchable copy of data warehouse data that contains both continuous historical data and current data for the data warehouse; and in response to a query against the data warehouse, retrieving records from one or more fact tables using a pair of customized query predicates against the start time column values and the end time column values of the one or more fact tables. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer-implemented method for updating a record in a data warehouse, comprising:
-
providing a data warehouse, wherein each fact table within the data warehouse has a start time column and an end time column, each record of the fact table has a start time value specified in the start time column, the start time value indicating an insertion time stamp of the record into the fact table each record of the fact table has an end time value specified in the end time column, the end time value being one of;
an infinity time stamp indicating that the record is a current record and a non-infinity time stamp indicating that the record is a historical record, andthe fact tables within the data warehouse collectively form a single searchable copy of data warehouse data that contains both continuous historical data and current data for the data warehouse; and in response to determining that a record within a fact table of the data warehouse needs to be updated; updating an end time value for the record in the end time column with a current time stamp; and inserting a new record comprising updates of the record into the fact table, the new record having a current time stamp in the start time column and an infinity time stamp in the end time column. - View Dependent Claims (10, 11, 12, 13)
-
-
14. A data warehouse system, including:
-
a processor; a computer-readable storage medium configured to store one or more tables in a data warehouse, wherein; each fact table within the data warehouse includes a start time column and an end time column, each record of the fact table has a start time value specified in the start time column, the start time value indicating an insertion time stamp of the record into the fact table, each record of the fact tables has an end time value specified in the end time column, the end time value being one of;
an infinity time stamp indicating that the record is a current record and a non-infinity time stamp indicating that the record is a historical record, andthe fact tables within the data warehouse collectively form a single searchable copy of data warehouse data that contains both continuous historical data and current data for the data warehouse; and a query module, the query module being configured to; in response to a query against the data warehouse, retrieve records from one or more fact tables referenced by the query using a pair of customized query predicates against the start time column values and the end time column values of the one or more fact tables. - View Dependent Claims (15, 16, 17)
-
Specification