Skip to content

Commit af5af68

Browse files
committed
[TASK] Improve performance by adding indexes to database table
* add index `public_url` for speeding up resolving the requested processing instructions * add index `instruction` for speeding up check, if processing instruction already exist
1 parent 6440c7e commit af5af68

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ext_tables.sql

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ create table tx_deferredimageprocessing_file
99
configuration text not null,
1010
checksum varchar(32) not null,
1111

12-
primary key (uid)
12+
primary key (uid),
13+
14+
key public_url (public_url),
15+
key instruction (storage, source_file, task_type, task_name, checksum)
1316
);

0 commit comments

Comments
 (0)