Viewing 15 posts - 2,461 through 2,475 (of 5,841 total)
sathiyan00 (8/13/2013)
DELETE d1 FROM duplicate...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 13, 2013 at 8:38 am
Umpteen things could be at play here. Most likely culprits include:
1) are you ABSOLUTELY sure all the IO is logical? If not, physical IO issues would be my...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 12, 2013 at 5:39 pm
In addition to the 32 bit SQL Server constraint, I also note that you are way behind on updates too. You are on base SP1 (2500) and the current...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 10, 2013 at 8:52 am
I personally recommend a maxdop max value of the number of PHYSICAL CORES in each NUMA node. Go down from there if necessary.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 10, 2013 at 8:50 am
SQLIO (and IOMeter) just test the raw capabilities of the IO subsystem
SQLIOSim tests SQL Server IO patterns and requirements
For benchmarking, try this: http://www.sqlservercentral.com/blogs/technobabble-by-klee-from-kleegeek/2013/07/29/benchmark-your-sql-server-instance-with-dvdstore/. I also think Joe Chang has...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 9, 2013 at 5:51 am
Using ROW_NUMBER to do the duplicate deletes is another solution and I think can be more efficient in some cases. Search web for sql server row_number delete duplicates
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 8, 2013 at 9:22 am
SWEET! Apparently the engine does a pretty good job digging through the characters too:
SELECT o.name AS objname, c.name as colname
INTO tempo
FROM sys.objects o
JOIN...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 7, 2013 at 6:10 pm
Erland, don't the string stats only work from left-to-right in the string though? i.e. it can't know that the string 'cat' is going to be hit in this field...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 7, 2013 at 3:46 pm
1) Do you recall my telling you that we needed the table schema including indexes, as well as the actual execution plans for good and bad executions?
2) The IS NULL...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 7, 2013 at 12:37 pm
Please post table and index definitions and the full query AND the actual execution plan of both queries. Then, and only then, can we really figure out what is...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 7, 2013 at 10:14 am
Sean Lange (8/7/2013)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 7, 2013 at 10:12 am
Yes, you are correct. And it is easy to validate.
Open 2 windows in SSMS. In one, do this (and leave this window open):
begin tran
update sometable
set somefield...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 6, 2013 at 7:36 am
It's the Database!!! (8/5/2013)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 5, 2013 at 4:50 pm
It's the Database!!! (8/5/2013)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 5, 2013 at 11:46 am
Brandie Tarvin (8/5/2013)
TheSQLGuru (8/3/2013)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
August 5, 2013 at 7:35 am
Viewing 15 posts - 2,461 through 2,475 (of 5,841 total)