I have an array with 1440 vars in it. something like:
$array = array(1 => 45.76, 2 => 67.56, 3 = 79.23 ..... 1440 => 20.22);
This array is serialized and inserted into MySQL table with longtext as field type.
What I'm facing now is a table with 700MB of data and that will mean some serious problems in the near future.
Is there a better way of storing this array, I've heard of php pack() function, but how will it help me? What about mysql BLOB type filed instead of longtext?
Thank you