About 271,000 results
Open links in new tab
  1. sql - Is a view faster than a simple query? - Stack Overflow

    To that end, SQL Server, Oracle, etc. will typically provide a "cached" or "compiled" version of your view, thus improving its performance. In general, this should perform better than a …

  2. SQL-Server Performance: What is faster, a stored procedure or a …

    However, as a general answer for an SQL Server specific implementaion... In general, a Stored Procedure stands a good chance of being faster than a direct SQL statement because the …

  3. How can I optimize views in SQL Server for speed

    Feb 9, 2011 · Nesting views that call other views is an extremely bad technique for performance. Since it can't be indexed, it has to call the entire underlying view in order to get the one record …

  4. Do database views affect query performance? - Stack Overflow

    Feb 9, 2009 · Are database views only a means to simplify the access of data or does it provide performance benefits when accessing the views as opposed to just running the query which …

  5. sql server - Is running a query on a view any faster or slower than ...

    1 Is there performance reasons to use views? I realize this answer might be different per database. I'm using MS SQL but am curious about any database really. Does a view in …

  6. sql server - Are Views optimized when I add a WHERE clause to …

    I'm asking because I have to query a large table (44mil rows) twice from a linked server, and get an aggregate of the results. I want to know if I should create two views to access the data, one …

  7. sql server - Improving performance on a view with a LOT of joins ...

    Dec 18, 2009 · This is a hard one, with a complex view you also have potential interactions with queries against the view, so guaranteeing reasonable performance will be quite hard. Outer …

  8. sql server - Table-Valued Function (TVF) vs. View - Stack Overflow

    Feb 10, 2011 · What's the difference between table-valued functions and views? Is there something you can do with 1 that's hard or impossible to do with the other? Or does the …

  9. sql - When to use a View instead of a Table? - Stack Overflow

    Increase performance (Sql Server Indexed Views) Offer specific query optimization with the view that might be difficult to glean otherwise And you should not design tables to match views. …

  10. Is it bad to call views inside a View in sql - Stack Overflow

    Oct 10, 2012 · While SQL Server has mechanisms to eliminate unneeded tables from a query it quickly gives up if the query becomes to complex. Executing those additional JOINs can cause …