简体   繁体   English

如何在Citus中复制到cstore_fdw表?

[英]How do I COPY to a cstore_fdw table in Citus?

I have configured cstore_fdw successfully on our CitusDB installation running on an Ubuntu server in AWS. 我已经在AWS的Ubuntu服务器上运行的CitusDB安装上成功配置了cstore_fdw。

I tried to install the same on one of our client's servers running CentOS 6.5. 我试图在运行CentOS 6.5的客户端服务器之一上安装相同的服务器。 I could install it but cannot execute COPY commands. 我可以安装它,但是不能执行COPY命令。

Is there any documentation on using COPY with cstore_fdw-based tables in Citus? 在Citus中是否有任何有关将COPY与基于cstore_fdw的表一起使用的文档?

CitusDB with cstore_fdw is supported, but CitusDB itself does not support COPY . 支持具有cstore_fdw的CitusDB,但CitusDB本身不支持COPY Instead you can use the \\STAGE command by following these instructions . 相反,您可以按照以下说明使用\\STAGE命令。

What's the specific error message you saw on Ubuntu vs. CentOS? 您在Ubuntu vs. CentOS上看到的具体错误消息是什么?

Citus supports COPY command starting from 5.1 release. Citus从5.1版本开始支持COPY命令。 You could use it as the same manner you would use with regular tables. 您可以像使用普通表一样使用它。 Please see Citus documentation on bulk data loading . 请参阅有关批量数据加载的 Citus文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM