发明名称 MANAGING RECORD LOCATION LOOKUP CACHING IN A RELATIONAL DATABASE
摘要 In managing a relational database, a relational manager sets a foreign key lookup value to an unavailable state in a source table row containing each of a foreign key value and the foreign key lookup value in a source table in a relational database, wherein the foreign key value references a primary key value in a referenced row in a separate destination table in the relational database. The relational manager, responsive to looking up, for the foreign key value, in a data structure separate from the source table, a location of the referenced row in the relational database, when the foreign key lookup value is set to the unavailable state, updating the foreign key lookup value with the location, wherein the foreign key lookup value in the source table is looked up for identifying the location of the referenced row for subsequent retrievals of the referenced row for the foreign key value.
申请公布号 US2016085775(A1) 申请公布日期 2016.03.24
申请号 US201514953423 申请日期 2015.11.30
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Chandler Allan T.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项 1. A method for managing a relational database, comprising the steps of: a computer, setting a foreign key lookup value to an unavailable state in a source table row containing each of a foreign key value and the foreign key lookup value in a source table in a relational database, wherein the foreign key value references a primary key value in a referenced row in a separate destination table in the relational database, wherein the foreign key lookup value when set to a value other than the unavailable state refers to a location of the referenced row of the primary key value in the separate destination table; and the computer, responsive to looking up, for the foreign key value, in a data structure separate from the source table, the location of the referenced row in the relational database, when the foreign key lookup value is set to the unavailable state, updating the foreign key lookup value with the location, wherein the foreign key lookup value in the source table is looked up for identifying the location of the referenced row for subsequent retrievals of the referenced row for the foreign key value.
地址 ARMONK NY US