使用COPY卸载数据
COPY TO
在Greenplum的Master主机上用一个Master实例的单进程从一个表复制数据到一个文件(或者标准输入)。使用COPY
输出一个表的全部内容,或者使用一个SELECT
语句过滤输出。例如:
COPY (SELECT * FROM country WHERE country_name LIKE 'A%')
TO '/home/gpadmin/a_list_countries.out';
Parent topic: 从Greenplum数据库卸载数据