imv-database: Improve performance by creating file_hashes index
This commit is contained in:
1 parent
e64cdb15c5
commit
3295b35c6a
1 file changed
+2
@@ -48,6 +48,8 @@ CREATE TABLE file_hashes (
|
||||
hash VARCHAR(64) NOT NULL,
|
||||
mutable INTEGER DEFAULT 0
|
||||
);
|
||||
DROP INDEX IF EXISTS "file_hashes_idx";
|
||||
CREATE INDEX "file_hashes_idx" ON "file_hashes" ("file", "version", "algo");
|
||||
|
||||
DROP TABLE IF EXISTS groups;
|
||||
CREATE TABLE groups (
|
||||
|
||||
Reference in new issue
Block a user