|
|
|
|
|
by debaserab2
2351 days ago
|
|
You can do effectively the same thing using a physical table and triggers [1] if you want a pure postgres solution. I ended up with the same problem and just ended up using a physical table and implemented the updating logic at our app layer. Not exactly fun or easy to implement all the updating logic yourself though... [1] https://hashrocket.com/blog/posts/materialized-view-strategi... |
|
There are other initiatives for plugging it on existing RDBMSs, like Noria [1] for MySQL. It allows for subscribing to changes; and also for lazy evaluation of the materializing view rows, keeping them in cache for later.
[1] https://github.com/mit-pdos/noria/blob/master/README.md