‎2007 Oct 26 12:36 PM
Hi,
Performance wise which one is better for <b>all entries</b> or <b>inner joins</b>.Can you give reasons for that.............
Regards,
Alex.
‎2007 Oct 26 12:41 PM
for all entries is better according to performance wise as database aaccess is less
‎2007 Oct 26 12:41 PM
for all entries is better according to performance wise as database aaccess is less
‎2007 Oct 26 12:42 PM
Alex,
For all entries is better than inner joins in performance point of view
<b>Reward points for helpful answers</b>
Satish
‎2007 Oct 26 12:42 PM
it depends on number of records in tables u r joining......
http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_ForAllEntries.asp
http://www.sappoint.com/faq/faqsql.pdf
http://web.mit.edu/ist/org/admincomputing/dev/abap_review_check_list.htm
‎2007 Oct 26 12:43 PM
‎2007 Oct 26 1:28 PM
SAP recommended using inner joins up to only on 3 tables. But performance wise don't use joins go for all entries. if you use joins the comparisons for your condition is takes place in database where as in for all entries it is in application server.
if helpful reward some points.
‎2007 Oct 26 1:45 PM
Hi!
INNER JOIN is used if we want to retrieve some data from more than one table.
FOR ALL ENTRIES is used if we want some data from a table based on some conditions of some other table.
Using several nested INNER JOIN statements can be inefficient and cause time out if the tables become too big in the future."
In ABAP, these joins are first split by the ABAP processor and then sent to the database, with the increase in DATA in production system, these joins tend to give way if your database keeps growing larger and larger.
You should rather use "FOR ALL ENTRIES IN" (Tabular conditions), which is a much efficient way as far as performance is concerned.
Check these links:
Regards
‎2007 Oct 26 2:52 PM
JOINS are almost always better:
<a href="/people/rob.burbank/blog/2007/03/19/joins-vs-for-all-entries--which-performs-better">JOINS vs. FOR ALL ENTRIES - Which Performs Better?</a>
Rob