Viewing 15 posts - 301 through 315 (of 468 total)
great, that works! code is a little buliker but does the job nicely! thanks
January 14, 2009 at 8:41 am
no, absolutely for test purposes only. OPTION (MERGE JOIN) doesnt make any difference.
here are the queries:
SELECT m.LastName, m.FirstName, m.Region_No
FROM dbo.Member AS m
WHERE m.FirstName = 'Jim'
OR m.LastName = 'Smith'
go
SELECT m.LastName, m.FirstName,...
January 14, 2009 at 8:13 am
Grant Fritchey (1/13/2009)
January 13, 2009 at 7:03 am
MarkusB (1/13/2009)
But you say you wouldn't come up with the recommended index...
January 13, 2009 at 5:56 am
GilaMonster (1/12/2009)
winston Smith (1/12/2009)
what pushes the optimizer toward one index over the other if both are providing equal results?
Probably it thinks that the index that has the include columns will...
January 12, 2009 at 9:02 am
excellent! Thanks a mil Gail! Its all starting to make sense now. annoying that information gained on a course that was a bit expensive was leading me on the wrong...
January 8, 2009 at 2:34 pm
im thinking the optimizer will pick the (string, dt, id) index as it has less rows to return with the string, max of 100, rather than 5000 or 10000 rows...
January 8, 2009 at 10:43 am
GilaMonster (1/7/2009)
January 8, 2009 at 9:34 am
one more question. take the first index:
create index on table1 (col1)
include(col2, col3)
in this index, the index key is Col1 and in the leaf level, the data from col2 and col3...
January 8, 2009 at 3:51 am
yes, this is really great stuff. thanks a mil. Im just getting into optimization, outside of the the dynamic views and functions which are not all that reliable. the show_statistics...
January 7, 2009 at 3:01 pm
GilaMonster (1/7/2009)
January 7, 2009 at 8:45 am
when i run dbcc show_statistics for each statistic, what info do you require? Ive never read statistics before so not sure what im looking at/for.
January 7, 2009 at 8:43 am
thanks folks. as always, the solution is staring me in the face yet i miss it. much appriciated.
October 9, 2008 at 2:30 am
so, what is your process?
Do you store the files as log files, and then import them into a database via a job containing a dts/SSIS package?
Can perfmon log the data...
September 25, 2008 at 3:47 am
bummer. it would be real useful to be able to know how many transactions are being committed, as only committed transactions will be replicated as far as i know...
September 24, 2008 at 12:40 pm
Viewing 15 posts - 301 through 315 (of 468 total)