continuous query in postgresql
-
27-06-2021 - |
Pregunta
I have a spatio-temporal database in Postgresql that is continuously updates. I was wondering if there is a technique for continuous query in this database? for example I have temperature data that updates every minute in the database for specific area. I want to perform aggregate queries to show me the temperature every hour (aggregated value).
Solución
No, you can't continuously update query, but you can receive notification on events of importance and reissue your query.
Otros consejos
There are plugins like PipelineDB that may be able to help you
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow