Viewing 15 posts - 6,016 through 6,030 (of 7,597 total)
rangu (6/6/2014)
However I haven't got the answer yet, when exactly do we need to go for Table Partition and Page compression. If this...
June 6, 2014 at 2:24 pm
You can only have one clustered index, but the PK does not have to be the clustered index.
When time is available:
1) Drop the existing indexes (Edit: non-clustered first, clustered last)
2)...
June 6, 2014 at 2:08 pm
Lynn Pettis (6/6/2014)
sqldriver (6/6/2014)
sql-lover (6/6/2014)
June 6, 2014 at 2:07 pm
Actually MIN() and MAX() could use an index, even a seek, if the index was keyed on all the GROUP BY columns in the proper order.
June 6, 2014 at 1:40 pm
Though it has a clustered in the name of Primary Key and a non Clustered Index in our case is a date column, as this is most frequent column used...
June 6, 2014 at 1:37 pm
rangu (6/6/2014)
And today it has 34M may not look many,...
June 6, 2014 at 10:58 am
The notion that RCSI is "free" and should "always" be used is as wrong as the notion that "NOLOCK" is "free" and should "always" be used.
There are at least two...
June 6, 2014 at 10:54 am
It's also theoretically possible that the feature has been disabled by starting SQL with a "-x" switch. Not likely, but possible :-).
June 6, 2014 at 10:34 am
It sounds as if the original table wasn't clustered. That alone can cause big performance issues.
You should put the appropriate clustered index on the table before doing the partitioning....
June 6, 2014 at 10:24 am
What, specifically, are you trying to do?
If you want to remove up to the first space from the front of the string, you can do this:
SELECT SUBSTRING(address, CHARINDEX(' ', address)...
June 4, 2014 at 2:57 pm
I'm not sure raw query counts can be used to determine an index's viability.
I too have seen statements to the effect that indexes with more writes than reads should be...
June 4, 2014 at 2:39 pm
OK, sorry. I guess I interpreted "any other benefits" too broadly.
June 3, 2014 at 1:47 pm
Just curious. Since your table has at least 100M rows, did you review the indexes, particularly the clustered indexes?
That usually makes vastly most difference than how the...
June 3, 2014 at 1:36 pm
Yeah, no gaps will be a royal pain to implement.
If you can allow "voided" gaps, then I think a standard identity would handle this, don't see the need for using...
June 3, 2014 at 1:27 pm
WHERE
[Entered Date] >= DATEADD(MONTH, 6, DATEADD(YEAR, DATEDIFF(YEAR, 0, GETDATE())
- CASE WHEN MONTH(GETDATE()) < 7 THEN 1 ELSE 0...
June 3, 2014 at 11:25 am
Viewing 15 posts - 6,016 through 6,030 (of 7,597 total)