Originally posted by kumar satish:
hi Saurabh,
i think u should go ahead with secnario 2 for inserting the records.
regarding speed there are some many aspects come into picture like the network speed and concurrent usage of the application by users and stuff like this.
i have suggestion to know the speed u can keep the check it up with the system.getTime() or some java time stamp and u could get how much time it is taking for the insertion int secnario 2
check it up and pls post the time difference ...
Hi Satish,
Yeah i also know the scenario 2 would be better off.But for
testing speed i need to write the code all again.The thing is i cant test is now due to some issues.So thats why i wanted to know from someone how efficient the second approach could be?
Morever,If the differece in approach 1 & 2 is not significant then i have to look out for some other alternative.
I am not considering factors like conceurrent access,network speed,etc since they would be same in case of approach 1 & 2, so i am not bothered about them.
So anyone who has actually tested or can confidently tell me what would be the difference in both approaches in some quantitavie figure.
Thanks,
Saurabh