Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 2.68 KB

sql-server-external-scripts-object.md

File metadata and controls

48 lines (39 loc) · 2.68 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords dev_langs
SQL Server, External Scripts object
Learn about the SQLServer:External Scripts object, which provides counters to monitor the actions associated with executing external scripts.
MikeRayMSFT
mikeray
12/04/2023
sql
performance
reference
External Scripts object
SQLServer:External Scripts
TSQL

SQL Server, External Scripts object

[!INCLUDE SQL Server]

The SQLServer:External Scripts object in [!INCLUDE ssNoVersion] provides counters to monitor the actions associated with executing external scripts. For information about executing external scripts, see sp_execute_external_script (Transact-SQL).

This table describes the [!INCLUDE ssNoVersion] External Scripts counters.

SQL Server External Scripts counters Description
Execution Errors The number of errors in executing external scripts.
Implied Auth. Logins The number of logins from satellite processes authenticated by using implied authentication.
Parallel Executions The number of external scripts executed with @parallel = 1.
Partition By Executions Number of external scripts executed with @input_data_1_partition_by_columns parameter.
SQL CC Executions The number of external scripts executed using SQL Compute Context.
Streaming Executions The number of external scripts executed with the @r_rowsPerRead parameter.
Total Execution Time (ms) The total time spent in executing external scripts.
Total Executions The number of external scripts executed.

Example

You begin to explore the query performance counters in this object using this T-SQL query on the sys.dm_os_performance_counters dynamic management view:

SELECT * FROM sys.dm_os_performance_counters
WHERE object_name LIKE '%External Scripts%';

Related content