Forum Replies Created

Viewing 15 posts - 5,266 through 5,280 (of 49,552 total)

  • RE: Transaction log full error while altering a column

    Depends on how much data is in that column. It's a fully logged operation, so you need log space > size of data being affected (in this case the varchar(8000)'s...

    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: Row locks not escalating to table locks after 5000

    jotate (7/17/2015)


    It looks like this may just be the way that it worked in 2008 R2, and the "grab a table lock after 5000 page locks" was implemented in 2012...

    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: Transaction log full error while altering a column

    You don't have enough space in the log for the ALTER. It's a single transaction, so recovery model doesn't apply (and please make sure you fix the broken log chain...

    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: Database Mirroring hates me - Attempt no1

    First question. Why are you implementing mirroring on SQL 2014 when it's been deprecated for two versions and will probably be removed soon?

    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: ...and suddenly a stored procedure takes too much time

    Depends. Have the tables changed (data wise) in the last year?

    Do you have scheduled index and statistics maintenance? Do you have auto_update_statistics turned on?

    It might be stats, but it might...

    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?

    And that's about all the patience I have this week for 'tell me how to do my job' type posts. At least today's going to be a short work day.

    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: Does database server location impact performance

    In one phrase: Network latency. What's the latency from the east cost users to the west coast server? That latency will be added twice to every request they make (added...

    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 Store folder not visible in SQL Server 2016

    Weird. I had problems initially enabling query store, but once enabled it worked fine.

    Can you post a screenshot of Object Explorer expanded out?

    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: configure mirroring

    In future please post in the correct forum section. Posting a 2008 question in the 2014 forum means you'll get answers relevant for SQL 2014

    The very first hit from google...

    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: Row locks not escalating to table locks after 5000

    Just make sure you change them back immediately after the insert, or you may have some nasty blocking problems.

    As for service pack, that server really needs to be upgraded. There...

    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: Improving Performance of Logging Tables (Inserts only)

    Bharatvip (7/16/2015)


    During the test things start slowing down and that is what is causing concerns.

    Then you need to identify why things are slowing down. What are the bottlenecks? What are...

    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: configure mirroring

    You can, and there are plenty of tutorials and how-to articles online. Google should turn up piles.

    That said, should you be doing that? Do you understand what that will mean...

    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: ...and suddenly a stored procedure takes too much time

    Probably bad plan, parameter sniffing or similar, maybe due to stale stats. Can you post the actual execution plan (not the estimated, the estimated is going to be useless in...

    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: Where clause - Decrypt column or hash?

    dba-wannabe (7/16/2015)


    Where DecryptByKey(p.SSN) = @Input_SSN_Param

    Won't every SSN in the table be decrypted? Seems like a bad idea, performance-wise.

    Yes and yes.

    Should I/we add a column to hold a hash of...

    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: Improving Performance of Logging Tables (Inserts only)

    Bharatvip (7/16/2015)


    1.If we create another filegroup and maybe put half of the tables having inserts going to them, into the new filegroup. If the filegroup is still on the same...

    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 - 5,266 through 5,280 (of 49,552 total)