Level1Snap_change

An internal table that contains snapshots of Level One data to allow a shared memory consumer to quickly get to the current state.

Metadata

  • Base Table Class: Change
  • Not in MDB
  • Default Size: InstrumentMarket * Constants::MaxLevel1Fields * Constants::DefaultSnapShotSaves = 480000

Fields

NameTypeSize (bytes)Description
IdInteger (signed)8The unique identifier of this Level1Snap.
StatusSet of Status4
TimestampInteger (unsigned)8The time at which this change record was generated. This is not the same as the business-level timestamp of this Level1Snap_change.
InstrumentMarketForeign key to InstrumentMarket8
FieldOne of LevelOneType1
ValueInteger (signed)8
GroupInteger (unsigned)8
GroupStartInteger (unsigned)8
TransactionCountInteger (unsigned)8
ChangeTableIndexForeign key to Level1_change8
SequenceInteger (unsigned)8
NextBCRecordInteger (unsigned)8
NextChangeRecordInteger (unsigned)8The index into the main change table that represents the position of this snapshot.
IsLastRecordInteger (unsigned)1Set if this record is the end of the snapshot.
ActiveInteger (unsigned)1Used internally to determine whether a record has been changed since the last snapshot prior to making a new snapshot - allows records to be squashed.
MessagesLeftInteger (unsigned)8
UpdateNumberInteger (unsigned)8A number that records every change that happens to a record. It is primarily used to avoid write after read problems when an intermediate write has changed the originally read record.
BCSequenceInteger (unsigned)8The sequence number of this Level1Snap_change message in the overall broadcast sequence.
ReloadedInteger (unsigned)1Set to true for change records that are generated during a normal startup from engine cache files.
InstanceIdInteger (unsigned)4
RunIdInteger (unsigned)4
ChangedFieldOne of KVPKey4
CreateUserForeign key to User8The Id of the User that created this Level1Snap.
CreateTimestampInteger (unsigned)8The time at which this Level1Snap was created.
UpdateUserForeign key to User8The Id of the User that last updated this Level1Snap.
UpdateTimestampInteger (unsigned)8The time at which this Level1Snap was last updated.