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

时间:2024-11-01 17:13:37

案例环境准备

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

--清理环境
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-0318.html