RobertP
25th November 2013, 12:11
Hello gurus,
I'd like to know whether it is possible to use db.insert on a table without actually calling it in 'select for update"?
My situation is that whilst the main process is running (on the main table X) I want to insert data to 'log' table Z instead of sending to a report. The main process handles around 40 transactions. I want to avoid selecting table Z for update 40 times, if this can only be done once, with 40 db.inserts instead.
The main reason is performance.
Secondly, if it is possible, are there any related settings to manage? (e.g. db.retry.point or eflags)
Your input appreciated!
I'd like to know whether it is possible to use db.insert on a table without actually calling it in 'select for update"?
My situation is that whilst the main process is running (on the main table X) I want to insert data to 'log' table Z instead of sending to a report. The main process handles around 40 transactions. I want to avoid selecting table Z for update 40 times, if this can only be done once, with 40 db.inserts instead.
The main reason is performance.
Secondly, if it is possible, are there any related settings to manage? (e.g. db.retry.point or eflags)
Your input appreciated!