IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35083


Ignore:
Timestamp:
Feb 2, 2013, 8:40:15 AM (13 years ago)
Author:
eugene
Message:

call analyze table after dvo detections are ingested to set up indexes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/ippToPsps/jython/dvo.py

    r35077 r35083  
    634634        self.ippToPspsDb.setIngestedBox(boxId)
    635635
     636        # add fileID column
     637        sql = "ANALYZE TABLE " + self.scratchDb.dvoDetectionTable
     638        try: self.scratchDb.execute(sql)
     639        except:
     640            self.logger.errorPair("Unable to analyze mysql table", self.scratchDb.dvoDetectionTable)
     641            return False
     642
    636643        # update lists after attempted sync
    637644        # self.printSummary()
Note: See TracChangeset for help on using the changeset viewer.