Firebird 2.5 exception handling within autonomous transaction
问题 I'm experiencing performance drop in one of our Firebird stored procedures and I have no clue why. I have found the following code in the mentioned SP: declare v_dummy integer; ... in autonomous transaction do begin -- insert may fail, but that is not a problem because it means the record is already there insert into my_table(my_field) values (:input_param); when ANY do v_dummy = 1; end I see few dozens of records in RDB$TRANSACTIONS table with STATE 3, no relevant records in MON$TRANSACTIONS