Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
pdset
Constraint Violating Yak Guru
310 Posts |
Posted - 2013-10-31 : 20:10:59
|
We have OLAP environment where 1 Clustered Index and Several Non-Clustered Indexes were for each table where there is no involvement for reindexing being attributed at any time (against to the practices of OLAP nature where redundancy of data is highly scalable).Is it good to DROP-RE-CREATE NON-CLUSTERED INDEX for those tables which are heavily populated, this becomes evident as users do complaint the slowness of output.Your expertise is much appreciated. |
|
djj55
Constraint Violating Yak Guru
352 Posts |
Posted - 2013-11-01 : 06:58:09
|
Use ALTER INDEX ... REBUILD or ALTER INDEX ... REORGANIZEafter checking that the fragmentation is above a given point.djj |
|
|
jeffw8713
Aged Yak Warrior
819 Posts |
Posted - 2013-11-05 : 13:19:36
|
You can disable the non-clustered indexes during the loading of data - and rebuild them after the data has been loaded. This generally works well for data warehouse environments, but will depend on how much data already exists compared to how much data is being loaded.ALTER INDEX ... DISABLE; will disable the index, and then ALTER INDEX ... REBUILD; will rebuild and enable the index. |
|
|
sgondesi
Posting Yak Master
200 Posts |
Posted - 2013-11-19 : 04:34:58
|
How do I know if I should create an non-clustered index on a clustered index or on a heap?I read in a site that, if data is queried typically on one particular column, it would be beneficial to build non-clustered index upon a clustered index, but when the creation of non clustered index on heap is beneficial.Somebody please get me out of this doubt.-- Thanks and RegardsSrikar Reddy Gondesi,BTECH-IT 2013 Passed Out,Trainee for SQL Server Administration,Miracle Software systems, Inc. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2013-11-19 : 05:23:00
|
quote: Originally posted by sgondesi How do I know if I should create an non-clustered index on a clustered index or on a heap?I read in a site that, if data is queried typically on one particular column, it would be beneficial to build non-clustered index upon a clustered index, but when the creation of non clustered index on heap is beneficial.Somebody please get me out of this doubt.-- Thanks and RegardsSrikar Reddy Gondesi,BTECH-IT 2013 Passed Out,Trainee for SQL Server Administration,Miracle Software systems, Inc.
seehttp://technet.microsoft.com/en-gb/library/cc917672.aspx#EFAA------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs |
|
|
sgondesi
Posting Yak Master
200 Posts |
Posted - 2013-11-19 : 05:56:29
|
thank you i will look at that.-- Thanks and RegardsSrikar Reddy Gondesi,BTECH-IT 2013 Passed Out,Trainee for SQL Server Administration,Miracle Software systems, Inc. |
|
|
|
|
|
|
|