设置Cygnus-PostgreSQL以进行历史数据持久化 [英] Setting up Cygnus-PostgreSQL for historical data persistance

查看:118
本文介绍了设置Cygnus-PostgreSQL以进行历史数据持久化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在我有一个真实的设备(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.


  1. 我想我需要创建用于存储的db模式,任何指向<$ c的链接$ c> cygnus-postgres 安装/持久性将受到赞赏。

  1. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆