|
> WITH SEQUENCE在刷新的时候有什么特别的用处没有?
You must be referring to the "create materialized view log" statement. Documentation says
http://download.oracle.com/docs/ ... statements_6003.htm
"Specify SEQUENCE to indicate that a sequence value providing additional ordering information should be recorded in the materialized view log. Sequence numbers are necessary to support fast refresh after some update scenarios."
"To provide for fast refresh of materialized *aggregate* views, you must also specify the SEQUENCE and..." [my emphasis]
http://download.oracle.com/docs/ ... /b14223/basicmv.htm
"Oracle recommends that the keyword SEQUENCE be included in your materialized view log statement unless you are sure that you will never perform a mixed DML operation (a combination of INSERT, UPDATE, or DELETE operations on multiple tables). The SEQUENCE column is required in the materialized view log to support fast refresh with a combination of INSERT, UPDATE, or DELETE statements on multiple tables."
Yong Huang |
|