运行 Amazon Redshift 的复制命令在哪里

Where to run the copy command for Amazon Redshift

我一直在 运行 圈子里寻找从 'where' 到 运行 Amazon Redshift 的 COPY 命令。所有文档都只是说 "run the COPY command" 而没有实际说明 运行 从哪里来。

我已经下载了 AWS CLI;我已经配置 SQL Workbench 并将其连接到 Redshift。我已经登录到 Redshift 服务。我在哪里看不到可以输入 COPY 命令的地方。

甚至 google 搜索也只是抛出 "run the COPY command"。

COPY 命令是 运行 来自 SQL 客户端,如 SQL Workbench。

A​​mazon Redshift 将自己呈现为 PostgreSQL 数据库。 COPY 命令是 Redshift 支持的 SQL 的扩展。因此,需要从 SQL 客户端发出 COPY 命令。

您提到您已配置 SQL Workbench。连接到 Redshift 集群后,运行 来自该连接的命令。

A​​mazon Redshift 上有一个免费的自定进度实验室,网址为 qwikLABS——只需搜索 Redshift。这将为您介绍如何连接和使用 REdshift。