I want to update huge user database.
Below is the table format which contain 20k user records.
I have one excel sheet which have new data as below. This data is not specific to user. This is master data common to all user.
The task is read user specific data from table then read new data from excel sheet corresponding to old data after that update new data in same table for that user.
For example -
- Step 1 - Read data(use_id, node_id and kmap_type) from database for user_id 95961800
- Step 2 - Read new value from excel corresponding to database node_id(9908) which are 7707,1000,7707
- Step 3 - Update these new value in same table for same user with KMAP_TYPE as SUBINDUSTRY,FUNCTION AND ROLE respectively.
I am thinking for using spring boot batch service for this. because I have average knowledge in java and spring boot technology
Can anyone please suggest how should I proceeed here?
Thanks in advance.