From 166a8f576a1d295759a5fa212c8b4054f6e885e9 Mon Sep 17 00:00:00 2001 From: Umachandar Jayachandran Date: Fri, 9 Sep 2016 15:45:29 -0700 Subject: [PATCH] Revert "Added custom reports for R Services that can be viewed from SSMS. Reports show R runtime configuration, resource usage and other statistics." This reverts commit b2bd8c36e811a2a18ed85b8c622fe87105e3046d. --- .../R Services - Active Sessions.rdl | 1588 ------------- .../R Services - Configuration.rdl | 969 -------- .../R Services - Packages.rdl | 730 ------ .../R Services - Resource Usage.rdl | 1970 ----------------- .../R Services - Script.rdl | 245 -- .../r-services/SSMS Custom Reports/README.txt | 3 - 6 files changed, 5505 deletions(-) delete mode 100644 samples/features/r-services/SSMS Custom Reports/R Services - Active Sessions.rdl delete mode 100644 samples/features/r-services/SSMS Custom Reports/R Services - Configuration.rdl delete mode 100644 samples/features/r-services/SSMS Custom Reports/R Services - Packages.rdl delete mode 100644 samples/features/r-services/SSMS Custom Reports/R Services - Resource Usage.rdl delete mode 100644 samples/features/r-services/SSMS Custom Reports/R Services - Script.rdl delete mode 100644 samples/features/r-services/SSMS Custom Reports/README.txt diff --git a/samples/features/r-services/SSMS Custom Reports/R Services - Active Sessions.rdl b/samples/features/r-services/SSMS Custom Reports/R Services - Active Sessions.rdl deleted file mode 100644 index be6f489d..00000000 --- a/samples/features/r-services/SSMS Custom Reports/R Services - Active Sessions.rdl +++ /dev/null @@ -1,1588 +0,0 @@ - - - 0 - - - - SQL - Data Source=. - true - - Integrated - f68705bb-df33-493e-b2ea-e8070ba8d88b - - - - - - SqlConnection - select r.session_id, r.blocking_session_id, r.status - , db_name(s.database_id) as database_name, s.login_name - , r.wait_time, r.wait_type, r.last_wait_type - , r.total_elapsed_time, r.reads, r.logical_reads, r.writes - , er.language as script_type, er.degree_of_parallelism, er.external_user_name - from sys.dm_exec_requests as r - join sys.dm_external_script_requests as er - on r.external_script_request_id = er.external_script_request_id - join sys.dm_exec_sessions as s - on s.session_id = r.session_id; - true - - - - session_id - System.Int16 - - - blocking_session_id - System.Int16 - - - status - System.String - - - wait_type - System.String - - - database_name - System.String - - - login_name - System.String - - - wait_time - System.Int32 - - - last_wait_type - System.String - - - total_elapsed_time - System.Int32 - - - reads - System.Int64 - - - writes - System.Int64 - - - logical_reads - System.Int64 - - - script_type - System.String - - - degree_of_parallelism - System.Int32 - - - external_user_name - System.String - - - - - - - - - - - - - 1in - - - 1in - - - 0.63333in - - - 1in - - - - - 0.25in - - - - - true - true - - - - - Total Elapsed Time (ms) - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Reads - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Logical Reads - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Writes - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 0.25in - - - - - true - true - - - - - =Sum(Fields!total_elapsed_time.Value) - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Sum(Fields!reads.Value) - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Sum(Fields!logical_reads.Value) - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Sum(Fields!writes.Value) - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - - - - - - - - - - - 1in - - - true - true - - - - - Session ID - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - - - true - true - - - - - Blocking Session ID - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - - - true - true - - - - - Status - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - - - true - true - - - - - Wait Type - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - - - true - true - - - - - Wait Time - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - - - true - true - - - - - Last Wait Type - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 0.525in - - - true - true - - - - - Script Type - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 0.475in - - - true - true - - - - - DOP - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - - - true - true - - - - - Database Name - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - - - true - true - - - - - Login Name - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1.34167in - - - true - true - - - - - External User Name - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - =Fields!session_id.Value - - - - - =Fields!session_id.Value - - - - 1in - - - true - true - - - - - =Fields!session_id.Value - - - - - - #9eb6e4 - 2pt - 2pt - 2pt - 2pt - - - - - - - - - =Fields!blocking_session_id.Value - - - - - =Fields!blocking_session_id.Value - - - - 1in - - - true - true - - - - - =Fields!blocking_session_id.Value - - - - - - #c6daf8 - 2pt - 2pt - 2pt - 2pt - - - - - - - - - =Fields!status.Value - - - - - =Fields!status.Value - - - - 1in - - - true - true - - - - - =Fields!status.Value - - - - - - #e6eefc - 2pt - 2pt - 2pt - 2pt - - - - - - - - - =Fields!wait_type.Value - - - - - =Fields!wait_type.Value - - - - 1in - - - true - true - - - - - =Fields!wait_type.Value - - - - - - #e6eefc - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - - - true - true - - - - - =Fields!wait_time.Value - - - - - - #e6eefc - 2pt - 2pt - 2pt - 2pt - - - - - - - - - =Fields!last_wait_type.Value - - - - - =Fields!last_wait_type.Value - - - - - - 1in - - - true - true - - - - - =Fields!last_wait_type.Value - - - - - - #e6eefc - 2pt - 2pt - 2pt - 2pt - - - - - - - - - =Fields!script_type.Value - - - - - =Fields!script_type.Value - - - - 0.525in - - - true - true - - - - - =Fields!script_type.Value - - - - - - #e6eefc - 2pt - 2pt - 2pt - 2pt - - - - - - - - - =Fields!degree_of_parallelism.Value - - - - - =Fields!degree_of_parallelism.Value - - - - 0.475in - - - true - true - - - - - =Fields!degree_of_parallelism.Value - - - - - - #e6eefc - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - - - true - true - - - - - =Fields!database_name.Value - - - - - - #e6eefc - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - - - true - true - - - - - =Fields!login_name.Value - - - - - - #e6eefc - 2pt - 2pt - 2pt - 2pt - - - - - - - - - =Fields!external_user_name.Value - - - - - =Fields!external_user_name.Value - - - - 1.34167in - - - true - true - - - - - =Fields!external_user_name.Value - - - - - - #e6eefc - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - external_script_requests - 1.10833in - 0.5in - 13.975in - - - - - - true - true - - - - - SQL Server R Services - Active Sessions - - - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - This report shows the currently executing R scripts on the server. - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - View SQL script - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - - 1.64667in - - - - - 13.975in - - - 0.45in - true - true - - - true - true - - - - - =Globals!ExecutionTime - - - - ExecutionTime - 0.2in - 9.975in - 0.25in - 2in - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - 1in - 1in - 1in - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Property Value - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 0.25in - - - - - true - true - - - - - =Fields!property_name.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Fields!property_value.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - - - - - - - - After - - - - - - - R_Properties - 1.65833in - 0.5in - 7.98333in - - - - - - - - - 1in - - - 1in - - - 1.25833in - - - - - 0.25in - - - - - true - true - - - - - R Services Installed - - - - - - - Textbox2 - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - External Scripts Enabled - - - - - - - Textbox3 - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Implied Authentication Enabled - - - - - - - Textbox5 - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 0.25in - - - - - - - - =First(Fields!IsRServicesInstalled.Value) - 1 - NoOutput - - None - Tablix1 - - NaN - 1 - - - NaN - 1 - - None - - External - - - 1 - - - - 0 - 1 - - - 0 - 1 - - Red - 1 - ThreeSymbolCross - - External - - - - - - 1 - 1 - - - 1 - 1 - - Green - 1 - ThreeSymbolCheck - - External - - - - - 0 - - ThreeCircledSymbols - - 4 - 4 - 92 - 92 - - - true - - - - Gainsboro - DiagonalLeft - Gray - None - 0pt - - - - - - External - - - - - External - - - Feature_Settings - - - White - - - - - - - - - - - =Sum(Fields!ExternalScriptsEnabled.Value) - 1 - NoOutput - - None - Tablix1 - - NaN - 1 - - - NaN - 1 - - None - - External - - - 1 - - - - 0 - 1 - - - 0 - 1 - - Red - 1 - ThreeSymbolCross - - External - - - - - - 1 - 1 - - - 1 - 1 - - Green - 1 - ThreeSymbolCheck - - External - - - - - 0 - - ThreeCircledSymbols - - 4 - 4 - 92 - 92 - - - true - - - - Gainsboro - DiagonalLeft - Gray - None - 0pt - - - - - - External - - - - - External - - - Feature_Settings - - - White - - - - - - - - - - - =Sum(Fields!ImpliedAuthenticationEnabled.Value) - 1 - NoOutput - - None - Tablix1 - - NaN - 1 - - - NaN - 1 - - None - - External - - - 1 - - - - 0 - 1 - - - 0 - 1 - - Red - 1 - ThreeSymbolCross - - External - - - - - - 1 - 1 - - - 1 - 1 - - Green - 1 - ThreeSymbolCheck - - External - - - - - 0 - - ThreeCircledSymbols - - 4 - 4 - 92 - 92 - - - true - - - - Gainsboro - DiagonalLeft - Gray - None - 0pt - - - - - - External - - - - - External - - - Feature_Settings - - - White - - - - - - - - - - - - - - - - - - - - - - Feature_Settings - 0.96944in - 0.5in - 3.25833in - 1 - - - - - - true - true - - - - - SQL Server R Services - Configuration - - - - - - LightGrey - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - This report provides configuration settings for SQL Server R Services and properties of the R installation. - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - View SQL script - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - - 2.15833in - - - - - 8.01667in - - - 0.45in - true - true - - - true - true - - - - - =Globals!ExecutionTime - - - - ExecutionTime - 0.2in - 5.98333in - 0.25in - 2in - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - 1in - 1in - 1in - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Version - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Depends - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - License - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Built - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Lib Path - - - - - - #4c68a2 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 0.25in - - - - - true - true - - - - - =Fields!Package.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Fields!Version.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Fields!Depends.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Fields!License.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Fields!Built.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - =Fields!LibPath.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - - - - - - - - - - - - After - - - - - - - R_Packages - 1.15in - 0.5in - 10.40835in - - - - - - true - true - - - - - SQL Server R Services - Installed Packages - - - - - - LightGrey - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - This report displays few properties of the packages installed in the R_SERVICES directory of the SQL Server instance. Use this report to determine if a particular package is installed for use in SQL Server and the location of the package on the file system. - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - View SQL script - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - - 1.68333in - - - - - 10.43335in - - - 0.45in - true - true - - - true - true - - - - - =Globals!ExecutionTime - - - - ExecutionTime - 0.2in - 8.40835in - 0.25in - 2in - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - 1in - 1in - 1in - - - #VALY - - - - - - - - - False - - - - - - - - - - - - - 0.5 - - NaN - NaN - NaN - - - - Axis Title - - - - False - - - - - - - - - - - - - 0.5 - - NaN - Opposite - NaN - NaN - - - - - - - - - - - - - - - - - - - - 0.5 - - NaN - NaN - NaN - - - - Axis Title - - - - - - - - - - - - - - - - 0.5 - - NaN - Opposite - NaN - NaN - - - - - - - CPU Usage (Hours) - - - - BrightPastel - - #4c68a2 - #b5dddf - #7292cc - #89bcc5 - #c4d5f3 - #c6c595 - #87acf3 - #7b9291 - #a8c4ec - #a49ed4 - - - Emboss - - - - No Data Available - - - pool_statistics - 4.43055in - 2.93056in - 4.25in - - 2pt - - #c6daf8 - TopBottom - #e6eefc - - - - - - - - - =Fields!name.Value - - - - - =Fields!name.Value - - - - - - - - - - - - - - - - - - - - =Sum(Fields!max_memory_percent.Value) - - - - - #VALY - - - - - - - - - False - - - - - - - - - - - - - 0.5 - - NaN - NaN - NaN - - - - Axis Title - - - - False - - - - - - - - - - - - - 0.5 - - NaN - Opposite - NaN - NaN - - - - - - - - - - - - - - - - - - - - 0.5 - - NaN - NaN - NaN - - - - Axis Title - - - - - - - - - - - - - - - - 0.5 - - NaN - Opposite - NaN - NaN - - - - - - - Max Memory Setting (%) - - - - BrightPastel - - #4c68a2 - #b5dddf - #7292cc - #89bcc5 - #c4d5f3 - #c6c595 - #87acf3 - #7b9291 - #a8c4ec - #a49ed4 - - - Emboss - - - - No Data Available - - - memory_limits - 1.31944in - 4.31944in - 3in - 4.9in - 1 - - 2pt - - #c6daf8 - TopBottom - #e6eefc - - - - - - - - - =Fields!pool_name.Value - - - - - =Fields!pool_name.Value - - - - - - - - - - - - - - - - - - - - - - - =Sum(Fields!read_io_completed_total.Value) - - - - - #VALY - - - - - #VALY - - - - - - - - - False - - - - - - - - - - - - - 0.5 - - NaN - NaN - NaN - - - - Axis Title - - - - False - - - - - - - - - - - - - 0.5 - - NaN - Opposite - NaN - NaN - - - - - - - - - - - - - - - - - - - - 0.5 - - NaN - NaN - NaN - - - - Axis Title - - - - - - - - - - - - - - - - 0.5 - - NaN - Opposite - NaN - NaN - - - - - - - - - - - - Black - Black - - - - - IO Statistics (Count) - - - - BrightPastel - - #4c68a2 - #b5dddf - #7292cc - #89bcc5 - #c4d5f3 - #c6c595 - #87acf3 - #7b9291 - #a8c4ec - #a49ed4 - - - Emboss - - - - No Data Available - - - pool_statistics - 4.43055in - 4.31944in - 3in - 4.9in - 2 - - 2pt - - #c6daf8 - TopBottom - #e6eefc - - - - - - - - - - - - - - - - - - - - - - - - - - =Sum(Fields!physical_memory_kb.Value) - - - - true - - #VALY - - - - true - - #VALY - - - - - Axis Title - - - - False - - - - - - - - - - - - - 0.5 - - NaN - NaN - NaN - - - - Axis Title - - - - False - - - - - - - - - - - - - 0.5 - - NaN - Opposite - NaN - NaN - - - - Axis Title - - - - - - - - - - - - - - - - 0.5 - - NaN - NaN - NaN - - - - Axis Title - - - - - - - - - - - - - - - - 0.5 - - NaN - Opposite - NaN - NaN - - - - - - - - - - - - Black - Black - - - - - Current Memory Consumption - - - - BrightPastel - - #4c68a2 - #b5dddf - #7292cc - #89bcc5 - #c4d5f3 - #c6c595 - #87acf3 - #7b9291 - #a8c4ec - #a49ed4 - - - Emboss - - - - No Data Available - - - sql_memory_usage - 1.31944in - 3in - 4.25in - 3 - - 2pt - - #c6daf8 - TopBottom - #e6eefc - - - - true - true - - - - - SQL Server R Services - Resource Usage - - - - - - LightGrey - 2pt - 2pt - 2pt - 2pt - - - - - - - 1.65833in - - - - - 0.25in - - - - - true - true - - - - - =Round(Sum(Fields!external_pool_peak_memory_kb.Value, "sql_memory_usage")/1024) & " MB" - - - - - - LightGrey - 2pt - 2pt - 2pt - 2pt - - - - - - - - - - - - - - - - - - - sql_memory_usage - 1in - 2.43333in - 0.25in - 1.65833in - 5 - - - - - - true - true - - - - - R Scripts - Peak Memory Usage: - - - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - This report provides detailed data on the resource consumption of R Services with respect to SQL Server. Use this report to adjust external resource pool setting for R scripts. - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - View SQL script - - - LightGrey - Middle - 2pt - 2pt - 2pt - 2pt - - - - 7.55555in - - - - - 9.275in - - - 0.45in - true - true - - - true - true - - - - - =Globals!ExecutionTime - - - - ExecutionTime - 0.2in - 7.13333in - 0.25in - 2in - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - 1in - 1in - 1in - - - - - - LightGrey - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - This is the T-SQL script for generating the data in report: - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!SQLR_Script.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!SQLR_ReportName.Value - - - - - - - Textbox1 - 0.46944in - 3.56111in - 0.25in - 5.42222in - 3 - - - 2pt - 2pt - 2pt - 2pt - - - - 1.125in - - - - - 9.01667in - - - 0.45in - true - true - - - true - true - - - - - =Globals!ExecutionTime - - - - ExecutionTime - 0.2in - 6.98333in - 0.25in - 2in - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - 1in - 1in - 1in - 1in -