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 object storage for DataFile, perform the following steps:
-
Configure Object Storage buckets and properties as described in For Saas Customers.
-
Add the following two entries in
OHI_PROPERTIEStable:
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.
Adjust these properties according to your application’s requirements and the size of your files. For more information, see Object Storage application properties.
|