Saturday, April 20, 2013

What is full table scan ?



What is full table scan ?

Full table scans are usually the slowest method of scanning a table 

When it occurs ?

Index is not used / not created 

Depends on statistics gathered on referred object 

When to avoid full table scans ?

For large tables 

What should be indexed ?

Primary key,foreign keys,columns used to join tables ,columns used frequently in where clause ,columns with maximum number of distinct values 

What is the hint for fts ?

Select /*+ full(tablespace name here) */ a.emp_code
from employees a

Posted By: Azhar Mulla

What is full table scan ?

Share:

Post a Comment

Facebook
Blogger

No comments :

Post a Comment

Follow Us

About Us

Like Us

© BIDW All rights reserved | Theme Designed by Seo Blogger Templates