cancel
Showing results for 
Search instead for 
Did you mean: 

Is it safe to write in the filesystem in SCP?

0 Kudos

We are developing a sales portal in SCP, some technologies that we are using are: Spring framework, Quartz Scheduler, Hana DB, SAP UI5, SAP HCI.

My requirement is to load large volume of data (customer master, product catalog). An external system is going to send us a zip file that contains the data, so we need to unzip the file, process it, save it and finally delete it.

I made a test writing the zip file into the filesystem in SCP and everything is ok, but I have some questions about the filesystem:

- Is it a good practice to write into it?

- Is it secure to write there?

- How much space is there?. Is the free space going to change in the future?

- Is the write permission going to change in the future?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ivan,

SCP's NEO filesystem gets rewritten every time the app is re-started or re-deployed. So it is not reliable to store application files on it.

One approach could be to store this ZIP file using open CMIS APIs at the "Document Center" service. There are REST APIs to store documents, so one could use SCI to retrieve and store the zip file. Once there, you could retrieve it using the openCMIS APIs for Java, unzip it and then insert the data into the HANA DB according to your needs.

HDBTI is a HANA Repository artifact that is used to import initial load on a HANA DB. It is quite useful to populate master data, but it isn't to be used for a repetitive task. If this is such case, please use hdbti instead.

Regards,
Ivan

Answers (0)