Forum Replies Created

Viewing 15 posts - 15,811 through 15,825 (of 49,552 total)

  • RE: Disaster Recovery

    Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic1380263-384-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Index recreate after Sp alteration.

    No, not in general.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL Server proc with more than 10 parameters -Performance

    If I had to guess, and it's a complete guess since I can't see the proc, I'd say it's probably this:

    http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: SQL Server 2005 cpu at 100%

    john pan (10/31/2012)


    I have set 3605,1204 and 1222 - deadlocking - seeing a lot of these and the scans - working on them also.

    Turn 3605 off, it has nothing to...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Index recreate after Sp alteration.

    Most likely you're getting stale statistics and the proc is sensitive to that. Just a guess since I can't see the proc.

    If that is the case, you neither need to...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Deadlock Issue

    BriPan (11/2/2012)


    try " with nolock " with select query on your tables

    like select * from temptable with (nolock)

    Recommending nolock with no mention of the side effects on data?

    See - http://blogs.msdn.com/b/davidlean/archive/2009/04/06/sql-server-nolock-hint-other-poor-ideas.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: In case of multiple matches for a key in a join , which value is updated ?

    Whichever row results from the exec plan generated for the update. This is a scenario you should be very careful to avoid when writing update statements

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: CPU High utilization -urgent help please

    qew420 (11/1/2012)


    ======================================================

    Locked pages is when the service account has the locked pages in memory privilege. It prevents windows from paging SQL's buffer pool to disk (which would be a rather...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: New Supporting Index for a Stored Procedure

    USE TempDB;

    GO

    CREATE TABLE test (

    id INT,

    Filler CHAR(500)

    );

    INSERT INTO test

    SELECT object_id, '' FROM sys.objects AS o;

    GO

    CREATE PROCEDURE TestIndex

    AS

    SELECT 1 FROM test WHERE id = 0;

    GO

    -- turn show exec plan on

    EXEC...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: CPU High utilization -urgent help please

    qew420 (11/1/2012)


    3. DBCC MEMORYSTATUS is showing me locked allocated page which is taking 47GB memorym, I need to know do I need to disable this page locking, why it is...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: query plan(s)

    No. What's in the plan cache now is the only plan you can see unless you set up some form of tracing to capture plans.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: CPU High utilization -urgent help please

    Read chapter 3, work through it. If this is a 'Must Fix Now!' crisis, tell your boss to hire a consultant.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: CPU High utilization -urgent help please

    DROPCLEANBUFFERS is likely to worsen problems, not fix them, it throws the data cache out forcing SQL to read from the slower disk not memory until the cache has been...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Do people rebuild indexes if non-leaf levels exceed fragmentation threshold?

    Michael Valentine Jones (11/1/2012)


    Or just leave it alone.

    This.

    For fragmentation of a non-leaf level to be of any impact, that level needs to be > ~1000 pages and for SQL to...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: DBCC FREEPROCCACHE

    Please post new questions in a new thread. Thank you.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 15,811 through 15,825 (of 49,552 total)