Skip to main content

Blue icon with a stream-like object flowing out of a database. データストリーム出力ツール

ユーザーロール要件

ユーザーロール*

ツール/機能へのアクセス

フルユーザー

ベーシックユーザー

X

*Alteryx Oneプロフェッショナルエディションおよびエンタープライズエディションをご契約中で、Designerバージョン2025.1以降をお使いのお客様に適用されます。

データストリーム出力を使用すると、In-DBワークフローからAlteryx Designerにデータをストリーミングできます。

インデータベースは、データベースからデータを移動することなく大きなデータセットに対してブレンディングと分析を可能にし、従来の分析メソッドに比べて大幅なパフォーマンス向上を実現します。インデータベースツールカテゴリの詳細については、「インデータベースの概要」を参照してください。

ツールの設定

Use the Configuration window to customize the Data Stream Out tool.

  • Advanced Query Options: Use this section to define Pre- and Post-SQL statements to execute. Pre- and post-SQL statements are compatible with the Bulk Loaders, OCI, ODBC, and OLE DB technologies.

    To configure your SQL statements...

    1. Use the 3-dot menu associated with either the Pre or Post Statement fields to launch the Configure Pre/Post SQL Statements window, which includes the SQL Editor and Stored Procedures tabs.

    2. Next, define SQL statements as needed:

      • Pre-SQL Statement: Define a SQL statement to execute before the in-database execution.

      • Post-SQL Statement: Define a SQL statement to execute after the in-database execution.

    3. To configure Pre-SQL and Post-SQL statements...

      • Use the SQL Editor tab to define a SQL statement to execute before/after the In-DB execution. When the workflow runs, the Results window displays messages to show that the tool is executing SQL statements, along with a label (PreSQL/PostSQL).

        • All SQL statements are sent directly to the database. Pre-SQL statements do not return data. While SQL can return data, Designer doesn't do anything with it.

        • If there are multiple streams of In-DB tools, there is no guaranteed order of execution between different streams. The Results window displays the order.

      • Use the Stored Procedures tab to select and configure a stored procedure call for your database. You can select a Parameter and set a Value for your stored procedures if needed. All stored procedures are sent directly to the database.

        • If a stored procedure is executed successfully, it returns any necessary status messages or warnings in the Results window.

        • If a stored procedure returns data, Designer does not return it anywhere. The data is not displayed in the Results window.

        重要

        Stored procedures are supported for these connections:

        • SQL Server for ODBC and Bulk Writer

        • Oracle for ODBC Only

    4. Select OK when you're finished or Cancel to return to the tool configuration window.

  • Sort records before streaming out: This is an optional setting. When checked, the incoming data is sorted by the field specification below.

    • 名前 : 並べ替えの基準となるフィールドを選択します。

    • 順序 : 昇順または降順を選択します。

    • 順序を変更するには上矢印と下矢印を使用し、フィールドを削除するには「-」ボタンを使用します。

標準ツールをデータストリーム出力ツールの出力に接続します。