Closed wtune closed 4 years ago
The data in the system_config table is limited, and it is cached after being queried once in the SystemConfigService. Subsequent queries will not be queried in the database unless the data in the system_config table changes, so this index is the same whether it is added or not.
Missing index on table
system_config
columnkey
might make the underlying query issued via ISystemConfigService#selectByKey slow. Since tablesystem_config
is mostly read and rarely updated, the performance impact for write operations is acceptable under common cases.