added index for cf debug event
This commit is contained in:
parent
3755bc7ce0
commit
2b50d3159c
@ -140,6 +140,7 @@ public class DefaultTenantProfileConfiguration implements TenantProfileConfigura
|
|||||||
private long maxCalculatedFieldsPerEntity = 5;
|
private long maxCalculatedFieldsPerEntity = 5;
|
||||||
@Schema(example = "10")
|
@Schema(example = "10")
|
||||||
private long maxArgumentsPerCF = 10;
|
private long maxArgumentsPerCF = 10;
|
||||||
|
@Builder.Default
|
||||||
@Min(value = 1, message = "must be at least 1")
|
@Min(value = 1, message = "must be at least 1")
|
||||||
@Schema(example = "1000")
|
@Schema(example = "1000")
|
||||||
private long maxDataPointsPerRollingArg = 1000;
|
private long maxDataPointsPerRollingArg = 1000;
|
||||||
|
|||||||
@ -36,3 +36,5 @@ CREATE INDEX IF NOT EXISTS idx_lc_event_main
|
|||||||
CREATE INDEX IF NOT EXISTS idx_error_event_main
|
CREATE INDEX IF NOT EXISTS idx_error_event_main
|
||||||
ON error_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST) WITH (FILLFACTOR=95);
|
ON error_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST) WITH (FILLFACTOR=95);
|
||||||
|
|
||||||
|
CREATE INDEX IF NOT EXISTS idx_cf_debug_event_main
|
||||||
|
ON cf_debug_event (tenant_id ASC, entity_id ASC, ts DESC NULLS LAST) WITH (FILLFACTOR=95);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user