Viewing 15 posts - 3,436 through 3,450 (of 10,143 total)
Brandie Tarvin (4/22/2014)
ChrisM@Work (4/22/2014)
April 22, 2014 at 7:10 am
EasyBoy (4/16/2014)
ChrisM@Work (4/16/2014)
EasyBoy (4/15/2014)
I did try almost all combination of altering columns for index, but somehow logical reads are same (67000).
Did you look at the execution plans to see if...
April 22, 2014 at 7:03 am
Greg Edwards-268690 (4/22/2014)
Ed Wagner (4/22/2014)
dwain.c (4/21/2014)
Greg Edwards-268690 (4/21/2014)
TomThomson (4/20/2014)
Greg Edwards-268690 (4/20/2014)
Bucket List Challenge - teach Jim to Filet a fish properly.I'll keep trying, but I may fail miserably.
Fillet "a fish"...
April 22, 2014 at 6:41 am
TomThomson (4/18/2014)
Lynn Pettis (4/18/2014)
TomThomson (4/17/2014)
CREATE NONCLUSTERED INDEX...
April 22, 2014 at 1:57 am
Lynn Pettis (4/17/2014)
ScottPletcher (4/17/2014)
April 17, 2014 at 9:29 am
Except...the 70k read plan isn't from the index Gail suggested, and whatever index it is has several columns which aren't referenced by the query - hence the difference in reads.
I'd...
April 17, 2014 at 5:50 am
Mansfield (4/16/2014)
Details a bit sparse, but try pivot the lookup table so that you can compare column to column?
Like this?
SELECT
KeyValue,
Flag4 = MAX(CASE WHEN ItemNumber = 4 AND Flag =...
April 17, 2014 at 4:24 am
CONVERT takes a style parameter which can be used to shape the output of a date-datatype to string-datatype conversion - which is the usage that most folks are familiar with....
April 17, 2014 at 2:30 am
EasyBoy (4/17/2014)
Please find the updated sql plan.
Thanks! That's nice - the filtered index eliminates the need for an expensive residual predicate (the "filter" bit of the filtered seek Gail mentioned...
April 17, 2014 at 2:16 am
Try to obtain the same result set by whatever other means you can think of. Time the execution of each method and record those timings. Usually the fastest query is...
April 16, 2014 at 8:08 am
GilaMonster (4/16/2014)
April 16, 2014 at 4:35 am
EasyBoy (4/15/2014)
I did try almost all combination of altering columns for index, but somehow logical reads are same (67000).
You're retrieving 14+ million rows from one index or another on a...
April 16, 2014 at 3:14 am
yuvipoy (4/15/2014)
ChrisM@Work (4/15/2014)
95% of the cost of the query is a key lookup of table2. The query uses index IDX_SE_CD_MEAS_FK to seek matches on column TCOL1. Since the output requires...
April 16, 2014 at 1:55 am
Always start simple:
SELECT *
FROM Car
WHERE Price IN (@Price1,@price2,@price3)
AND Manufacture IN (@Manufacture1,@Manufacture2,@Manufacture3)
AND Model IN (@Model1,@Model2,@Model3)
AND City IN (@City1,@City2,@City3)
April 16, 2014 at 1:46 am
Viewing 15 posts - 3,436 through 3,450 (of 10,143 total)