I am designing a new laboratory database. I want to store the raw results for all tests together.
In some cases, the result is a single value. However, the result is s
I would avoid option 3 - if you're going to use a database to store raw results, you might as well use it to store all the results.
Option 1 sounds like you'll end up duplicating a lot of data for each result row, and have only two values (time offset and value) change.
Of the three options you suggest, I would go with Option 2. You'll be able to store a single result row for each result, and have the details of the result available in the DB as well, without cluttering up the result table itself.
Depending on how you expect to use the data, and how many data points you have per result waveform, I might even be tempted to store the waveform/signal as a single string (e.g. comma-separated values).