求解,如何向簇表中快速差如值?

「已注销」 2019-03-12 03:23:38
现在有两种表A1,200万条数据,A2,200万条数据;
建一个簇:create cluster clu_t4 (tel char(11)) tablespace a_t4;
建立两张表,t1,t2;
建立一个索引 create index index_clu_tel on cluster clu_t4;
使索引unusable: alter index index_clu_tel unusable;
其中A1与t1,A2与t2的段都是相互对应的,
表空间a_t4为自动扩展,autoextend on
如何将A1的数据快速的插入t1中,A2的数据快速的插入t2中。
insert into t1 select * from A1;
insert into t2 select * from A2;
会卡住,select current_scn from v$database 卡住后,值变化的速度会很慢。
...全文
11 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

3,491

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 高级技术相关讨论专区
社区管理员
  • 高级技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧