Create index on "last_modified_at" column in "sp_target" table. (#1015)

* Create index on "last_modified_at" column in "sp_target" table.
* Added tenant to the index.

Signed-off-by: Sergey Gerasimov <sergey.gerasimov@devolo.de>
This commit is contained in:
Sergey Gerasimov
2020-10-13 17:06:43 +02:00
committed by GitHub
parent 541a0129ef
commit 99c8725b70
6 changed files with 8 additions and 0 deletions

View File

@@ -0,0 +1 @@
CREATE INDEX sp_idx_target_05 ON sp_target (tenant, last_modified_at);

View File

@@ -0,0 +1 @@
CREATE INDEX sp_idx_target_05 ON sp_target (tenant, last_modified_at);

View File

@@ -0,0 +1 @@
CREATE INDEX sp_idx_target_05 ON sp_target (tenant, last_modified_at);

View File

@@ -0,0 +1,3 @@
CREATE INDEX sp_idx_target_05
ON sp_target
USING BTREE (tenant, last_modified_at);

View File

@@ -0,0 +1 @@
CREATE INDEX sp_idx_target_05 ON sp_target (tenant, last_modified_at);