当来自 derby 视图的 select 时,用于创建视图的查询会再次执行吗?

When select from a derby view will the query used to create the view be executed again?

我注意到当我更改基础 table 时,从视图中选择的结果会有所不同,但我想知道这是因为每次 table 更改或每次更改时视图都会更新选自?

is because the view update every time table changes or every time being selected from?

后者,即每次您从视图 select 时,将重新查询基础表,就好像您直接 运行 视图的 SQL 一样。

一些数据库系统(但我怀疑不是 Derby)具有 "materialized view" 的概念,它是视图查询结果的快照,当基础表中的数据发生变化时可能会更新.