diff --git a/SQLWATCHDB/dbo/Tables/sqlwatch_logger_xes_waits_stats.sql b/SQLWATCHDB/dbo/Tables/sqlwatch_logger_xes_waits_stats.sql
index 67aedc91..0fde9c93 100644
--- a/SQLWATCHDB/dbo/Tables/sqlwatch_logger_xes_waits_stats.sql
+++ b/SQLWATCHDB/dbo/Tables/sqlwatch_logger_xes_waits_stats.sql
@@ -19,7 +19,7 @@
[activity_seqeuence_xfer] int null,
[event_name] [varchar](255) null,
[sql_instance] nvarchar(25) not null default @@SERVERNAME,
- [sqlwatch_activity_id] uniqueidentifier default newsequentialid(),
+ [sqlwatch_activity_id] uniqueidentifier not null default newsequentialid(),
constraint fk_logger_xes_waits_snapshot_header foreign key ([snapshot_time],[snapshot_type_id],[sql_instance]) references [dbo].[sqlwatch_logger_snapshot_header]([snapshot_time],[snapshot_type_id],[sql_instance]) on delete cascade on update cascade,
constraint [pk_logger_xes_waits] primary key (
[snapshot_time],[snapshot_type_id],[sql_instance], [sqlwatch_activity_id]
diff --git a/SQLWATCHSSIS/import_remote_data.dtsx b/SQLWATCHSSIS/import_remote_data.dtsx
index 5b4c9908..31df04b5 100644
--- a/SQLWATCHSSIS/import_remote_data.dtsx
+++ b/SQLWATCHSSIS/import_remote_data.dtsx
@@ -12,8 +12,8 @@
DTS:LocaleID="2057"
DTS:ObjectName="import_remote_data"
DTS:PackageType="5"
- DTS:VersionBuild="829"
- DTS:VersionGUID="{C3C23562-E7BE-43CD-B2C7-B1C09533230E}">
+ DTS:VersionBuild="831"
+ DTS:VersionGUID="{7769AC45-0F20-425B-9295-749BCECAEBA0}">
6
@@ -70,7 +70,7 @@
AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWTV0OIe420GdHMg0Y6455QAAAAAIAAAARABUAFMAAAADZgAAwAAAABAAAABLlKjlSIs1UeGxxYom7ZmLAAAAAASAAACgAAAAEAAAAAlybiFUrNrcLBHQpLhrzrsYAAAAOO4vwgpl5lhMP88zF8eySEk6t7NZ3gRMFAAAAJh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RmRGZQ+AAAAAASAAACgAAAAEAAAAL3Xf3xdDPuwn0y/FH41xQYYAAAAIs5alqu4yvNZIhEMqM4tPEJV/6h84NE1FAAAADeV318IlBMllkx6HkYzxyqYkdSB
@@ -145,7 +145,7 @@
AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWTV0OIe420GdHMg0Y6455QAAAAAIAAAARABUAFMAAAADZgAAwAAAABAAAADLXn9cNWwlHGkiLjMR1BL8AAAAAASAAACgAAAAEAAAAHGqpn3yJGS6YBzcSweJdHoYAAAAXVVcSvs6nimeHUIZHdhUleUEkDD8OcAUFAAAAIpZZVxkm0i8tzCcXFOxizS/nzWS
+ Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWTV0OIe420GdHMg0Y6455QAAAAAIAAAARABUAFMAAAADZgAAwAAAABAAAAA+LxYGb4cBvnkCwkoXqKmoAAAAAASAAACgAAAAEAAAAMZ4Wlh+SHM1rab1VqzEU+kYAAAAM0CqeNURl163kpmOJpcVca9Lu8yoALnvFAAAAEe4xuNjfXV8qx/QjXBmYCSdTrGv
@@ -167,11 +167,11 @@
DTS:Name="UserName">@[$Package::remote_user_name]
+ DTS:ConnectionString="Data Source=192.168.168.129;User ID=sa;Initial Catalog=SQLWATCH;Provider=SQLNCLI11.1;Persist Security Info=True;Auto Translate=False;Packet Size=32767;">
AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWTV0OIe420GdHMg0Y6455QAAAAAIAAAARABUAFMAAAADZgAAwAAAABAAAACEH9AZbpo4ABMCGSjssQtxAAAAAASAAACgAAAAEAAAAPzdkU8N3qT6/I2s7OtKmYkYAAAA1b4TP3UaKwAYztfbZjUJMQXD34Ol0CJyFAAAAKySASJ0/UMnWkjWfkBzzOpT22V3
+ Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWTV0OIe420GdHMg0Y6455QAAAAAIAAAARABUAFMAAAADZgAAwAAAABAAAAAKPh+ydn7pnsfwhTt8+7ukAAAAAASAAACgAAAAEAAAAHvPOubUkZnd95S/CSPdR1AYAAAAbBg+cCiOOob0A5QmUmZSpaFLlaFOVXBrFAAAAMVBbNDfvS2+5cCnb6/xJW+Y7agB
@@ -192,11 +192,11 @@
+ DTS:ConnectionString="Data Source=192.168.168.129;User ID=sa;Initial Catalog=tempdb;Provider=SQLNCLI11.1;Persist Security Info=True;Auto Translate=False;Packet Size=32767;">
AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWTV0OIe420GdHMg0Y6455QAAAAAIAAAARABUAFMAAAADZgAAwAAAABAAAABujxxfZBD02rs2WD8aqPCiAAAAAASAAACgAAAAEAAAAEZ2M6tmI2Y1TS8xr1lNvGQYAAAAF+VUQpCw2lDdDgrZOd1v+4AIlqDvzIfBFAAAAIex4s9nOWjCK4ah9spiopVxXyfM
+ Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWTV0OIe420GdHMg0Y6455QAAAAAIAAAARABUAFMAAAADZgAAwAAAABAAAADWz+OSt9P76Cwu3WjYrvIBAAAAAASAAACgAAAAEAAAADsMbRH/XcXTQxhINV/wcHkYAAAA8kWi1VYGJTBPu3wwbUCyfC9cVZx5CibqFAAAAGq3nkEx6SGjiLJC2nh04xyv2SdP
@@ -235,7 +235,7 @@
AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWTV0OIe420GdHMg0Y6455QAAAAAIAAAARABUAFMAAAADZgAAwAAAABAAAACMJswpKYGqZcI5NNyJf6HRAAAAAASAAACgAAAAEAAAAI5N/5qfpnSX/zD4waJ1wbwYAAAAnpjWkbDOTc6aN06vowMuXtYAeQLW98BTFAAAAP3U4P/gIml7+MG+dzfwzcVOUCVv
+ Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWTV0OIe420GdHMg0Y6455QAAAAAIAAAARABUAFMAAAADZgAAwAAAABAAAAAgQf+8ugRQEjYF+NIF/vk8AAAAAASAAACgAAAAEAAAAP3z++Is1mlINewyLibcukUYAAAAWO7/xyewaA43s0gLqs0pDuHjfNRsNDxUFAAAAPMtN1tA3JOR33jiokGrlxUS0Q/8
AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWTV0OIe420GdHMg0Y6455QAAAAAIAAAARABUAFMAAAADZgAAwAAAABAAAAA2u8ZMZOss+MK1OGqD/ZLHAAAAAASAAACgAAAAEAAAAGaffNlbYoW8y17uN9eYCF0YAAAA2mwN8+0caCLsjuiSVe8l7z/miHDasIcSFAAAAA0cOFoxv5UvvZ3byvEdLWTn2kg6
+ Encrypted="1">AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAWTV0OIe420GdHMg0Y6455QAAAAAIAAAARABUAFMAAAADZgAAwAAAABAAAAD4gqh7PInR9z9wEaIzqA3bAAAAAASAAACgAAAAEAAAAJOM1T/wKQa9c8xzbFhEB8AYAAAA2fjoy8ve6uAjdIk/h5Ow81dFHZEKfibnFAAAAJiHUupSADYd6ThU2vUot1P6L3zN
192.168.168.131
+ DTS:DataType="8">192.168.168.129
+ DTS:ThreadHint="1">
+ DTS:ThreadHint="3">
+ DTS:ThreadHint="5">
+ DTS:ThreadHint="5">
+ DTS:ThreadHint="4">
cachedName="event_name"
externalMetadataColumnId="Package\Load Logger Data (Delta)\sqlwatch_logger_xes_waits_stats\OLE DB Destination.Inputs[OLE DB Destination Input].ExternalColumns[event_name]"
lineageId="Package\Load Logger Data (Delta)\sqlwatch_logger_xes_waits_stats\source.Outputs[OLE DB Source Output].Columns[event_name]" />
+
@@ -12868,6 +12874,10 @@ WHERE snapshot_time > convert(datetime,?)
dataType="str"
length="255"
name="event_name" />
+
@@ -12940,6 +12950,7 @@ WHERE snapshot_time > convert(datetime,?)
,[activity_seqeuence_xfer]
,[event_name]
,[sql_instance]
+ ,[sqlwatch_activity_id]
FROM [dbo].[sqlwatch_logger_xes_waits_stats]
WHERE snapshot_time > convert(datetime,?)
lineageId="Package\Load Logger Data (Delta)\sqlwatch_logger_xes_waits_stats\source.Outputs[OLE DB Source Output].Columns[event_name]"
name="event_name"
truncationRowDisposition="FailComponent" />
+
@@ -13259,6 +13279,10 @@ WHERE snapshot_time > convert(datetime,?)
dataType="str"
length="255"
name="event_name" />
+
@@ -22416,7 +22445,7 @@ ORDER BY [servername]
@@ -22517,7 +22546,7 @@ ORDER BY [servername]
@@ -22763,7 +22792,7 @@ ORDER BY [servername]
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
externalMetadataColumnId="Package\Load Meta Tables (Full Laod)\sqlwatch_meta_server\source.Outputs[OLE DB Source Output].ExternalColumns[servername]"
- length="128"
+ length="25"
lineageId="Package\Load Meta Tables (Full Laod)\sqlwatch_meta_server\source.Outputs[OLE DB Source Output].Columns[servername]"
name="servername"
sortKeyPosition="1"
@@ -22956,7 +22985,7 @@ ORDER BY [servername]
DTS:ExecutableType="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
DTS:LocaleID="-1"
DTS:ObjectName="Rollback transaction on destination"
- DTS:ThreadHint="3">
+ DTS:ThreadHint="6">
DTS:ExecutableType="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
DTS:LocaleID="-1"
DTS:ObjectName="set error"
- DTS:ThreadHint="1">
+ DTS:ThreadHint="2">
DTS:ExecutableType="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
DTS:LocaleID="-1"
DTS:ObjectName="Sustain tempDB connection on remote"
- DTS:ThreadHint="2">
+ DTS:ThreadHint="3">
DTS:ExecutableType="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"
DTS:LocaleID="-1"
DTS:ObjectName="Sustain tempDB connection on repo"
- DTS:ThreadHint="2">
+ DTS:ThreadHint="3">
#{Package\Transaction container\index_missing\391:invalid};#{Package\Transaction container\index_missing\392:invalid};#{Package\Transaction container\index_missing\393:invalid};
+ name="ParameterMap">#{Package\Transaction container\index_missing\339:invalid};#{Package\Transaction container\index_missing\340:invalid};#{Package\Transaction container\index_missing\341:invalid};
refId="Package\Transaction container\meta_database-FULL\Merge Join.Inputs[Merge Join Left Input].Columns[database_current]"
cachedDataType="bool"
cachedName="database_current"
- lineageId="Package\Transaction container\meta_database-FULL\394:invalid" />
+ lineageId="Package\Transaction container\meta_database-FULL\342:invalid" />
@@ -49048,7 +49077,7 @@ where [refTable].[snapshot_time] = ? and [refTable].[snapshot_type_id] = ? and [
containsID="true"
dataType="System.String"
description="Specifies the list of lineage identifiers that map to the parameters that the SQL statement in the SQLCommand property uses. Entries in the list are separated by semicolons."
- name="ParameterMap">#{Package\Transaction container\xes_blockers\395:invalid};#{Package\Transaction container\xes_blockers\396:invalid};#{Package\Transaction container\xes_blockers\397:invalid};
+ name="ParameterMap">#{Package\Transaction container\xes_blockers\343:invalid};#{Package\Transaction container\xes_blockers\344:invalid};#{Package\Transaction container\xes_blockers\345:invalid};
#{Package\Transaction container\xes_long_queries\398:invalid};#{Package\Transaction container\xes_long_queries\399:invalid};#{Package\Transaction container\xes_long_queries\400:invalid};
+ name="ParameterMap">#{Package\Transaction container\xes_long_queries\346:invalid};#{Package\Transaction container\xes_long_queries\347:invalid};#{Package\Transaction container\xes_long_queries\348:invalid};
#{Package\Transaction container\xes_wait_stats\401:invalid};#{Package\Transaction container\xes_wait_stats\402:invalid};#{Package\Transaction container\xes_wait_stats\403:invalid};
+ name="ParameterMap">#{Package\Transaction container\xes_wait_stats\349:invalid};#{Package\Transaction container\xes_wait_stats\350:invalid};#{Package\Transaction container\xes_wait_stats\351:invalid};
+ Capacity="4" xmlns="clr-namespace:Microsoft.SqlServer.IntegrationServices.Designer.Model.Serialization;assembly=Microsoft.SqlServer.IntegrationServices.Graph" xmlns:mssgle="clr-namespace:Microsoft.SqlServer.Graph.LayoutEngine;assembly=Microsoft.SqlServer.Graph" xmlns:assembly="http://schemas.microsoft.com/winfx/2006/xaml">
-
+
@@ -61910,9 +61937,7 @@ where [refTable].[snapshot_time] = ? and [refTable].[snapshot_type_id] = ? and [
-
+
-
+
-
+