# Redshiftを使ってデータを処理

このシナリオでは、個人情報をRedshiftに書き込み、Redshift内の情報を取得してコンソールに表示するジョブについて説明します。

![](https://help.qlik.com/talend/ja-JP/components/8.0/Resources/images/components-use_case-tredshift-s1-job.png)

このシナリオでは、以下の6つのコンポーネントが必要です。

* tRedshiftConnection: Redshiftへの接続を開きます。

* tFixedFlowInput: 個人情報のデータストラクチャーを定義し、次のコンポーネントにデータを送信します。

* tRedshiftOutput: 前のコンポーネントから受け取ったデータをRedshiftに書き込みます。

* tRedshiftInput: Redshiftからデータを読み取ります。

* tLogRow: コンソールの先行コンポーネントから受け取ったデータを表示します。

* tRedshiftClose: Redshiftへの接続を閉じます。

### このセクション内

* [コンポーネントをドロップしてリンク](https://help.qlik.com/talend/ja-JP/components/8.0/amazon-redshift/tredshiftconnection-tredshiftinput-tlogrow-dropping-and-linking-components-standard-component-drop)
* [コンポーネントを設定](https://help.qlik.com/talend/ja-JP/components/8.0/amazon-redshift/tredshiftconnection-tredshiftinput-tlogrow-configuring-components-standard-component)
* [ジョブを保存して実行](https://help.qlik.com/talend/ja-JP/components/8.0/amazon-redshift/tredshiftconnection-tredshiftinput-tlogrow-saving-and-executing-job-standard-component-press)

**関連概念**

* [tRedshiftInput](https://help.qlik.com/talend/ja-JP/components/8.0/amazon-redshift/tredshiftinput "抽出したデータに変更を加えることができるように、データベースからデータを読み取り、クエリーに基づいてフィールドを抽出します。")
* [tRedshiftOutput](https://help.qlik.com/talend/ja-JP/components/8.0/amazon-redshift/tredshiftoutput "データベース内のデータの書き込み、更新、変更、または削除を行います。")

**関連資料**

* [tRedshiftConnection](https://help.qlik.com/talend/ja-JP/components/8.0/amazon-redshift/tredshiftconnection "後続のサブジョブで再利用できる、指定したデータベースへの接続を開きます。")
* [tRedshiftClose](https://help.qlik.com/talend/ja-JP/components/8.0/amazon-redshift/tredshiftclose "接続されたDBでコミットされたトランザクションをクローズします。")

**関連情報**

* [tFixedFlowInput](https://help.qlik.com/talend/r/ja-JP/8.0/components/tfixedflowinput/tfixedflowinput)
* [tLogRow](https://help.qlik.com/talend/r/ja-JP/8.0/components/logs-and-errors/tlogrow)