如何区分主数据和计算插值数据?
我得到了一堆带有一组固定值的数据点的向量,在下面的示例中,您会看到每个时间点都有一个值的向量的示例,
1D:2
2D:
7D:5
1M:6
6M:6.5
但可惜并非所有时间点都有可用的值。所有向量都存储在数据库中,并且通过触发器,我们通过插值或更高级的算法来计算缺失值。不知何故,我希望能够知道哪些数据点已被计算,哪些数据点是原始交付给我们的。当然,我可以在表中添加一个标志列,其中的值指示该值是主值还是计算所得,但我想知道是否有更复杂的方法。我们可能不需要定期确定,因此 cpu 周期不是确定或插入的问题。
上面的示例显示了一些看起来很漂亮的数字,但实际上它看起来更像 3.1415966533。
存储的数据库叫oracle 10。
干杯。
I'm getting a bunch of vectors with datapoints for a fixed set of values, in the example below you see an example of a vector with a value per time point
1D:2
2D:
7D:5
1M:6
6M:6.5
But alas not for all the timepoints is a value available. All vectors are stored in a database and with a trigger we calcuate the missing values by interpolation, or possibly a more advanced algorithm. Somehow I want to be able to tell which data points have been calculated and which have been original delivered to us. Of course I can add a flag column to the table with values indicating whether the value was a master value or is calculated, but I'm wondering whether there is a more sophisticated way. We probably don't need to determine on a regular basis, so cpu cycles are not an issue for determining or insertion.
The example above shows some nice looking numbers but in reality it would look more somethin like 3.1415966533.
The database for storage is called oracle 10.
cheers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以暂时停用触发器吗?
Could you deactivate the trigger temporarily?