teradata查询下面需要花费更多时间再次坐在延迟队列中?任何提示帮助表示赞赏
/* FILE IMPORT BTEQ WITH PACK OPTION */
delete from appl.a;
.IF ERRORCODE <> 0 THEN .QUIT ERRORCODE;
.import FILE=KR.GSED200.LGSALES.txt;
.QUIET ON
.REPEAT * pack 1000
USING
DAY_NBR (CHAR(6))
,LOCN_NBR (CHAR(5))
,SLS_TYPE_CD (CHAR(1))
,DVSN_371_RETL_SLS_DLR (CHAR(12))
,DVSN_471_RETL_SLS_DLR (CHAR(12))
,DVSN_571_RETL_SLS_DLR (CHAR(12))
,DVSN_671_RETL_SLS_DLR (CHAR(9))
INSERT INTO app.a
(
DAY_NBR
,LOCN_NBR
,SLS_TYPE_CD
,DVSN_371_RETL_SLS_DLR
,DVSN_471_RETL_SLS_DLR
,DVSN_571_RETL_SLS_DLR
,DVSN_671_RETL_SLS_DLR
)
VALUES
(
:DAY_NBR
,:LOCN_NBR
,:SLS_TYPE_CD
,trim(:DVSN_371_RETL_SLS_DLR)
,trim(:DVSN_471_RETL_SLS_DLR)
,trim(:DVSN_571_RETL_SLS_DLR)
,trim(:DVSN_671_RETL_SLS_DLR)
);
.IF ERRORCODE <> 0 THEN .QUIT ERRORCODE;
.QUIET OFF
.LOGOFF
.QUIT