Changes between Version 36 and Version 37 of DatabaseBasedAnalysis/Tables


Ignore:
Timestamp:
09/03/18 20:36:34 (7 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DatabaseBasedAnalysis/Tables

    v36 v37  
    7474||='''Status''' =||= '''fStartTime''' =||= '''fStopTime''' =||= '''fReturnCode''' =||= '''Comment''' =||
    7575||=Waiting      =||  NULL              ||  NULL             ||    [NULL]           || Processing is supposed to be done (just not yet started or pre-conditions are still missing) ||
     76||=Running      =||  NOT NULL          ||  NULL             ||    [NULL]           || Processing is supposed to be done and running already (this includes ''Scheduled'')  ||
    7677||=Scheduled    =||  -''marker''-      ||  NULL             ||    [NULL]           || Pre-conditions fulfilled, scheduled for processing by job-manager (only callisto and star) ||
    77 ||=Running      =||  NOT NULL          ||  NULL             ||    [NULL]           || Processing is supposed to be done and running already  ||
    7878||=Success      =||  > 2000            ||  > 2000           ||     NULL            || Processing was successfully finished for this index    ||
    7979||=Failed       =||  > 2000            ||  > 2000           ||   NOT NULL          || Processing failed                                      ||
     
    8686{{{#!sql
    8787SELECT
    88    COUNT(IF(ISNULL(fStartTime)               AND ISNULL(fStopTime),                                           1, NULL)) AS 'WAITING',
    89    COUNT(IF(fStartTime>'2000-01-01 00:00:00' AND ISNULL(fStopTime),                                           1, NULL)) AS 'RUNNING',
     88   COUNT(IF(    ISNULL(fStartTime)           AND ISNULL(fStopTime),                                           1, NULL)) AS 'WAITING',
     89   COUNT(IF(NOT ISNULL(fStartTime)           AND ISNULL(fStopTime),                                           1, NULL)) AS 'RUNNING',
     90   COUNT(IF(fStartTime='1971-01-01 01:01:01' AND ISNULL(fStopTime),                                           1, NULL)) AS 'SCHEDULED',
    9091   COUNT(IF(fStartTime>'2000-01-01 00:00:00' AND fStopTime>'2000-01-01 00:00:00' AND     ISNULL(fReturnCode), 1, NULL)) AS 'SUCCESS',
    9192   COUNT(IF(fStartTime>'2000-01-01 00:00:00' AND fStopTime>'2000-01-01 00:00:00' AND NOT ISNULL(fReturnCode), 1, NULL)) AS 'FAILED',