Are PostgreSQL VIEWS created newly each time they are queried against?
问题 I am creating a web app which has some complex underlying associations. In order to solve several issues I was having I created a UNION View. There are probably a lot of other ways this could be solved. But I am now considering the efficiency of my design, and I wanted to know if a VIEW is newly created each time it is queried, or is it only created once, and kept updated. To elaborate, if I have table_a (100 records) and table_b (100 records) and make a UNION View, then I have created a view