Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to count the number of records inserted into db while using the tmysqloutputbulkexec component

Hi Team,

 

I am currently using tmysqloutputbulkexec component to load data into DB.

I need to calculate the number of rows inserted into db using tmysqloutputbulkexec  component, source may fetch some 1000 record for example whereas data loaded into db might be 500 since i used "ACTION ON DATA as ignore records in table" , if the records already present in db then those records will not be again loaded.

 

My requirement is to capture the number of records inserted for audit purpose.

This tmysqloutputbulkexec component will not have "((Integer)globalMap.get("tAmazonAuroraInput_3_NB_LINE"))" this kind of nb line as other db components have.

 

Kindly suggest me is there any way to calculate the number of row inserted in db  using tmysqloutputbulkexec  component.

Early Response will be helpful.

 

Thanks-

Gayathri S

Labels (2)
1 Reply
manodwhb
Champion II
Champion II

@Gayathri,if you do not have global map variable  for tmysqloutputbulkexec,then you can do one thing is that you can write query to check counts from table based using either created date ,updated date column from target table on component ok and do where you want to load that count into audit tables.