发明名称 Automatic table cleanup for relational databases
摘要 An approach for an automatic table cleanup process of use, implemented in relational databases, are provided. A method includes setting up a table cleanup process in a database which is operable to perform an automatic table cleanup on a table within the database using an auto purge value associated with the table. The method further includes altering the table with a virtual column to keep track of dates on the table. The method further includes turning on an automatic table maintenance capability of the database to include and initiate the table cleanup process. The method further includes running the table cleanup process to perform the automatic table cleanup using dates which are automatically filled in during an insert or update operation on the table, the table cleanup process comprising looking through the records and automatically purging the table when the auto purge value has been met.
申请公布号 US9218371(B2) 申请公布日期 2015.12.22
申请号 US201213408161 申请日期 2012.02.29
申请人 International Business Machines Corporation 发明人 Jaiswal Peeyush;Vialpando Burt L.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 Roberts Mlotkowski Safran & Cole, P.C. 代理人 Pivnichny John;Roberts Mlotkowski Safran & Cole, P.C.
主权项 1. A method comprising: setting up a table cleanup process in a database which is configured to perform an automatic table cleanup on a table within the database using an auto purge value associated with the table; altering the table with a virtual column to keep track of dates on the table; turning on an automatic table maintenance capability of the database to include and initiate the table cleanup process; and running the table cleanup process to perform the automatic table cleanup using dates which are automatically filled in during an insert or update operation on the table, the table cleanup process comprising looking through the records and automatically purging the table when the auto purge value has been met, wherein the setting up of the table cleanup process comprises creating the table with the auto purge value that will automatically create a virtual date field based on a create table statement of the database, and wherein the virtual date field comprises an update date in which a row of the table is updated.
地址 Armonk NY US
您可能感兴趣的专利