Answer Posted / sumit
Index Scan is nothing but scanning on the data pages from
the first page to the last page. If there is an index on a
table, and if the query is touching a larger amount of
data, which means the query is retrieving more than 50
percent or 90 percent of the data, and then optimizer would
just scan all the data pages to retrieve the data rows. If
there is no index, then you might see a Table Scan (Index
Scan) in the execution plan.
Index seeks are generally preferred for the highly
selective queries. What that means is that the query is
just requesting a fewer number of rows or just retrieving
the other 10 (some documents says 15 percent) of the rows
of the table.
In Index Scan the cost is proportional to the total number
of rows in the table. Thus, a scan is an efficient strategy
if the table is small or if most of the rows qualify for
the predicate.
In Index Seek the cost is proportional to the number of
qualifying rows and pages rather than to the total number
of rows in the table.
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
how you can deploy an ssrs report?
Explain the phases a transaction has to undergo?
Write a sql query to sort on different column name according to the parameters passed in the function?
How to connect to a sql server using odbc_connect()?
what is a mixed extent? : Sql server administration
Create and insert into temp table in sql server?
You are designing a strategy for synchronizing an SQL Azure database and multiple remote Microsoft SQL Server 2008 databases. The SQL Azure database contains many tables that have circular foreign key relationships?
What is 2nf normalization form?
What is "scheduled jobs" or "scheduled tasks"?
What do you understand by recursive stored procedure?
What are page splits?
Define outer join in sql server joins?
Using the customer, and order table in northwind database, please write a query to produce xml?
How much does sql server 2016 cost?
Tell me what is de-normalization and what are some of the examples of it?