You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in order to boost the performance of custom attribute search (layerdefs) in the queryable_attributes we have to make sure that all the attributes in the chsdi data models which are configured as queryable_attributes have a btree and a gin index:
p.e. stopo_master.vd.streetnames
-- __queryable_attributes__ = ['label', 'plzo', 'gdename', 'gdenr', 'type']-- btree index for = > < CREATEINDEXstreetnames_labelONvd.streetnames
USING btree
(label);
CREATEINDEXstreetnames_plzoONvd.streetnames
USING btree
(plzo);
CREATEINDEXstreetnames_gdenameONvd.streetnames
USING btree
(gdename);
CREATEINDEXstreetnames_gdenrONvd.streetnames
USING btree
(gdenr);
CREATEINDEXstreetnames_typeONvd.streetnames
USING btree
(type);
-- gin index for like, ilikeCREATEINDEXtrgm_idx_streetnames_labelONvd.streetnames
USING gin
(label gin_trgm_ops);
CREATEINDEXtrgm_idx_streetnames_plzoONvd.streetnames
USING gin
(plzo gin_trgm_ops);
CREATEINDEXtrgm_idx_streetnames_gdenameONvd.streetnames
USING gin
(gdename gin_trgm_ops);
CREATEINDEXtrgm_idx_streetnames_gdenrONvd.streetnames
USING gin
(gdenr gin_trgm_ops);
CREATEINDEXtrgm_idx_streetnames_typeONvd.streetnames
USING gin
(type gin_trgm_ops);
The text was updated successfully, but these errors were encountered:
@tobias since you told me that you have free ressources:
please create an sql per database with begin; ...; rollback; and add the missing indices.
you could also ask @Simon1193 for help.
once the sql files are ready (in this pr) we will run them on dev int prod.
thank you
marcel
in order to boost the performance of custom attribute search (layerdefs) in the queryable_attributes we have to make sure that all the attributes in the chsdi data models which are configured as
queryable_attributes
have a btree and a gin index:p.e. stopo_master.vd.streetnames
The text was updated successfully, but these errors were encountered: