Claude Moore wrote:Why dou you want to read a result set and process retrieved data in two separated threads? I can't imagine a scenario where increased complexity would give any advantage back.
bahri sirine wrote:but my professor need to implement this method because we work with the Big Data and we need to create threads to optimise the response time . Any idea how to implement this?
bahri sirine wrote:HI ROEL,
Because when we make the setfetchsize(10 000) for example, we have deduced that there are a lot of time to retreive the 10 000 rows so we need to work in parallel with threads.One thread to retreive data and the other one to read this data.
bahri sirine wrote:I want that these to threads works in parallel.
bahri sirine wrote:Yes I know but I don't have any idea how to do this.So I wan't just any help to begin
bahri sirine wrote:One thread to retreive data and the other one to read this data.
Don't get me started about those stupid light bulbs. |