Question : bulk collect - amount of return

is there a recommended number as to how many records is best to return using bulk collect, from performance perspective? is 10k or 100k OK (one or two columns).. or should be only in 3 digits- for performance sake...

Answer : bulk collect - amount of return

there is no single number,  it will depend on available memory, number of rows and number of people running your procedure simultaneously  - you might be able to load 20,000 rows just fine, but can 50 people all at once?

There is a diminishing return though.  I suggest starting small, around 100 or so and then doubling until you reach a point that the performance gains aren't significantly useful anymore and then compare to your expected scaling needs
Random Solutions  
 
programming4us programming4us