设置Cygnus-PostgreSQL以进行历史数据持久化 [英] Setting up Cygnus-PostgreSQL for historical data persistance
问题描述
现在我有一个真实的设备(LWM2M-使用wakaama实现)正在运行并将数据发送到Orion(我可以从服务器日志中确认,成功创建观察者 ) ,我想继续进行历史数据存储。
Now that I have a real device (LWM2M -using wakaama implementation) running and sending data to Orion (I can confirm from server log, 'Observers created successfully'
), I want to proceed with historical data storage.
我不确定如何开始。使用 docker-compose
文件启动所有服务。我已经有 postgres
图片被拉出并开始运行。
I am not sure how to start. Using docker-compose
file to start all services. I already have postgres
image pulled and running. Would like to use it for persistence.
- 我想我需要创建用于存储的db模式,任何指向<$ c的链接$ c> cygnus-postgres 安装/持久性将受到赞赏。
- I guess I need to create the db schema to use for storage, any link to
cygnus-postgres
installation/persistence would be appreciated.
推荐答案
如果有人在寻找与我类似的情况(上文已提及),我找到了解释此处定制部分非常有帮助,请仔细阅读。
Should anyone be looking for how to go about similar situation as I did (above refers), I found the explanations here the customisations section very helpful, please read it.
这篇关于设置Cygnus-PostgreSQL以进行历史数据持久化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!