Hello Everyone, We have a scenario where an user will upload an excel

Hello Everyone,

We have a scenario where an user will upload an excel file containing data and system will parse the data and write the details to the database.
Each record in the excel corresponds to a record in the data base. We are using the Read Excel plugin to parse and Appian Write to data stores to write to the database.
There is no upper limit on the number of records in the excel. User can upload 40000 or even more records. If we try to write such large data sets into the database, it is causing a server outage.

Also, after the data is written to the database, an approval task is generated. In this task, an approver can upload a new version of the Excel File.
If a new version is available, then all the records written to the database earlier must be deleted and new records will be written for the case.

We would like to know the various design approaches we can consider to write and delete large number of records into the database.

OriginalPostID-189203

OriginalPostID-189203

  Discussion posts and replies are publicly visible

Parents
  • I also faced the same issue in one of recent projects. A couple of more questions to practitioners here:

    1) Did you also experience any issues with the data parsed from the xls sheet? As,not having all fields read correctly from xls into PVs?

    2) After, you write your batches to DB - checking the data; have you ever had issues where not all of data was written to DB from PVs? or having empty rows/columns inserted which requires that you cross check the xls with DB manually and correct deviations?
Reply
  • I also faced the same issue in one of recent projects. A couple of more questions to practitioners here:

    1) Did you also experience any issues with the data parsed from the xls sheet? As,not having all fields read correctly from xls into PVs?

    2) After, you write your batches to DB - checking the data; have you ever had issues where not all of data was written to DB from PVs? or having empty rows/columns inserted which requires that you cross check the xls with DB manually and correct deviations?
Children
No Data