Configure Object Storage for DataFile

This topic explains how to set up Object Storage to manage and store data files efficiently.

Configuration Steps:

To configure the ObjectStorage for DataFile, perform the following steps:

  1. Configure Object Storage buckets and properties as described in For Saas Customers.

  2. Add the following two entries in OHI_PROPERTIES table:

 INSERT INTO ohi_properties (
    id,
    environment,
    name,
    value,
    object_version_number,
    created_by,
    creation_date,
    last_updated_by,
    last_updated_date
) VALUES ( ohi_property_s1.NEXTVAL,
           NULL,
           'ohi.datafile.object.storage.enabled',
           'true',
           1,
           10,
           current_timestamp,
           10,
           current_timestamp );

    INSERT INTO ohi_properties (
    id,
    environment,
    name,
    value,
    object_version_number,
    created_by,
    creation_date,
    last_updated_by,
    last_updated_date
) VALUES ( ohi_property_s1.NEXTVAL,
           NULL,
           'ohi.datafile.object.storage.bucket.folder.structure',
           'appName/DATAFILES', – replace with app specific folder structure
           1,
           10,
           current_timestamp,
           10,
           current_timestamp );

Here, replace `appName/DATAFILES` with the specific folder path for your application.

Data-file retention is 60 days. After 60 days, files are no longer accessible. For more information, see Non PHI Logs Retention Policy.