Include more information about optimising ORM performance
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 文档
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- backend, documentation
调研方向
Start by reading pull request 201 and its new ORM performance section. Review the listed PartialMatch, ExactMatch, indexing, and filterByCallback examples, then seek community feedback for additional ORM performance practices. Done means the section contains useful, vetted examples and clearly addresses the agreed scope, including whether Elemental documentation belongs there.
由索引模型根据 Issue 内容生成。
描述
https://github.com/silverstripe/developer-docs/pull/201 adds a new section about ORM performance. It doesn't have much in it right now, but there's probably a lot that we can include in here.
Examples:
- using
PartialMatchfilters makes indexes effectively useless for that column in that query - so for things like searching for pages in the CMS site tree, swapping to useExactMatchon title only and adding an index on title will make that query way faster - dnadesign/silverstripe-elemental overrides how sitetree search works and adds a super un-optimised
filterByCallback()to that query (though its debatable whether elemental docs should be part of the main docs)
We should seek feedback from the community about what they're doing to improve performance of the ORM specifically and include good examples in the ORM performance section (pssst if you're reading this and have any suggestions of what we could add, please add a comment below).
- 主要语言
- 没有语言数据
- 星标
- 7
- 派生
- 76
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
silverstripe/developer-docs 的其他 Issue
-
6.0.0 changelog: DBField formatters on array getters now render empty可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
silverstripe/developer-docs#912 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
silverstripe/developer-docs#911 ·
-
Read-only replicas: config key is rule_patterns_must_use_primary_db, not must_use_primary_db_rules未关闭affects/v6 complexity/low impact/low type/docs
难度 1/5 1 小时以内 新手友好度 92/100
silverstripe/developer-docs#909 · 1 条评论 ·
-
affects/v6 complexity/low impact/low type/docs
难度 2/5 1-3 小时 新手友好度 88/100
silverstripe/developer-docs#908 · 1 条评论 ·
-
affects/v5 affects/v6 complexity/low impact/low type/docs
难度 1/5 1 小时以内 新手友好度 90/100
silverstripe/developer-docs#907 · 1 条评论 ·
查看 silverstripe/developer-docs 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
agentic-os-org/ANOLISA#6742 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
type/automation type/tech-debt
难度 1/5 1 小时以内 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
paperclipai/paperclip#15628 ·
维护者通常 1 天内回复
-
feature/cohorts feature/feature-flags team/feature-flags
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复