﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server Newbies  / Update statics / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Thu, 23 May 2013 02:50:45 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Update statics</title><link>http://www.sqlservercentral.com/Forums/Topic1403985-1292-1.aspx</link><description>[quote][b]jitendra.padhiyar (1/8/2013)[/b][hr]Thanks a lot Arjun !You explain me what exactly statisc is and what the sql server doing during update statics. Can you pls clear my more doubts?1. Is it using indexing and sorting for this process ?2. Is it using TempDB for data collection (for static purpose) ?Thnx in advance,Jitendra[/quote]1. Statistics are a very small data set representing the selectivity/density and the histogram, or distribution, of the first column of the data defined by the statistic. This is true if it's on an index or just a set of statistics created automatically on a column referenced in a filtering clause in T-SQL code. It doesn't rearrange data, so no sorting is done. It does read the data, either in a sampled fashion, or by scanning the entire table for the column(s) defined by the statistic. Statistics are part of indexes, but they are separate from them.2. Just about every process hits tempdb to one degree or another. I wouldn't be surprised if this one does too. But, again, the statistics are a very small data set, 200 rows, so updating them usually is not a major process unless we're talking hundreds of millions of rows of data.</description><pubDate>Wed, 09 Jan 2013 04:55:08 GMT</pubDate><dc:creator>Grant Fritchey</dc:creator></item><item><title>RE: Update statics</title><link>http://www.sqlservercentral.com/Forums/Topic1403985-1292-1.aspx</link><description>see this link too [url=http://msdn.microsoft.com/en-us/library/ms190397.aspx]Statistics[/url]</description><pubDate>Tue, 08 Jan 2013 00:52:23 GMT</pubDate><dc:creator>Bhuvnesh</dc:creator></item><item><title>RE: Update statics</title><link>http://www.sqlservercentral.com/Forums/Topic1403985-1292-1.aspx</link><description>[quote][b]jitendra.padhiyar (1/8/2013)[/b][hr]1. Is it using indexing and sorting for this process ?2. Is it using TempDB for data collection (for static purpose) ?[/quote] NO. Have you read the link which arjun posted ? </description><pubDate>Tue, 08 Jan 2013 00:46:00 GMT</pubDate><dc:creator>Bhuvnesh</dc:creator></item><item><title>RE: Update statics</title><link>http://www.sqlservercentral.com/Forums/Topic1403985-1292-1.aspx</link><description>Thanks a lot Arjun !You explain me what exactly statisc is and what the sql server doing during update statics. Can you pls clear my more doubts?1. Is it using indexing and sorting for this process ?2. Is it using TempDB for data collection (for static purpose) ?Thnx in advance,Jitendra</description><pubDate>Tue, 08 Jan 2013 00:39:16 GMT</pubDate><dc:creator>jitendra.padhiyar</dc:creator></item><item><title>RE: Update statics</title><link>http://www.sqlservercentral.com/Forums/Topic1403985-1292-1.aspx</link><description>It is not static. UPDATE STATISTICS updates the statistics that SQL Server stores for a table.define: Statistics - The practice or science of collecting and analyzing numerical data in large quantities.Statistics help query optimizer to choose which index to use. SQL Server may store statistics for indexes or columns.Try this: DBCC SHOW_STATISTICS(tablename, statisticobjname)Statistics for a table is usually manually updated after a bulk insert operation because the statistics could have become stale. A bulk insertion should cause an auto update, but sometimes this takes time, causing bad performance.Read more:http://msdn.microsoft.com/en-us/library/ms174384.aspx</description><pubDate>Tue, 08 Jan 2013 00:33:16 GMT</pubDate><dc:creator>Arjun Sivadasan</dc:creator></item><item><title>Update statics</title><link>http://www.sqlservercentral.com/Forums/Topic1403985-1292-1.aspx</link><description>Hello Masters,What exactly "Update static" is ? Is it just removing fragmentation from database that is created by DML queries? Is it making any changes to indexes ? and for all the updatation is it using Tempdb or any other database ?Please explain in detail to understand me.Thanks in advance.Jitendra</description><pubDate>Mon, 07 Jan 2013 23:36:27 GMT</pubDate><dc:creator>jitendra.padhiyar</dc:creator></item></channel></rss>