It take
2021-03-10 15:48:07,593 INFO [com.ery.integrator.erpcrm.schedular.CustomerTeamsJmsServiceImpl] (EJB default - 2) In CustomerTeamsJmsServiceImpl: ******************************** Batch Processing Started ********************************
2021-03-10 15:48:07,593 INFO [com.ery.integrator.erpcrm.schedular.CustomerTeamsJmsServiceImpl] (EJB default - 2) In CustomerTeamsJmsServiceImpl: ******************************** Batch No. 22| Total 182| Size:5000 Started ********************************
2021-03-10 16:14:11,227 INFO [com.ery.integrator.erpcrm.schedular.CustomerTeamsJmsServiceImpl] (EJB default - 2) In CustomerTeamsJmsServiceImpl: ******************************** Batch No.22 Pushed and Flushed ********************************
There is no Composite Key involved at Database Level in which we insert and update.
CREATE TABLE "MDATA"."CUSTOMER_TEAMS"
( "ACCOUNT_REGISTRY_ID" VARCHAR2(30 BYTE),
"EDGE_ACCOUNT_ID" VARCHAR2(150 BYTE),
"ACCOUNT_OWNER_EMAIL" VARCHAR2(250 BYTE),
"CRT_MEMBER_EMAIL" VARCHAR2(250 BYTE),
"ROLE_NAME" VARCHAR2(150 BYTE),
"SOURCE" VARCHAR2(30 BYTE),
"PERSON_PARTY_ID" NUMBER(15,0),
"DELETED_IN_TERP" VARCHAR2(30 BYTE),
"DELETED_DATE" DATE,
"LAST_MODIFIED_DATE" DATE NOT NULL ENABLE
)
but in JPA we have composite key on First four columns. @Id and update happens on those four composite key
How to do performance tuning of Database Table so that process goes fast? As of now there is no primary key at database level as well as there is no indexes. Kindly suggest