我正在开发一个学生跟踪程序,我需要在其中存储 15 个考试分数。
我可以将标记存储为字符串,并在需要时将它们拆分,用于执行算术运算等目的。但是,我需要尽可能多的性能。
哪个更好?单个字符串字段,还是 15 个单独的 int 字段?
performance database-design datatypes query-performance
database-design ×1
datatypes ×1
performance ×1
query-performance ×1