Skip to end of banner
Go to start of banner

Bridge Table Width Limits

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Synapse Limitations

Synapse's current table width limitations are:

  • 152 columns
  • 64000 bytes per row

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 columns and 5617 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
rawDataFile 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
Common135617
Metadata202500
Reserved195883
Schema10050000
Total15264000

See Also

BRIDGE-1721 - Getting issue details... STATUS

BRIDGE-2397 - Getting issue details... STATUS

  • No labels