01 2020 档案
摘要:代码如下: 把cs_thz_1的cs_thz_11用原sql替代,则cs_thz_1要跑5000秒,改造后,3秒,临时表的数据是16W,2019年一直运行时间在20秒内,2020年以后突然升到5000秒,要插入的目标表只有主键,没有分区,不知道什么原因??? 改造后: create table cs
阅读全文
摘要:--pivot 列转行drop table cs_thz_1;create table cs_thz_1(sid number(10),sname varchar2(1000),snum number(10));insert into cs_thz_1(sid,sname,snum)select 1
阅读全文
摘要:drop table t_thz_listagg;create table t_thz_listagg( n_id number(8), s_name varchar2(100), n_deptno number(8));insert into t_thz_listagg(n_id,s_name,n
阅读全文
浙公网安备 33010602011771号