Forum Replies Created

Viewing 15 posts - 2,806 through 2,820 (of 49,552 total)

  • RE: Backups and memory question

    PAE and more memory won't help at all. The problem is that you're running 32-bit SQL 2000.

    Is upgrading to something released this decade on the cards?

    If not, then you'll need...

    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: Question about concurrency/consistency & UNDO

    User 2 will be blocked, as User1 will be holding exclusive locks on the table until the update is complete. User 2's select won't run until User 1 has completed...

    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: operating system error 665

    https://blogs.msdn.microsoft.com/psssql/2015/06/10/operating-system-error-665-file-system-limitation-not-just-for-dbcc-anymore/

    https://support.microsoft.com/en-us/kb/2002606

    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 to use a table value function that splits a string

    You don't need to understand the inner details of why the faster function is faster to use it. Just grab it from the end of the article and replace your...

    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: TempDB file properties

    Sure. Query sys.database_files (change database context to TempDB first) or sys.master_files and filter for database_id = 2

    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 Latches and indication of performance issues

    Grant Fritchey (7/14/2016)


    Assuming those are the top 3 waits, yeah, you have page latch issues.

    I'm not so sure. The average wait time is around 5ms for the SH, 1.5ms for...

    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 Latches and indication of performance issues

    Over what time period were those values accumulated?

    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: Reference to non-existent column does not error

    Perfectly normal.

    The binding order for columns within a subquery are:

    1) Tables in the subquery

    2) Tables in the outer query

    Only if the column is not present in either will...

    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 DB is in recovery pending

    Open the SQL error log, find all the errors relating to that database, post them here. Do nothing else at this point.

    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: AWS and SQL Server Licensing

    CALs aren't monitored by SQL Server, but if you get audited...

    25 CALs means you have max 25 people accessing that server. If you have more than that, and you get...

    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 to get list of stored procedures statistics

    See my above reply for what you need to do in order to be able to get the information. For 5, I think you're going to need an extended event...

    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 to get list of stored procedures statistics

    1) SELECT name from sys.procedures

    2) SQL does not keep history of this information. You'll need to set up an extended events session to track this going forward

    3) Short term history...

    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 Latches and indication of performance issues

    Database admin(DBA) (7/11/2016)


    It seems like its not related to CPU issue nor memory issue.

    i beileve its related to SQL Latches and their indicate like performance issue.

    Performance tuning shouldn't be...

    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: Profiler traces

    Traces are per-instance.

    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: Performance Issues

    Start by identifying the queries/procedures which frequently get timeouts.

    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 - 2,806 through 2,820 (of 49,552 total)