SQL Database Design for Test Data -


so, trying learn how set good, , usable databases. have ran problem involving storing large amounts of data correctly. database using mssql 2008. example:

we test 50,000 devices week. each 1 of these devices have lot of data associated them. overall, looking @ summary of data calculated raw data. summary easy handle, raw data i'm trying enter database future use in case wants more details.

for summary, have database full of tables each set of 50,000 devices. but, each device there data similar this:

("devid") i,v,p i,v,p i,v,p ... ("devid") wl,p wl,p wl,p ... 

totaling 126 (~882 chars) data points first line , 12000 (~102,000 chars) data points second line. best way store information? create table each , every device (this seems unruly)? there data type can handle info? not sure.

thanks!

edit: updated ~char count , second line data points.

you normalize 1 table

create table device (  id         bigint auto_increment primary key ,  devid      int ,  datapoint  varchar ,  index(devid)) 

psudocode obviously, since don't know exact requirements.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -