Table: Logger.Raw_Logger

Description:

This table contains the list of all the raw files produced during the data taking.

Fields:

NameTypeCan be nullDescription
Run_NrPKIinteger FKNo Run number
Farm_IdPKchar(3) No Acquisition machine identifier
Receiver_NrPKinteger No Builder identifier
Builder_NrPK
Stream_IdPKIinteger FKNo Stream identifier
Recorder_NrPKinteger No Recorder number
Gb_NrPKinteger No Sequential number
FilenameIvarchar(64) No File name
Creation_Timetimestamp No Creation time
Closure_TimeItimestamp Yes Closure time
Can be used to find out if the file is still being written (NULL value)
Firstinteger
(as boolean)
No Specifies if this is the first/last file in the sequence produced by the recorder
Last
Sizeinteger Yes File size
Total_Eventsinteger Yes Number of events inside the file
ArchivedIinteger FKNo Is the file archived or archiving?
(0 - not archived, 1 - archiving, 2 - archived)
Tserver_Idchar(3) FKYes Filespace where the file is archived.
Filespace_Idinteger FK
Analyzedinteger Yes The highest version of datarec used to reconstruct this file
(NULL if never reconstructed)

Primary key:

  • Run_Nr
  • Farm_Id
  • Receiver_Nr
  • Builder_Nr
  • Stream_Id
  • Recorder_Nr
  • Gb_Nr

Unique:

  • Filename

Foreign keys:

Local field(s)Foreign tableForeign field(s)
Run_Nrlogger.run_loggerrun_nr

Stream_Iddescript.stream_descriptstream_id

Archiveddescript.archived_statusstatus

Tserver_Iddescript.fsp_def_farmtserver_id
Stream_Idstream_id
Filespace_Idfilespace_id

Index:

  • Archived

Index:

  • Closure_Time

Index:

  • Stream_Id