General Oracle Data Collection Storage

后端 未结 1 440
隐瞒了意图╮
隐瞒了意图╮ 2021-01-26 06:31

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

相关标签:
1条回答
  • 2021-01-26 07:01

    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).

    0 讨论(0)
提交回复
热议问题