资讯

精准传达 • 有效沟通

从品牌网站建设到网络营销策划,从策略到执行的一站式服务

oracle_onlinetableredefinition_2

联机重定义功能是通过物化视图来实现的。在调用START_REDEF_TABLE存储过程时,会自动创建与临时表名称相同的物化视图,并将源表的记录拷贝到临时表,此时源表可以DML和查询,不可DDL。
在联机重定义阶段源表产生的DML修改记录,将会被记录到物化视图日志中。在SYNC_INTERIM_TABLE和最后的FINISH_REDEF_TABLE过程,都会根据物化视图日志中的记录更新临时表。
调用ABORT_REDEF_TABLE存储过程后,建立的物化视图被清除。如果临时表上已经有拷贝的数据,那么在ABORT后,临时表上的数据并未被清除,应手工清除临时表上的数据。

成都创新互联专注于大理州企业网站建设,响应式网站,商城网站建设。大理州网站建设公司,为大理州等地区提供建站服务。全流程按需网站开发,专业设计,全程项目跟踪,成都创新互联专业和态度为您提供的服务

Table redefinition is started by the DBA creating an interim table based on the original table. The interim table can have a different structure than the original table, and will eventually take the original table's place in the database. While the table is redefined, DML operations on the original table are captured in a Materialized View Log table (MLOG$_%). These changes are eventually transformed and merged into the interim table. When done, the names of the original and the interim tables are swapped in the data dictionary. At this point all users will be working on the new table and the old table can be dropped.

oracle_online table redefinition_2
oracle_online table redefinition_2
oracle_online table redefinition_2


本文题目:oracle_onlinetableredefinition_2
URL标题:http://cdkjz.cn/article/ghdihi.html
多年建站经验

多一份参考,总有益处

联系快上网,免费获得专属《策划方案》及报价

咨询相关问题或预约面谈,可以通过以下方式与我们联系

业务热线:400-028-6601 / 大客户专线   成都:13518219792   座机:028-86922220