Search code examples
postgresqlstreamingcontinuous

continuous query in postgresql


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).


Solution

  • No, you can't continuously update query, but you can receive notification on events of importance and reissue your query.