mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
tweak snapshotTimeAnalysis script
This commit is contained in:
parent
a23930f095
commit
fc4f0b4642
1 changed files with 9 additions and 0 deletions
9
scripts/snapshotTimeAnalysis.sql
Normal file
9
scripts/snapshotTimeAnalysis.sql
Normal file
|
|
@ -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
|
||||
Loading…
Reference in a new issue