Forum Replies Created

Viewing 15 posts - 4,936 through 4,950 (of 5,841 total)

  • RE: SPROC with variables runs like a dog compared to same SPROC with constants - why?!

    chunkym0nk3y (10/27/2008)


    Thanks for your helpful comments - parameter sniffing was exactly what it was!! The fix (so to speak) was to copy the Datetime variables into variables held within the...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Change Where clause causes HUGE performance problem

    Christopher Stobbs (10/27/2008)


    HI all,

    Thanks for all the support.

    The wierd thing is that the where clause is on a table that only has 170+- rows in it.

    It seems that the problem...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Moving Large Table to Different File Group

    assuming you have an identity PK you could do something like this (psuedo-code)

    get maxid

    @i = minid

    while @i < @maxid

    begin

    begin tran

    insert newtable select origtable where id between @i and @i +...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Moving Large Table to Different File Group

    This one is easy - do the migration in batches of 100-500K rows at a time with tlog backups after each batch or couple of batches (possibly with truncate_only if...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Change Where clause causes HUGE performance problem

    If you force this query you WILL wind up with some of them being just as bad as you have now. You can rob Peter or you can rob...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Server becomes very slow [RESOURCE_SEMAPHORE] waittype.

    Can you please tell us which bug it was in CU9 that was causing the problem? I checked and cannot find any FIX from that update dealing with a...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SQL 2005 Cluster FUBARed- I am being asked to repair it tomorrow.

    ALZDBA (10/22/2008)


    Just another flash in the brain ..... or what's left of it;)

    When you switched the NICs, did you rename the NIC ?

    We tend to use "public network connection" for...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: CXPACKET wait type

    chileu17 (10/21/2008)


    Sorry SqlGuru :hehe: I think I couldn't explain to you my question. I do understand your point, BUT how do I implement what you are talking about?More indexes?new transactions?I...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Online index operation cannot be performed for index

    One way around this is to move all 'prevent' columns such as varchar(max) off to another table with a one-to-one link back to the base table. Then a simple...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Clustered index seek is ver very slow

    1) are you absolutely certain it is doing a CI SEEK and not a CI SCAN??

    2) I am with the others on index maintenance. I would also...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Large log file after running DBCC INDEXDEFRAG, not going back to original size

    For future reference (and for others who may do a web search and stumble across this thread), for your particular situation it would almost certainly have been better to drop...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Performance issue with Option table

    You REALLY should have given us the function code! Anyway, I can tell what is happening even without it: You are doing table accesses on the options table...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Transaction Log a part of Full backup????

    only a little! We are still talking about tlogs and data in them and them filling up.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: CXPACKET wait type

    chileu17 (10/20/2008)


    yeah we are thinking on calling some MS performance expert on this matter, because we don't seem to get a better performance in any of our attempts. But just...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SQL 2005 Cluster FUBARed- I am being asked to repair it tomorrow.

    I recommend (if not done yet) that you do a forced-failover (and fail back) under load to ensure everything is truly functional. Glad you had a (relatively) simple resolution!

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 4,936 through 4,950 (of 5,841 total)