Extrait de
http://asktom.oracle.com/pls/asktom/...89600346945045 :
Triggers on a read only materialized view might appear to work - but you cannot rely on them working :
An update of a row in a materialized view might be done as a DELETE+INSERT.
A refresh of a materialized view might involve a delete + insert of every row.
A refresh might involve a truncate plus direct path load of ever row.
(the last two will probably happen sometime, you would lose anything your trigger had done in the past)
You do not know how we refresh, it would be a very shaky proposition to have a trigger on a read only materialized view - I would not recommend it.
Partager