Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Which one is better performance wise?

Former Member
0 Likes
657

Which one is better performance wise?

For all entries or inner join?

update or modify databaase table?

Regards

Abhilash.

6 REPLIES 6
Read only

Former Member
0 Likes
610

For all entries or inner join? - ALL ENTRIES is performnace wise better as it selects the data from DB in one shot

Update or modify databaase table? - both are almost equal...is case of MODIFY if the key exists in table it automatically goes for INSERT statement

Read only

Former Member
0 Likes
610

/people/rob.burbank/blog/2007/03/19/joins-vs-for-all-entries--which-performs-better

http://blogs.ittoolbox.com/sap/db2/archives/for-all-entries-vs-db2-join-8912

Read only

Former Member
0 Likes
610

Hi,

ALL ENTRIES gives better performance compater to innerjoin.

Let me know if u have further query.

thanks

Kinjal

Read only

former_member156446
Active Contributor
0 Likes
610

<repeat of the same answer by venkat appikonda > original content removed by moderator.

Edited by: Durairaj Athavan Raja on Jun 22, 2008 10:27 AM

Read only

Former Member
0 Likes
610

Hi,

Which one is better performance wise?

For all entries or inner join?

A. for all entrie is the better option, But if you are joining 2 tables then it will not effect in your performance issue but if you join more than 2 tables then performace peroblem comes into picture.

update or modify databaase table?

Hey both are same but when you are updating or modifing your DB table then you have to write COMMIT WORK after update and modify other wise some times it will update in you database table but some times it wont.

Please reward points if it helps

Thanks

Vikranth

Read only

0 Likes
610

Hi Vikranth,

Thnks for the update.

Regards.

Abhilash.