Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The bytes per row is calculated based on column sizes, regardless of how much data is in that row. Byte costs for each column are as follows:

Column TypeBytes
Large Text3000
String3 per character
Boolean5
Int20
Double23
Date20
File Handle20

Current Bridge Usage

Bridge currently declares the following columns common to all health data tables, numbering a total of 13 14 columns and 5617 5637 bytes:

NameTypeBytes
recordIdString (36 chars)108
appVersionString (48 chars)144
phoneInfoString (48 chars)144
uploadDateString (10 chars)30
healthCodeString (36 chars)108
externalIdString (128 chars)384
dataGroupsString (250 chars)750
createdOnTimestamp20
createdOnTimeZoneString (5 chars)15
userSharingScopeString (48 chars)144
validationErrorsLarge Text3000
substudyMembershipsString (250 chars)750
dayInStudyInt20
rawDataFile Handle20
rawMetadataFile Handle20

A few Bridge studies declare study-wide metadata that goes into every table. The current maximum usage of metadata fields is psorcast-validation, which uses 2 timestamp fields and 8 Strings of length 100, which represents 10 columns and 2440 bytes.

Proposed Bridge Schema Limits

SourceColumnsBytes
Common
13
15
5617
5657
Metadata202500
Reserved
19
17
5883
5843
Schema10050000
Total15264000

See Also

Jira Legacy
serverSystem JIRA
serverIdba6fb084-9827-3160-8067-8ac7470f78b2
keyBRIDGE-1721

...