Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
6 subscribers
Views
3691 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hello Everyone, We have a scenario where an user will upload an excel
shailjas
over 9 years ago
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
0
narasimhaadityac
A Score Level 2
over 9 years ago
@shailjas, this might be an unrelated question but wanted to check. when you say after the approver approves a separate excel, you have to delete all the rows and write back again. Will the primary key present as part of your excel or is it going to be constructed while its being written to the database. if your excel has the primary key, then may be we can use the array functions to get only the rows which are modified and write rather than repeating the entire data load from scratch.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
narasimhaadityac
A Score Level 2
over 9 years ago
@shailjas, this might be an unrelated question but wanted to check. when you say after the approver approves a separate excel, you have to delete all the rows and write back again. Will the primary key present as part of your excel or is it going to be constructed while its being written to the database. if your excel has the primary key, then may be we can use the array functions to get only the rows which are modified and write rather than repeating the entire data load from scratch.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data