数据会被分析并以图表的方式呈现。
我有几个方案:
一、每个产品一个表(产品总数很少,因为是大型设备)
table-A:
columns: dev-model, value, sample-time
二、每种设备一个表
table-dev-a:
columns: production-sn, value, sample-time
三、全部放在一个表(因为采样频率相差很大,担心查询时效率不高)
table-production-info:
columns: production-sn, dev-model, value, sample-time
本人数据库设计实在烂,大家帮忙看看哪种方案好些?或者有更好的?谢谢!