[Django]-What is the most efficient way to store large arrays of floating point data in mysql for access through django?

1👍

There are a number of snippets on django snippets that will help you do what you want.

http://djangosnippets.org/snippets/1669/

http://djangosnippets.org/snippets/1597/

2👍

Most modern systems have more than enough memory so going to great lengths to save a few bytes here and there aren’t worth the complexity and investment in development.

A database double is more than adequate for such a value. Clearly, there are way more significant digits than a transducer can accurately provide. If there is some sort of chain-of-custody of evidence, then store the value as a string. It can be converted to a float or double on-the-fly if needed for a calculation.

👤wallyk

Leave a comment