云数据库 GaussDB-案例:使用DN Gather减少计划中的Stream节点:案例环境准备

时间:2025-02-12 15:08:04

案例环境准备

为了便于案例演示,需准备建表语句如下:

--清理环境DROP SCHEMA IF EXISTS dn_gather_test CASCADE;CREATE SCHEMA dn_gather_test;SET current_schema=dn_gather_test;--创建测试表CREATE TABLE t1(a INT, b INT, c INT, d INT);CREATE TABLE t2(a INT, b INT, c INT, d INT);CREATE TABLE t3(a INT, b INT, c INT, d INT);CREATE TABLE t4(a INT, b INT, c INT, d INT);
support.huaweicloud.com/distributed-devg-v8-gaussdb/gaussdb-12-0319.html