Skip to content

Commit e250f8e

Browse files
authored
added three new indexes for mysql to improve speed (#1234)
1 parent cd9f5b6 commit e250f8e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# v0.14.4 -> vx.x.x
2+
3+
## Enhancements
4+
5+
- Added three more indexes in MySQL to improve the task view drastically (Note: these are not created on update due to performance issues, only on new installs)
6+
17
# v0.14.3 -> v0.14.4
28

39
## Enhancements

src/install/hashtopolis.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,7 @@ ALTER TABLE `Assignment`
10311031
ALTER TABLE `Chunk`
10321032
ADD PRIMARY KEY (`chunkId`),
10331033
ADD KEY `taskId` (`taskId`),
1034+
ADD KEY `progress` (`progress`),
10341035
ADD KEY `agentId` (`agentId`);
10351036

10361037
ALTER TABLE `Config`
@@ -1142,6 +1143,8 @@ ALTER TABLE `TaskDebugOutput`
11421143
ALTER TABLE `TaskWrapper`
11431144
ADD PRIMARY KEY (`taskWrapperId`),
11441145
ADD KEY `hashlistId` (`hashlistId`),
1146+
ADD KEY `priority` (`priority`),
1147+
ADD KEY `isArchived` (`isArchived`),
11451148
ADD KEY `accessGroupId` (`accessGroupId`);
11461149

11471150
ALTER TABLE `User`

0 commit comments

Comments
 (0)