Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Update Statistics
Hello,

SQL 2000, SP4....

Does anyone know if Update statistics <tablename> with fullscan will cause
blocking/locking ? Can users insert/update/query the table while the above i
s
running ?

Thanks ,
Ranga



Report this thread to moderator Post Follow-up to this message
Old Post
Ranga
10-31-06 05:15 AM


Re: Update Statistics
It does a scan using read uncommitted so there will be minimal locking if
any.

--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com



"Ranga" <Ranga@discussions.microsoft.com> wrote in message
news:0F2C02C7-48F7-437A-8A50- ACE2F1F3FAF2@microso
ft.com...
> Hello,
>
> SQL 2000, SP4....
>
> Does anyone know if Update statistics <tablename> with fullscan will cause
> blocking/locking ? Can users insert/update/query the table while the above
> is
> running ?
>
> Thanks ,
> Ranga
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Hilary Cotter
10-31-06 05:15 AM


Re: Update Statistics
UPDATE STATISTICS should only take schema modification locks. That will
prevent dropping the table/index during a stats update.

Regular statements should not block while statistics are being updated.

Regards,

Leo


"Ranga" <Ranga@discussions.microsoft.com> wrote in message
news:0F2C02C7-48F7-437A-8A50- ACE2F1F3FAF2@microso
ft.com...
> Hello,
>
> SQL 2000, SP4....
>
> Does anyone know if Update statistics <tablename> with fullscan will cause
> blocking/locking ? Can users insert/update/query the table while the above
> is
> running ?
>
> Thanks ,
> Ranga
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Leo Giakoumakis [MS]
10-31-06 05:15 AM


Re: Update Statistics
Thank you very much for your replies.

"Leo Giakoumakis [MS]" wrote:

> UPDATE STATISTICS should only take schema modification locks. That will
> prevent dropping the table/index during a stats update.
>
> Regular statements should not block while statistics are being updated.
>
> Regards,
>
> Leo
>
>
> "Ranga" <Ranga@discussions.microsoft.com> wrote in message
> news:0F2C02C7-48F7-437A-8A50- ACE2F1F3FAF2@microso
ft.com... 
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Ranga
10-31-06 05:15 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 08:49 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006