Index suspension prior to database update
Abstract
Embodiments of the present invention disclose a method, a computer program product, and a computer system for suspending and activating a database index. A computer determines a quantity of changes for a number of rows of a database that are to be made by an update of the database. The computer determines whether to suspend an index of the database based, at least in part, on a comparison between the quantity of changes and a pre-determined threshold value. The computer suspends the index of the database based on a result of the comparison that indicates the quantity of changes at least meet the pre-determined threshold value. A suspension of the index of the database initiates a rebuilding of the index.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for suspending and activating a database index, the method comprising: receiving, by a computer, a request that includes (i) a plurality of updates to be performed to a database and (ii) a suspension threshold value; prior to processing plurality of updates for the database: determining, by the computer, a quantity of changes for a number of rows of a database that are to be made by an update included in the plurality of updates; determining, by the computer, whether to suspend an index of the database based, at least in part, on a comparison between the quantity of changes and the su
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,347,723 B2 | Automated suspension and rebuilding of database indices | 2022 | 0 |
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- "13.1.2. Alter Table Syntax", MySQL 3.23, 4.0, 4.1 Reference Manual, 13 SQL Statement Syntax, User Comment posted by Tom S on Dec. 18, 2002 4:27 PM, © 1995-2005 MySQL AB, 8 pages, <http://web.archive.org/web/20051202071102/http://dev.mysql.com/doc/refman/4.1/en/alter-table.html>.
- Appendix P List of IBM Patents or Patent Applications Treated As Related.
- Disable and re-enable all indexes in a SQL Server database, p. 4-5, answered by Phillip Kelly (hereafter Kelly), http://stackoverflow.com/questions/18236055/disable-and-re-enable-all-indexes-in-a-sql-server-database, Aug. 2014.
- IBM et al., "A Method and System to Enhance Query Performance by Autonomically Creating and Deleting Database Indices at Runtime", Original Publication Date: Sep. 24, 2003, IP.com No. IPCOM000019661D, IP.com Electronic Publication: Sep. 24, 2003, pp. 1-3.
- IBM, "Changing GPFS disk states and parameters", IBM, GPFS Administration and Programming Reference SA23-2221-08, Accessed on Jan. 15, 2014, Copyright IBM Corporation 1990, 2013, 2 pages, <https://www.ibm.com/support/knowledgecenter/SSFKCN_4.1.0/com.ibm.cluster.gpfs.v4r1.gpfs100.doc/bl1adm'chdisk.ht