製品をチェック

製品の情報と無償トライアル:

Azure Analysis Services 連携ソリューション

データ連携でお困りですか?

お問い合わせ

SSIS を使ってAzure Analysis Services データをSQL Server にインポート


SSIS components for AAS を使用して簡単にSQL Server へAzure Analysis Services をバックアップします。


azureanalysisservices ロゴ画像
ssis ロゴ画像

SSIS

SSIS ロゴ画像

SQL Server に基幹業務データのバックアップを保管しておくことは、ビジネス上のセーフティネットとなります。また、ユーザーはSQL Server のバックアップデータからレポーティングや分析を簡単に行うことができます。

ここでは、SQL サーバー SSIS ワークフロー内でCData SSIS Tasks for AAS を使用して、Azure Analysis Services データをMicrosoft SQL Server データベースに転送する方法を説明します。

Components の追加

開始するには、新しいAzure Analysis Services ソースとSQL Server ADO.NET 転送先を新しいデータフロータスクに追加します。

The Data Flow task used in this example.(Salesforce is shown.)

新しいコネクションマネジャーを作成

以下のステップに従って、接続マネジャーでAzure Analysis Services 接続プロパティを保存します。

  1. Connection Manager ウィンドウで、右クリックで[New Connection] を選択します。Add SSIS Connection Manager ダイアログが表示されます。
  2. [Connection Manager type]メニューでAAS を選択します。CData Azure Analysis Services Connection Manager が表示されます。
  3. 接続プロパティを構成します。

    To connect to Azure Analysis Services, set the Url property to a valid server, for instance, asazure://southcentralus.asazure.windows.net/server, in addition to authenticating. Optionally, set Database to distinguish which Azure database on the server to connect to.

    Azure Analysis Services uses the OAuth authentication standard. OAuth requires the authenticating user to interact with Azure Analysis Services using the browser. You can connect without setting any connection properties for your user credentials. See the Help documentation for more information.

Azure Analysis Services Source の構成

以下のステップに従って、Azure Analysis Services の抽出に使用するクエリを指定します。

  1. Azure Analysis Services ソースをダブルクリックしてソースコンポーネントエディタを開きます。
  2. [Connection Manager]メニューで、以前作成した接続マネジャーを選択します。The Connection Manager to be used for the source component.(Salesforce is shown.)
  3. データの書き出しに使用するクエリを指定します。例: SELECT Country, Education FROM Customer WHERE Country = 'Australia' The SQL query to retrieve records.(Salesforce is shown.)
  4. Azure Analysis Services Source コントロールを閉じて、ADO.NET Destination に接続します。

SQL Server Destination を構成する

以下のステップに従って、Azure Analysis Services をロードするSQL サーバーテーブルを指定します。

  1. ADO.NET Destination を選択して、新しい接続を追加します。接続するサーバーおよびデータベースの情報を入力。
  2. Data access モードメニューで、[table or view]を選択します。
  3. [Table Or View]メニューで、設定するテーブルまたはビューを選択します。
  4. [Mappings]画面で必要なプロパティを設定します。 The mappings from the SSIS source component to SQL Server.(Salesforce is shown.)

プロジェクトの実行

プロジェクトを実行できるようになりました。SSIS Task の実行が完了すると、データベースにAzure Analysis Services データが入力されます。

The completed import.(Salesforce is shown.)