forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in DSC-1640 (pull request DSpace#2026)
CST-14516 Improve the performance of RelatedItemEnhancerUpdatePoller Approved-by: Daniele Ninfo
- Loading branch information
Showing
3 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...dspace/storage/rdbms/sqlmigration/h2/V7.6_2024.04.09__create_idx_optimize_item_poller.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
-- | ||
-- The contents of this file are subject to the license and copyright | ||
-- detailed in the LICENSE and NOTICE files at the root of the source | ||
-- tree and available online at | ||
-- | ||
-- http://www.dspace.org/license/ | ||
-- | ||
|
||
----------------------------------------------------------------------------------- | ||
-- Create INDEXES to optimize exact query over the metadatavalue | ||
----------------------------------------------------------------------------------- | ||
|
||
CREATE INDEX idx_text_value_hash ON metadatavalue (substring(text_value,1,36)); | ||
CREATE INDEX idx_authority_hash ON metadatavalue (authority); |
14 changes: 14 additions & 0 deletions
14
.../storage/rdbms/sqlmigration/postgres/V7.6_2024.04.09__create_idx_optimize_item_poller.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
-- | ||
-- The contents of this file are subject to the license and copyright | ||
-- detailed in the LICENSE and NOTICE files at the root of the source | ||
-- tree and available online at | ||
-- | ||
-- http://www.dspace.org/license/ | ||
-- | ||
|
||
----------------------------------------------------------------------------------- | ||
-- Create INDEXES to optimize exact query over the metadatavalue | ||
----------------------------------------------------------------------------------- | ||
|
||
CREATE INDEX idx_text_value_hash ON metadatavalue (substring(text_value,1,36)); | ||
CREATE INDEX idx_authority_hash ON metadatavalue (authority); |