Viewing 15 posts - 3,991 through 4,005 (of 5,841 total)
For a table with a clustered index, if it is fragmented then doing a defrag operation (such as rebuilding the clustered index) could make the total number of pages lower....
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 25, 2010 at 11:09 am
antoniset (5/25/2010)
I have question in my sql server 2005 64 bit, why in memmory to use very high, about 6GB sql server specification is:
1. Windows 2003 standard 64 bit
2....
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 25, 2010 at 9:02 am
Set max sql server memory to a very low value and then run very large hash joins will hit one form of memory issue. But there are MANY different...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 25, 2010 at 8:59 am
One addition to Gail's comments: you specifically said index rebuild and then statistics updates. That is both unnecessary and wrong if you are doing it in that order....
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 25, 2010 at 8:51 am
It is obvious to me that more pages equals lower performance in every equivalent scenario I can think of. If you are scanning you are a) having more IO...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 25, 2010 at 8:45 am
1) this could be a cached plan that was great for the first execution but horrible for the next.
2) without the index hint, show the estimated query plan...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 25, 2010 at 8:43 am
bobmclaren (5/24/2010)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 25, 2010 at 8:41 am
I believe tt is normal for connections to stay around but not doing anything. But yes, the application can (and should) close it's connection when appropriate. I think...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 25, 2010 at 8:36 am
I like Lutz's answer the best since it uses the CASE statement I prefer - although not in the way I intended it. 🙂
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 15, 2010 at 7:18 am
http://www.sommarskog.se/pivot_sp.sp could help. Erland has some really good stuff on his website.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 14, 2010 at 10:08 am
Unfortunately I don't have the time to work this today, but shouldn't this be doable with simple CASE statements in a single pass? Hopefully someone else can work that...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 14, 2010 at 9:02 am
1) you are using non-ansi joins. Note that these are no longer supported in newer editions of SQL Server
2) AND WC_ORDERITEM_F_M_CN.ORDER_DT_WID >= A.BLST_YEAR_DT_WID
that is known...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 14, 2010 at 8:59 am
>> I can't count the number of times someone has fired back a "Boy you sure are dumb if you haven't done "X,Y,Z" already" without even reading far enough to...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
May 13, 2010 at 9:16 am
Viewing 15 posts - 3,991 through 4,005 (of 5,841 total)