发明名称 ASYNCHRONOUS GLOBAL INDEX MAINTENANCE DURING PARTITION MAINTENANCE
摘要 Techniques for maintaining a global index in response to a partition being dropped are provided. In response to an instruction to drop a partition, partition identification data that identifies the partition is stored. Index entries, in the global index, that correspond to the dropped partition become “orphaned” entries. Later, an execution plan for a query is processed, where the execution plan targets a global index. During execution of the execution plan, one or more index entries are accessed. For each accessed index entry, the partition identification data is analyzed to determine if the index entry is an orphaned entry. If so, then the index entry is ignored for purposes of the query. Later, the global index may be updated to delete each orphaned entry. Such deletion may occur much later, such as during a time when the database is not queried or updated frequently.
申请公布号 US2015278327(A1) 申请公布日期 2015.10.01
申请号 US201414231438 申请日期 2014.03.31
申请人 Oracle International Corporation 发明人 Raghavan Ananth;Eadon George;Kumar Ramesh;Baer Hermann;Sridharan Suresh
分类号 G06F17/30;G06F9/46 主分类号 G06F17/30
代理机构 代理人
主权项 1. A method comprising: receiving an instruction to drop a partition; in response to receiving the instruction, storing drop data that identifies the partition; in response to receiving a query: traversing an index that comprises a plurality of index entries;for each index entry of one or more of the plurality of index entries, determining, based on the drop data, whether said each index entry is associated with the partition;filtering out said each index entry if it is determined, based on the drop data, that said each index entry is associated with the partition; wherein the method is performed by one or more computing devices.
地址 Redwood Shores CA US