Evandro Ricardo Silvestre wrote:
> 
> 
> Gostaria de saber qual o custo de uma View em um banco de dados
> Postgresql.
> Ouvi dizer que a View é recompilada a cada INSERT/UPDATE/DELETE em suas 
> tabelas, assim uma tabela que não tem nenhuma View o processo IUD é mais 
> rápido. Isso é verdade?
> 
> Em que momento uma View é (re)compilada?
> 


Do manual:
http://www.postgresql.org/docs/8.2/interactive/sql-createview.html
"The view is not physically materialized. Instead, the query is run every
time the view is referenced in a query."

[]s
Osvaldo

-- 
View this message in context: 
http://www.nabble.com/Custo-de-View-tf3866128.html#a10956631
Sent from the PostgreSQL - Brasil mailing list archive at Nabble.com.

_______________________________________________
pgbr-geral mailing list
pgbr-geral@listas.postgresql.org.br
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a