Amazon Redshift の UNLOAD コマンドについてまとめました。 UNLOADコマンド Redshift では UNLOAD コマンドを使用してクエリの結果を S3 にアンロードすることができます。 基本的なコマンドの構文は以下の通りです。ここからロードするデータに合わせてオプションのパラメータを付加します。 UNLOAD ('select_statement') TO 's3://bucket/object_path_prefix' [ WITH ] CREDENTIALS [AS] 'aws_access_key_id=<access-key-id>;aws_secret_access_key=<secret-access-key>'; [ option [ ... ] ]; select_statementには SELECT クエリを指定します。特定のテーブルを全件