Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8179989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:07:12+00:00 2026-06-07T00:07:12+00:00

I have been working with SQL Server as a Developer a while. One thing

  • 0

I have been working with SQL Server as a Developer a while.

One thing I learnt is SQL Server manages Statistics which help Engine to create optimized execution plan.

I could not figure out what exactly is stores in Statistics? (I read it saves Vector, but what Vector?)

When/In which scenario SQL Server updates Statistics?

How/why some time they go out of sync (old Statistics)

In case of old Statistics is a manual DBA/Developer intervention is required or SQL Server Will get them updated.

As a DBA/Developer how to find out if Statistics OLD? What should we do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T00:07:13+00:00Added an answer on June 7, 2026 at 12:07 am

    Statistics in this context refers to a sampling that the RDBMS takes of the values of a given index. Roughly speaking, this gives the engine an idea of the distribution of values, and helps it to plan efficient queries. You can see the actual contents of a statistics set using DBCC SHOW_STATISTICS.

    DBCC SHOW_STATISTICS (table_name, index_name)
    

    Statistics on an index can become outdated over time as the data in the table — and therefore the distribution of the index values — changes. This can result in less than optimal query execution plans, which is why you should aim to keep statistics up-to-date.

    You can update statistics manually, or set them to update automatically, using the UPDATE STATISTICS T-SQL command. From the first MSDN link:

    When the automatic update statistics option, AUTO_UPDATE_STATISTICS, is on, the query optimizer determines when statistics might be out-of-date and then updates them when they are used by a query.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working with Microsoft SQL Server since 6.5 along with other database
Recently I have been working with a SQL Server database and I was trying
First of all, I'm working in SQL Server 2000 (although prayers have been made
I've been working with Microsoft SQL Server with many years now but have only
We have an application which uses an instance of Sql Server locally for its
I'm working on software that has been developed to support two SQL Server versions.
I've been working with sql server 2008 exclusively through the visual studio interface since
I am a Crystal Reports developer and I have always been working with Oracle
I am a Crystal Reports developer and I have always been working with Oracle
I have been working with a project which is using grails / hibernate with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.