返回首页

gbase数据、南大通用产品文档:GBase8sonmode 和 C 参数:控制 Btree 扫描程序(SQL 管理 API)

更新日期:2024年09月11日

................... - 766 -

High-Performance Data Loading Capability
GBase 8a MPP Cluster's data loading function achieves high loading performance
through parallel processing of data by all data computing nodes and replica
forwarding technology:
1)In the case of a single data server, the loading of the cluster can reach the
performance limit of the hardware resources of the data server;
2)With the increase of the number of data servers and cluster nodes, the
loading performance of the cluster can continue to improve.

GBase 8a MPP Cluster Technical White Paper
- 18 -
General Data Technology Co., Ltd.
Figure 3-7. GBase8a MPP Cluster data loading diagram.

rmt:select_syntax INTO OUTFILE 'file_path' [OUTFILE_OPTION]
参数说明如下:
select_syntax:支持标准的GBase UP 查询语法。
file_path:必须是发起SQL 的GBase UP 客户端所在主机的文件路径,且必须是绝
对路径。如,“/home/gbase/temp/cust.txt”是合法的,“temp/cust.txt”则是不合法
的。
OUTFILE_OPTION:FIELDS
其中,FIELDS_OPTION 包含以下几种形式:
TERMINATED BY '字段分隔符',用于在导出的文本数据中分隔字段数据。默认值
为“\t”,即TAB 键。
ENCLOSED BY '字段包围符',用于在导出的文本数据中,将每个字段的数据置为
字段包围符的包围中。默认为不使用字段包围符。
ESCAPED BY '转义标识符',
用于在导出的文本数据中,
为字段数据中与
“转义符”

“字段分隔符”,
“字段包围符”,
“行分隔符”等特殊字符相同的数据提供转义,
以表示这些内容是数据,而不是特殊字符。默认为“\”,即反斜线。