Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / July 2008

Tip: Looking for answers? Try searching our database.

SQL 2000 Index Locking

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert - 02 Jul 2008 14:36 GMT
I'm trying to create a new covering index on a table with ~1.1M rows.  I know
SQL 2005 has some nice online index creation features, but is there any way
to avoid the huge table lock during creation in SQL 2000?

I tried to create it this morning when usage was low, but it was still
running after ~25 min and I had to kill it.

Thanks
Russell Fields - 02 Jul 2008 15:02 GMT
Robert,

No, there is not.  This is called online indexing and was added with SQL
Server 2005, but only as noted from the BOL:  "Online index operations are
available only in SQL Server 2005 Enterprise Edition."

RLF

> I'm trying to create a new covering index on a table with ~1.1M rows.  I
> know
[quoted text clipped - 6 lines]
>
> Thanks
TheSQLGuru - 02 Jul 2008 16:17 GMT
As Russell mentioned there is no way to avoid the lock.  However, did you
size the database with enough empty space such that there won't be any
autogrowths during the index create?  that could have a negative effect on
the duration, especially if you still have the default growth increment of
1MB (which would be very unfortunate, btw).

Signature

Kevin G. Boles
Indicium Resources, Inc.
SQL Server MVP
kgboles a earthlink dt net

> I'm trying to create a new covering index on a table with ~1.1M rows.  I
> know
[quoted text clipped - 6 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.