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: 16 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for suspending and activating a database index, the method comprising: (I) Prior to processing an update to a database: determining, by a computer, a quantity of changes for a number of rows of the database that are included in the update by: receiving, by the computer, a request that includes (i) a plurality of updates to be performed to the database that includes the update, (ii) a suspension threshold value that is configured to control, at least in part, suspension of an index of the database, and (iii) a selection to perform an analysis of the plurality of updates, wherein result
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (16)
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/dockefman/4.1/en/alter-table.html>.
- 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 arid 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.dodblladm-chdisk.ht
- 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.dodblladm—chdisk.ht