BLOB vs. VARCHAR for storing arrays in a MySQL table

前端 未结 4 2181
终归单人心
终归单人心 2020-12-09 10:38

I\'ve got a design decision to make and am looking for some best practice advice. I have a java program which needs to store a large number (few hundred a day) of floating

4条回答
  •  死守一世寂寞
    2020-12-09 10:55

    Using a database to store an one dimensional array is pain in the ass! Even more using a rdm where is no relation between the data stored. sorry but the best solution imho is use a file and just write the data the way u like. binary or as txt. Thus 300xsize of long or 300x1 line of txt is one array.

提交回复
热议问题