Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Use Streaming replication as a proxy server

$
0
0

We have a small device (BananaPi) that gathers lots of data from multiples sensors with different procotols.

Everything is fine so far but we want to export the data on a bigger server to be able to process it and build a user interface (monitoring, alerts, analytics ...)

We could directly send the data into the central PostgreSQL database with some sort of API but I was wondering if it could be a good idea to store it on a local Postgresql instance and use streaming replication to centralize the data ?

If so, is it possible to tell Postgresql to stream replicate content and erase it on the device once it is propagated on the server (to free space) ?

Thanks


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>