IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 20 and Version 21 of ippToPsps_Database


Ignore:
Timestamp:
Apr 4, 2012, 4:12:11 PM (14 years ago)
Author:
rhenders
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ippToPsps_Database

    v20 v21  
    3333
    3434|| '''Field'''             || '''Type'''          || '''Null''' || '''Key''' || '''Default value'''       || '''Description''' ||
    35 || timestamp         || timestamp     || NO   ||     || CURRENT_TIMESTAMP   ||       ||
    36 || name              || varchar(30)   || NO   || PRI || NULL                ||       ||
    37 || datastore_product || varchar(30)   || YES  ||     || NULL                ||       ||
    38 || datastore_type    || varchar(30)   || YES  ||     || IPP_PSPS            ||       ||
    39 || datastore_publish || tinyint(1)    || YES  ||     || 0                   ||       ||
    40 || dvo_label         || varchar(100)  || YES  ||     || NULL                ||       ||
    41 || dvo_location      || varchar(1000) || YES  ||     || NULL                ||       ||
    42 || min_ra            || double        || YES  ||     || 0                   ||       ||
    43 || max_ra            || double        || YES  ||     || 360                 ||       ||
    44 || min_dec           || double        || YES  ||     || -30                 ||       ||
    45 || max_dec           || double        || YES  ||     || 90                  ||       ||
    46 || box_size          || double        || YES  ||     || 4                   ||       ||
    47 || base_path         || varchar(1000) || YES  ||     || NULL                ||       ||
    48 || data_release      || smallint(6)   || YES  ||     || 0                   ||       ||
    49 || delete_local      || tinyint(1)    || YES  ||     || 0                   ||       ||
    50 || delete_datastore  || tinyint(1)    || YES  ||     || 1                   ||       ||
    51 || delete_dxlayer    || tinyint(1)    || YES  ||     || 1                   ||       ||
    52 || epoch             || timestamp     || NO   ||     || 0000-00-00 00:00:00 ||       ||
    53 || survey            || varchar(10)   || YES  ||     || NULL                ||       ||
    54 || psps_survey       || varchar(10)   || YES  ||     || NULL                ||       ||
    55 || queue_P2          || tinyint(1)    || YES  ||     || 1                   ||       ||
    56 || queue_ST          || tinyint(1)    || YES  ||     || 0                   ||       ||
    57 || queue_OB          || tinyint(1)    || YES  ||     || 0                   ||       ||
    58 || active            || tinyint(1)    || YES  ||     || 1                   ||  defines whether this config is in active use or not ||
    59 
     35|| timestamp         || timestamp     || NO   ||     || CURRENT_TIMESTAMP   || all clients update this timestamp regularly, like a heartbeat      ||
     36|| name              || varchar(30)   || NO   || PRI || NULL                || the text name of this config      ||
     37|| datastore_product || varchar(30)   || YES  ||     || NULL                || the datastore product, thus far only PSPS_test and PSPS_JHU have been used ||
     38|| datastore_type    || varchar(30)   || YES  ||     || IPP_PSPS            || the datastore type. The defauls is only ever used ||
     39|| datastore_publish || tinyint(1)    || YES  ||     || 0                   || 1 or 0 - should we publish or not? ||
     40|| dvo_label         || varchar(100)  || YES  ||     || NULL                || the label for querying gpc1 to get contents of the DVO database  ||
     41|| dvo_location      || varchar(1000) || YES  ||     || NULL                || the location of this DVO database on disk ||
     42|| min_ra            || double        || YES  ||     || 0                   || the min RA of the box on the sky we should load from (in degrees) ||
     43|| max_ra            || double        || YES  ||     || 360                 || the min RA of the box on the sky we should load from (in degrees) ||
     44|| min_dec           || double        || YES  ||     || -30                 || the min RA of the box on the sky we should load from (in degrees) ||
     45|| max_dec           || double        || YES  ||     || 90                  || the min RA of the box on the sky we should load from (in degrees) ||
     46|| box_size          || double        || YES  ||     || 4                   || the min RA of the box on the sky we should load from (in degrees) ||
     47|| base_path         || varchar(1000) || YES  ||     || NULL                || the size of the box (in degrees) that we should use to tile up the sky ||
     48|| data_release      || smallint(6)   || YES  ||     || 0                   || data release to end up in PSPS meta tables ||
     49|| delete_local      || tinyint(1)    || YES  ||     || 0                   || 0 or 1 - should we delete local data when ready? ||
     50|| delete_datastore  || tinyint(1)    || YES  ||     || 1                   || 0 or 1 - should we delete from datastore when ready?||
     51|| delete_dxlayer    || tinyint(1)    || YES  ||     || 1                   || 0 or 1 - should we delete from DXLayer when ready? ||
     52|| epoch             || timestamp     || NO   ||     || 0000-00-00 00:00:00 || when queuing, this is taken as the beginning of time. Means we can reload surveys more than once - if we are careful ||
     53|| survey            || varchar(10)   || YES  ||     || NULL                || what survey? eg 3PI, MDF (see available surveys in IN table [wiki:ippToPsps_Initialization here]) ||
     54|| psps_survey       || varchar(10)   || YES  ||     || NULL                || PSPS survey, eg 'SA3' for SAS 3 year survey. Always a 3-character name ||
     55|| queue_P2          || tinyint(1)    || YES  ||     || 1                   || 0 or 1 - should we queue P2 batches? ||
     56|| queue_ST          || tinyint(1)    || YES  ||     || 0                   || 0 or 1 - should we queue ST batches? ||
     57|| queue_OB          || tinyint(1)    || YES  ||     || 0                   || 0 or 1 - should we queue OB batches? ||
     58|| active            || tinyint(1)    || YES  ||     || 1                   || defines whether this config is in active use or not ||
    6059
    6160