Describe the bug
The PostgreSQL TOAST algorithm attempts to compress data before offloading to the TOAST table. In our case, the payload data is already compressed, so it is more efficient if we change the storage type from EXTENDED to EXTERNAL.
Environment
4.10.0
To Reproduce
Run the schema creation tool to build a schema in PostgreSQL
Inspect the definition of fhirdata.patient_resources
Observe that the Storage definition for the data column is EXTENDED:
Describe the bug The PostgreSQL TOAST algorithm attempts to compress data before offloading to the TOAST table. In our case, the payload data is already compressed, so it is more efficient if we change the storage type from EXTENDED to EXTERNAL.
Environment 4.10.0
To Reproduce
Expected behavior Storage type for the data column should be EXTERNAL.
Additional context