Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
DB2 triggers to send realtime data

Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message

New User

Joined: 03 Mar 2006
Posts: 48
Location: Chennai

PostPosted: Sat Jul 11, 2015 8:43 am    Post subject: DB2 triggers to send realtime data
Reply with quote

Hi all,

I need suggestion on the solution proposed for one of our customers requirement. We are yet to begin the development activities, so trying it out in real environment region is not feasible at this time.

Customer wants a set of data (from 3 different tables) to be sent every time a row is inserted or updated in a particular table. I could use a DB2 trigger to achieve this but wanted to know :

1. How it would perform when there is a real time situation of more than 10,000 data updated in less than a minute.

2. Will the trigger send data one after the other when some other rows are parallely updated

3. Our MIPS consumption is close to 80%, will these triggers eat up more MIPS and cause performance issue for UI applications

4. Some of the application program performs COMMIT only at the end of the program and some programs perform COMMIT after specific count of records. How these trigger behave if programs abends in the above said 2 scenarios.
Back to top
View user's profile Send private message

Rohit Umarjikar

Senior Member

Joined: 21 Sep 2010
Posts: 2262
Location: NY,USA

PostPosted: Fri Jul 17, 2015 8:20 pm    Post subject:
Reply with quote

Better use DB2 SP or DB2/MQ SP.
Back to top
View user's profile Send private message


Joined: 07 Sep 2006
Posts: 1567
Location: Andromeda Galaxy

PostPosted: Sat Jul 18, 2015 2:26 am    Post subject:
Reply with quote

166 triggers per second I feel its bombarding the system

Also suggest to talk to your DBAs first as this could turn out as a bigger problem

And also having triggers might degrade the performance of the process / program (Considering the fact of 10,000 updates less than a minute ) that is updating the table
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1


Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to force ISPF to allocate ISPF te... Michele Giannuli TSO/ISPF 9 Thu Sep 12, 2019 2:03 pm
No new posts Need to fetch data from database base... Satandale COBOL Programming 8 Sun Sep 08, 2019 12:01 am
No new posts Send email without SMTP Kaliragavendran All Other Mainframe Topics 0 Thu Sep 05, 2019 10:55 am
No new posts How to append data from PARM in OUTFIL Poha Eater DFSORT/ICETOOL 17 Thu Aug 22, 2019 4:03 pm
No new posts Training on numeric fields data formats sergeyken SYNCSORT 12 Thu Aug 01, 2019 8:15 pm

Back to Top
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us