IPC분류정보
국가/구분 |
United States(US) Patent
등록
|
국제특허분류(IPC7판) |
|
출원번호 |
US-0190027
(2008-08-12)
|
등록번호 |
US-8260822
(2012-09-04)
|
발명자
/ 주소 |
|
출원인 / 주소 |
- United Services Automobile Association (USAA)
|
대리인 / 주소 |
Brooks, Cameron & Huebsch, PLLC
|
인용정보 |
피인용 횟수 :
1 인용 특허 :
2 |
초록
▼
A system and method for processing both Type 1 and Type 2 effective dated slowly changing dimension (SCD) date attributes. Two sets of date fields may be provided, an effective from/effective to set for dimensions with effective date logic; and an effective start date/effective end date for all dime
A system and method for processing both Type 1 and Type 2 effective dated slowly changing dimension (SCD) date attributes. Two sets of date fields may be provided, an effective from/effective to set for dimensions with effective date logic; and an effective start date/effective end date for all dimensions. A current indicator is used to indicate a currently valid dimension. By processing and setting the date fields, both Type 1 and Type 2 dimensions can be processed and queried similarly. This enables generating an accurate and consistent report of information representing information in a data warehouse as it is now, or as it was at any point in time. The methods also enable for reporting and analysis of historical and trends, as well as future forecasting.
대표청구항
▼
1. A non-transitory computer readable medium storing instructions for representing data in a data warehouse for historical and current reporting, executable by the computer to cause the computer to: receive effective dated dimensions in sequential rows;set date attributes associated with the effecti
1. A non-transitory computer readable medium storing instructions for representing data in a data warehouse for historical and current reporting, executable by the computer to cause the computer to: receive effective dated dimensions in sequential rows;set date attributes associated with the effective dated dimensions for each row, the date attributes including an effective to date, an effective from date, an effective start date, and an effective end date;set the effective start date of a first row to a date prior to any of the date attributes;set the effective end date of a last row to a date after any of the date attributes;set the effective to date of a row between the first row and the last row to one day minus the effective from date of a previous row;sort the sequential rows based on a primary key and a created date;key the rows based on the primary key; andread the rows of the effective dated dimensions sequentially based on an effective date, a natural key, and the created date. 2. The method of claim 1, further comprising setting a current indicator of the last row to indicate that the last row contains current dimensional data. 3. The method of claim 1, further comprising: maintaining Type 2 slowly changing data with reference to the primary key within the dimension table; andmaintaining Type 1 slowly changing data with reference to the primary key within the dimension table. 4. The method of claim 3, further comprising linking a plurality of dimension tables by the primary key. 5. The method of claim 1, further comprising setting the effective start date and the effective end date to an infinite value. 6. The method of claim 1, further comprising maintaining information to report changes to historical data at any point in time up to a current time. 7. A non-transitory computer-readable medium comprising computer-readable instructions for representing data in a data warehouse for historical and current reporting, the instructions when executed performing a method comprising: receiving effective dated dimensions in sequential rows;setting date attributes associated with the effective dated dimensions for each row, the date attributes including an effective to date, an effective from date, an effective start date, and an effective end date;setting the effective start date of a first row to a date prior to any of the date attributes;setting the effective end date of a last row to a date after any of the date attributes;setting the effective to date of a row between the first row and the last row to one day minus the effective from date of a previous row;sorting the sequential rows based on a primary key and a created date;keying the rows based on the primary key; andreading the rows of the effective dated dimensions sequentially based on an effective date, a natural key, and the created date. 8. The computer-readable medium of claim 7, further comprising instructions for setting a current indicator of the last row to indicate that the last row contains current dimensional data. 9. The computer-readable medium of claim 8, further comprising instructions for: maintaining Type 2 slowly changing data with reference to the primary key within the dimension table; andmaintaining Type 1 slowly changing data with reference to the primary key within the dimension table. 10. The computer-readable medium of claim 9, further comprising instructions for linking a plurality of dimension tables by the primary key. 11. The computer-readable medium of claim 7, further comprising instructions for setting the effective start date and the effective end date to an infinite value. 12. The computer-readable medium of claim 7, further comprising instructions for maintaining information to report changes to historical data at any point in time up to a current time. 13. A system that includes memory and an at least one processor for representing data in a data warehouse for historical and current reporting, comprising: at least one subsystem for receiving effective dated dimensions in sequential rows;at least one subsystem for setting date attributes associated with the effective dated dimensions for each row, the date attributes including an effective to date, an effective from date, an effective start date, and an effective end date;at least one subsystem for setting the effective start date of a first row to a date prior to any of the date attributes;at least one subsystem for setting the effective end date of a last row to a date after any of the date attributes;at least one subsystem for setting the effective to date of a row between the first row and the last row to one day minus the effective from date of a previous row;at least one subsystem for sorting the sequential rows based on a primary key and a created date;at least one subsystem for keying the rows based on the primary key; andat least one subsystem for reading the rows of the effective dated dimensions sequentially based on an effective date, a natural key, and the created date. 14. The system of claim 13, wherein a current indicator of the last row is set to indicate that the last row contains current dimensional data. 15. The system of claim 13, wherein Type 2 slowly changing data is maintained with reference to the primary key within the dimension table, and wherein Type 1 slowly changing data is maintained with reference to the primary key within the dimension table. 16. The system of claim 15, wherein a plurality of dimension tables are linked by the primary key. 17. The system of claim 13, wherein the effective start date and the effective end date are set to an infinite value. 18. The system of claim 13, wherein information to report changes to historical data is maintained for any point in time up to a current time.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.