Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are statistics, under what circumstances they go out
of date, how do you update them?

Answer Posted / swapna

Statistics determine the selectivity of the indexes. If an
indexed column has unique values then the selectivity of
that index is more, as opposed to an index with non-unique
values. Query optimizer uses these indexes in determining
whether to choose an index or not while executing a query.

Some situations under which you should update statistics:
1) If there is significant change in the key values in the
index
2) If a large amount of data in an indexed column has been
added, changed, or removed (that is, if the distribution of
key values has changed), or the table has been truncated
using the TRUNCATE TABLE statement and then repopulated
3) Database is upgraded from a previous version

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State the difference between local and global temporary tables?

1120


How to convert numeric expression data types using the cast() function?

1072


What are rest-style architecture's?

172


what is the sql equivaent of the dataset relation object ?

2027


What are the new features in sql server 2016?

969


What are wait types?

1123


What do you mean by data manipulation language?

1020


define and explain the differences between clustered and non-clustered indexes.

1196


Define Joins?

1035


What is always encrypted?

1002


What is the difference between TRUNCATE and DROP?

1143


How to declare a cursor with "declare ... Cursor" in ms sql server?

1048


What is subreport?

144


Explain unique key in sql server?

1013


What are the two authentication modes in sql server?

1123