Skip to Content
author's profile photo Former Member
Former Member

Views vs Joins

Hi

Can you please tell me why Views are faster than Database Joins?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 07:37 PM

    Your statement is a generalization and is not always true.

    But note this:

    Views might be cached by application servers, joins are always accessed by database directly.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Also -

      "I think there has to be some reason for the views to be faster than using SELECT by JOINS.."

      As stated above-Views might be cached by application servers, joins are always accessed by database directly.

      IF the VIEW's results are cached/stored on the app server, then the next request for this same info will certainly be faster.

      Has your question been answered?

      Please don't forget those points... or clarify your question further. Thanks in advance.

  • Posted on Oct 16, 2006 at 05:46 PM

    Moved to ABAP Dictionary Forum.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.