可编辑和编辑视图之间的区别?
Difference between editionable and editioning views?
在create view的语法图中我们看到三种create方式:
EDITIONING
EDITIONABLE EDITIONING
NONEDITIONABLE
create editioning
和create editionable editioning
有什么区别?
这些条款涉及 Edition-based redefinition。
这里介绍了版本的概念。这扩展了 Oracle 数据库中对象的命名空间。所以对象的完全限定名称现在是
edition_name.schema_name.object_name
所以一个对象可以在同一个架构中有多个定义。 edition_name
是您会话设置的一部分;不能直接指定。
编辑视图是一种特殊类型的视图,用于支持零停机模式更改。您将它们放在表上并更改应用程序代码以访问这些视图而不是基表。他们受制于 number of restrictions:
Within any edition, you can create only one editioning view for any single table.
You cannot specify the object_view_clause, XMLType_view_clause, or BEQUEATH clause.
You cannot define a constraint WITH CHECK OPTION on an editioning view.
In the select list of the defining subquery, you can specify only simple references to the columns of the base table, and you can
specify each column of the base table only once in the select list.
The asterisk wildcard symbol * and t_alias.* are supported to
designate all columns of a base table.
The FROM clause of the defining subquery of the view can reference only a single existing database table. Joins are not permitted. The
base table must be in the same schema as the view being created. You
cannot use a synonym to identify the table, but you can specify a
table alias.
The following clauses of the defining subquery are not valid for editioning views: subquery_factoring_clause, DISTINCT or UNIQUE,
where_clause, hierarchical_query_clause, group_by_clause, HAVING
condition, model_clause, or the set operators (UNION, INTERSECT, or
MINUS)
您可以在 editioning
个视图上创建 cross-edition triggers
。您使用这些来维护一个版本中存在的列,而不是另一个版本中的列。
editionable
/noneditionable
关键字适用于常规视图。它们定义每个版本是否可以拥有自己的视图版本(editionable
),或者所有版本是否必须具有相同的视图版本(noneditionable
)
在create view的语法图中我们看到三种create方式:
EDITIONING
EDITIONABLE EDITIONING
NONEDITIONABLE
create editioning
和create editionable editioning
有什么区别?
这些条款涉及 Edition-based redefinition。
这里介绍了版本的概念。这扩展了 Oracle 数据库中对象的命名空间。所以对象的完全限定名称现在是
edition_name.schema_name.object_name
所以一个对象可以在同一个架构中有多个定义。 edition_name
是您会话设置的一部分;不能直接指定。
编辑视图是一种特殊类型的视图,用于支持零停机模式更改。您将它们放在表上并更改应用程序代码以访问这些视图而不是基表。他们受制于 number of restrictions:
Within any edition, you can create only one editioning view for any single table.
You cannot specify the object_view_clause, XMLType_view_clause, or BEQUEATH clause.
You cannot define a constraint WITH CHECK OPTION on an editioning view.
In the select list of the defining subquery, you can specify only simple references to the columns of the base table, and you can specify each column of the base table only once in the select list. The asterisk wildcard symbol * and t_alias.* are supported to designate all columns of a base table.
The FROM clause of the defining subquery of the view can reference only a single existing database table. Joins are not permitted. The base table must be in the same schema as the view being created. You cannot use a synonym to identify the table, but you can specify a table alias.
The following clauses of the defining subquery are not valid for editioning views: subquery_factoring_clause, DISTINCT or UNIQUE, where_clause, hierarchical_query_clause, group_by_clause, HAVING condition, model_clause, or the set operators (UNION, INTERSECT, or MINUS)
您可以在 editioning
个视图上创建 cross-edition triggers
。您使用这些来维护一个版本中存在的列,而不是另一个版本中的列。
editionable
/noneditionable
关键字适用于常规视图。它们定义每个版本是否可以拥有自己的视图版本(editionable
),或者所有版本是否必须具有相同的视图版本(noneditionable
)