Skip to content

Latest commit

 

History

History
80 lines (56 loc) · 4.34 KB

File metadata and controls

80 lines (56 loc) · 4.34 KB
title Monitor loads
description Monitor active and recent loads by using the Analytics Platform System (APS) Admin Console or the Parallel Data Warehouse (PDW) System Views.
author charlesfeddersen
ms.author charlesf
ms.reviewer martinle
ms.date 04/17/2018
ms.prod sql
ms.technology data-warehouse
ms.topic conceptual
ms.custom seo-dt-2019

Monitor loads into Parallel Data Warehouse

Monitor active and recent dwloader loads by using the Analytics Platform System (APS) Admin Console or the Parallel Data Warehouse (PDW) System Views.

Tip

Some loads are initiated by using INSERT statements or business intelligence tools that use SQL statements to perform the load.

Prerequisites

Regardless of the method used to monitor a load, the login must have permission to access the underlying data sources.

Monitoring Loads

The following sections describe how to monitor loads.

To monitor loads by using the Admin Console

  1. Log on to the Admin Console.

  2. On the top menu, click Loads. You will see a sortable table showing all recent and active loads plus additional information, such as whether the load has completed or is still active. Click the column headers to sort the rows.

  3. To view additional details for a specific load, click the load ID in the left column. In the detailed view, you can see progress on each step of the load.

See these system views for information on the metadata about the load that is shown in the Admin Console:

To monitor loads by using system views

To monitor active and recent loads by using SQL Server PDW views, follow the steps below. For each system view used, see the documentation for that view for information on the columns and potential values returned by the view.

  1. Find the request_id for the load in the sys.dm_pdw_exec_requests view by finding the loader command line in the command column for this view.

    For example, the following command returns the command text and current status, plus the request_id.

    SELECT request_id, status, command FROM sys.dm_pdw_exec_requests;  
  2. Use the request_id to retrieve additional information for the load by using the sys.pdw_loader_run_stages , and sys.pdw_loader_backup_run_details views. For example, the following query returns the run_id and information on the start, end, and duration times of the load, plus any errors, and information on the number of rows processed:

    SELECT lbr.run_id,   
    er.submit_time, er.end_time, er.total_elapsed_time, er.error_id, lbr.rows_processed, lbr.rows_rejected, lbr.rows_inserted   
    FROM sys.dm_pdw_exec_requests er   
    LEFT OUTER JOIN   
    sys.pdw_loader_backup_runs lbr   
    ON (er.request_id=lbr.requst_id)   
    WHERE er.request_id='12738';