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
After looking at the logs, it seems that many queries are not indexed.
Performance will be affected when the amount of data is large. The URL field in the count table and comment table can be added with a prefix index, or it can be made into a fixed-length hash and then used as a unique index (the code logic needs to be changed)
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
[Feature]: 数据库导入的sql文件添加索引优化
[Feature]: 数据库导入的sql文件添加索引优化 || [Feature]: Add index optimization to the sql file imported from the database
Aug 13, 2024
功能概述 | Describe the feature
看了一下日志,有很多查询貌似都没有索引。
数据量大了以后性能会有影响,计数表和评论表里面url字段可以加前缀索引,或者做成固定长度的hash然后见唯一索引(需要改代码逻辑)
Feature Overview | Describe the feature
After looking at the logs, it seems that many queries are not indexed.
Performance will be affected when the amount of data is large. The URL field in the count table and comment table can be added with a prefix index, or it can be made into a fixed-length hash and then used as a unique index (the code logic needs to be changed)
The text was updated successfully, but these errors were encountered: