Forum Replies Created

Viewing 15 posts - 3,361 through 3,375 (of 49,552 total)

  • RE: EXPLAIN - compare before and after Statistics

    Can you post the plans? Hard to say anything generic for this kind of thing.

    You'd be mostly looking for how the data movements changed, since those are usually the slowest...

    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: TSQL query slower with variable than hard-coded

    It's parameter sniffing, or more specifically it's lack of parameter sniffing.

    SQL can't tell the value of variables at compile time, and so it will assume a certain row count based...

    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: How do I Avoid Deadlocks?

    You can use a SET statement to set deadlock priority to high, or you can tune code so that it runs faster and doesn't deadlock.

    It's not about how long it...

    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: which algorithm is used in my query?

    hlsc1983 (3/31/2016)


    what should my answer be if the question is " which algorithm are u using"? (impressive answer)

    "I have no idea. I asked online for someone to give me an...

    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: Are the posted questions getting worse?

    WayneS (3/31/2016)


    BL0B_EATER (3/31/2016)


    Brandie Tarvin (3/31/2016)


    GilaMonster (3/31/2016)


    If it was my corruption session, then:

    All severity 20 and above.

    Error 825 (which is a severity 10 informational message that tells you that your IO...

    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: which algorithm is used in my query?

    No way, from the query, to determine the join algorithm used. SQL is a declarative language. You tell SQL what the results should be, it figures out how to execute...

    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: which algorithm is used in my query?

    No I'm not asking you to determine something, I'm asking you what you're trying to do and what, specifically and precisely, you're after, as your question, as it stands, cannot...

    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: which algorithm is used in my query?

    What do you mean by 'what kind of algorithm'? What are you trying to determine?

    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: Elementary ? regarding distinct select query

    We're not asking for actual customer data. Just data that looks like it enough to write 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: Encryption Questions

    There shouldn't be any change in memory usage. The pages database pages are still the same size, encrypted on disk, decrypted in memory.

    The big thing is backup compression. Since an...

    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: Are the posted questions getting worse?

    If it was my corruption session, then:

    All severity 20 and above.

    Error 825 (which is a severity 10 informational message that tells you that your IO subsystem is failing)

    Plus alerts on...

    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: Understanding Isolation Levels

    Fix the problem, not the symptoms. Deadlocks are mostly a case of poor indexing and/or inefficient queries..

    https://www.simple-talk.com/sql/performance/sql-server-deadlocks-by-example/

    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: drop temp table owned in another session

    snomadj (3/31/2016)


    Can I drop a local temp table owned by myself in another session?

    No. Temp tables are session-scoped, you cannot access a temp table created in another session, not 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: Understanding Isolation Levels

    No.

    Data is being changed, therefore you may still get missing rows and duplicate rows (depends on how SQL accesses the table and where the other data modifications are and whether...

    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: Restore Time on SQL Server 2016

    Hence the difference in restore times.

    Might be worth having a chat with the VM admins and SAN admins, see if they can determine why there' such a difference.

    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 - 3,361 through 3,375 (of 49,552 total)