快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

oracle_onlinetableredefinition_2-创新互联

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

台江ssl适用于网站、小程序/APP、API接口等需要进行数据传输应用场景,ssl证书未来市场广阔!成为创新互联的ssl证书销售渠道,可以享受市场价格4-6折优惠!如果有意向欢迎电话联系或者加微信:13518219792(备注:SSL证书合作)期待与您的合作!

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

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


文章题目:oracle_onlinetableredefinition_2-创新互联
转载来于:http://6mz.cn/article/doppeo.html

其他资讯