File tree Expand file tree Collapse file tree
source/core/output_buffers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ create or replace type body ut_output_table_buffer is
9595 lc_long_sleep_time constant number(1) := 1; --sleep for 1 s when waiting long
9696 lc_long_wait_time constant number(1) := 1; --waiting more than 1 sec
9797 l_sleep_time number(2,1) := lc_short_sleep_time;
98- lc_bulk_limit constant integer := 1000 ;
98+ lc_bulk_limit constant integer := 5000 ;
9999 l_max_message_id integer := lc_bulk_limit;
100100
101101 procedure remove_read_data(a_message_rowids t_rowid_tab) is
@@ -154,6 +154,7 @@ create or replace type body ut_output_table_buffer is
154154 end if;
155155 end loop;
156156 remove_read_data(l_message_rowids);
157+ l_max_message_id := l_max_message_id + lc_bulk_limit;
157158 end if;
158159 if l_finished or l_already_waited_for >= l_wait_for then
159160 remove_buffer_info();
@@ -164,7 +165,6 @@ create or replace type body ut_output_table_buffer is
164165 );
165166 end if;
166167 end if;
167- l_max_message_id := l_max_message_id + lc_bulk_limit;
168168 end loop;
169169 return;
170170 end;
You can’t perform that action at this time.
0 commit comments