mirror of
https://github.com/Qortal/qortal.git
synced 2025-03-14 19:42:32 +00:00
Speed up finding arbitrary transactions.
This commit is contained in:
parent
a3ab5238d3
commit
eecd37d6bc
@ -1040,6 +1040,11 @@ public class HSQLDBDatabaseUpdates {
|
||||
+ "REFERENCES ArbitraryResourcesCache (service, name, identifier) ON DELETE CASCADE)");
|
||||
// For finding metadata by title.
|
||||
stmt.execute("CREATE INDEX ArbitraryMetadataTitleIndex ON ArbitraryMetadataCache (title)");
|
||||
|
||||
// For finding arbitrary transactions by service
|
||||
stmt.execute("CREATE INDEX ArbitraryServiceIndex ON ArbitraryTransactions (service)");
|
||||
// For finding arbitrary transactions by identifier
|
||||
stmt.execute("CREATE INDEX ArbitraryIdentifierIndex ON ArbitraryTransactions (identifier)");
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user