I need to insert a large number of rows (up to 100,000) into 6 different DB2 tables. I am using Java JDBC for this. I would like to do all this in one database transaction so that all this can be discarded if any problems arise. Is there any limit (in the JDBC driver or in DB2) how many attachments can be processed in one transaction? We are using DB2 version 8.
The size of a single transaction is limited by the size of the database transaction logs. With a sufficiently large transaction log, you can do what you ask.
, DB2, Linux/UNIX/Windows - LOGFILSIZ ( ), LOGPRIMARY ( ) LOGSECOND ( ).
Source: https://habr.com/ru/post/1793057/More articles:best segmentation algorithm - image-processingperl6 / rakudo: problem with writing to loop variable - for-loopChoose a modification in hg diff - mercurialCan't add localization to iTunes Connect - iphoneHow do you do to keep useless data with good performance? - sql-server-2005Linq to SQL Strange SQL Translation - c #Getting workflows in IIS application pools - scripting3-D animation in C ++ - c ++Does x64 require a mono x64 class library? - c ++SQL View: объединить таблицы, не вызывая дублирование данных в каждой строке? - joinAll Articles