diff --git a/scripts/snapshotTimeAnalysis.sql b/scripts/snapshotTimeAnalysis.sql new file mode 100644 index 000000000..fc2450dbc --- /dev/null +++ b/scripts/snapshotTimeAnalysis.sql @@ -0,0 +1,9 @@ +SELECT + FilterListId, + ModifiedDateUtc - CreatedDateUtc As ProcessingTimeSecs, + CreatedDateUtc, + ModifiedDateUtc, + IsCompleted +FROM snapshots +WHERE ModifiedDateUtc - CreatedDateUtc > 30 OR IsCompleted = 0 +ORDER BY ProcessingTimeSecs DESC \ No newline at end of file