Viewing 15 posts - 1 through 15 (of 17 total)
SQL Guy 1 (4/17/2012)
June 20, 2012 at 11:07 am
Hi there,
yes I have. If you look at the original post there is an example but I used the wrong example posting value =1 in reality I used 2 and...
November 24, 2011 at 5:58 am
Actually yes, even though the highest selectivity is on the other column. The provider only has 5 different values and it is filtered in the index to two. I believe...
November 23, 2011 at 4:31 pm
Dev (11/17/2011)
The key part here being the "equality". Since (as far as I know) NULLs are considered NON Equality this would explain why the index is not being...
November 18, 2011 at 9:00 am
SpringTownDBA (11/17/2011)
agiangone (11/17/2011)
SpringTownDBA (11/17/2011)
What column is the table partitioned on?Sql logically treats the partitioning column as a leading column of the indexes when building query plans.
Interesting comment and...
November 17, 2011 at 8:55 pm
SpringTownDBA (11/17/2011)
Evil Kraig F (11/17/2011)
SpringTownDBA (11/17/2011)
What column is the table partitioned on?Sql logically treats the partitioning column as a leading column of the indexes when building query plans.
Hunh,...
November 17, 2011 at 7:42 pm
Evil Kraig F (11/17/2011)
agiangone (11/17/2011)
Table has 400,000,000 records and 1.4M are null but on key_2 having value 2 only 40,000 are null so the percentage is about 50% on...
November 17, 2011 at 7:35 pm
Ninja's_RGR'us (11/17/2011)
November 17, 2011 at 7:20 pm
SpringTownDBA (11/17/2011)
What column is the table partitioned on?Sql logically treats the partitioning column as a leading column of the indexes when building query plans.
Interesting comment and that could...
November 17, 2011 at 7:16 pm
p-nut (11/17/2011)
That's about all I can find on this issue. I think you will have to...
November 17, 2011 at 7:10 pm
I'm sorry, yes what? The actual and estimated match?
Correct the actual plan and the estimated one match.
In one case I did have the "bad" plan showing but execution time was...
November 17, 2011 at 3:33 pm
Hi Kraig,
Table has 400,000,000 records and 1.4M are null but on key_2 having value 2 only 40,000 are null so the percentage is about 50% on the total but that...
November 17, 2011 at 3:24 pm
Hi Jared,
No worries, I appreciate the discussion; this is what these forums are for.
Yes on the actual plan (they match).
Yes and No on the actual execution time. In one case...
November 17, 2011 at 2:54 pm
Hi Craig,
yes actually my_column is the clustered index and the index composite index is aligned (see the partition schema at the end).
I think there has to be a reason why...
November 17, 2011 at 2:35 pm
Yes Jared, I did try it and it does work but I was trying to understand the reason and also avoid any hints.
Thank you though, very helpful.
Andrea
November 17, 2011 at 2:28 pm
Viewing 15 posts - 1 through 15 (of 17 total)