如何设计库表能快速查询的问题
Open
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
存储一条数据里包含code(32为字符串),remark(普通字符串)和10个数值字段
数据量在5000万条记录以上。
现在想通过code值进行查询,如何设计库表能支持快速查询?
Contributor guide
Research direction
No files, tests, or entry points are identified. First clarify the intended schema, query patterns, and performance target for code lookups over more than 50 million records. Done would require an agreed design and evidence that code-based queries meet the target.
Written by the indexing model from the issue text.
Assessment
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100