发明名称 Database system with methodology for high-performance date
摘要 System and methods are described for improved indexing and processing (e.g., query processing) of date-based information. A date value may be viewed as comprising year (y), month (m), and day (d) components. A DateIndex index data structure is defined to comprise three distinct groups of bitmaps: one for years, another for months, and another for days, respectively. This index can be created on a column having a datatype of "date" (e.g., standard SQL datatype which stores date literals). A month group is defined to contain exactly 12 bitmaps (call them M[1], M[2], . . . , M[12]) to track rows meeting at a specified month range for a particular column. Each successive bitmap within the group stores a successively smaller subrange of possible month values (e.g., month 1-12, month 2-12, month 3-12, and so forth and so on). In a similar manner, bitmaps may be created for tracking day and year ranges. Additionally, an "existence bitmap" (EBM) is used to track whether particular rows exist in a given column being indexed. Armed with this information, the system can now resolve a desired query operation using set algebra. Depending on the particular date value(s) under consideration, use of set algebra may often be optimized, thereby reducing the number of bitmap operations required. By providing a new index structure specifically designed for date columns, the approach significantly reduces the number of bitmap operations required to do each of these operations and also significantly reduces the amount of I/O required to do each operation.
申请公布号 US6490578(B1) 申请公布日期 2002.12.03
申请号 US20000675247 申请日期 2000.09.28
申请人 SYBASE, INC. 发明人 BURKHARD NEIL A.
分类号 G06F17/30;(IPC1-7):G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址