文档首页/
数据仓库服务 DWS/
更多文档/
开发指南(联盟区域)/
DWS性能调优/
SQL调优案例/
案例:典型不下推语句整改案例集/
案例:Type of Record in non-real table can not be shipped
更新时间:2025-12-12 GMT+08:00
案例:Type of Record in non-real table can not be shipped
问题根因
8.2.1.x特定版本下UPDATE语句+WITH语句场景存在下推问题。
案例1:UPDATE语句不下推
- 通过GUC参数enable_stream_ctescan设置stream计划下不支持ctescan,在语句执行前进行设置。
1SET enable_stream_ctescan = off
- 业务语句执行完再重置参数。
1SET enable_stream_ctescan = on
- 语句中UPDATE关键字后加hint,具体方式为 UPDATE /*+ set global(enable_stream_ctescan off) */
父主题: 案例:典型不下推语句整改案例集