Ask Your Question
2

Can materialized view be used as a data source in postgresql without any issue?

asked 2023-05-09 14:01:05 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-09 14:31:02 +0000

david gravatar image

Yes, materialized views can be used as a data source in PostgreSQL without any issue, provided that they are refreshing timeously as per your data requirements. Materialized views in PostgreSQL are just like regular tables, but their data is cached at the time of creation, allowing for faster query performance. They can be queried just like regular tables, and their data can be updated periodically by using the REFRESH MATERIALIZED VIEW command.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-09 14:01:05 +0000

Seen: 16 times

Last updated: May 09 '23