Forum Replies Created

Viewing 15 posts - 7,501 through 7,515 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    I'm noticing the biggest slowdown to be when reading threads and on the 'posts since my last visit/posts added today'

    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: Recommended memory settings

    That's a little on the high side. The OS needs memory to manage memory and it doesn't much like being starved.

    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 Utilization more than 95% for more than 3 hours

    I'm sure I've given you this link before.

    https://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/

    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: Partitioning table and adding file group

    Index rebuild, maybe, depends on how you partition and whether you need to rebuild all partitions or not. Bear in mine that online rebuilds can't be done at the partition...

    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: Need help regarding a procedure.

    If you wrote 5 delete statements in a single procedure, they will be executed one by one. SQL does not run multiple statements in a stored proc in parallel.

    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: Partitioning table and adding file group

    smtzac (10/15/2014)


    For the performance reason. they want to partition 2 big table.

    Then don't waste your time. Partitioning is not for performance reasons. It's not a magic go-faster feature.

    https://www.simple-talk.com/sql/database-administration/gail-shaws-sql-server-howlers/

    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 Utilization more than 95% for more than 3 hours

    Create an extended events session or server-side trace to record what's running against the server. Let it run long enough to catch a good sample of data. Look at the...

    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 Utilization more than 95% for more than 3 hours

    TheSQLGuru (10/15/2014)


    A proper profiler-to-local-disk script can be run to capture heavy CPU users with very little overhead on the system.

    And an extended events session will have even less.

    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 Utilization more than 95% for more than 3 hours

    Sysprocesses is useless for this, it's the cumulative totals since SQL started, so of course the system processes will show high.

    Did you have any form of extended events trace running...

    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: Stored Procedure Execution Error

    Why are you trying to run part of the procedure's definition rather than creating the procedure and running it?

    And why is the procedure recursive?

    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: Stored Procedure Execution Error

    If you just execute the part after the nocount, then the parameter hasn't been declared and hence you get exactly the error you posted.

    If you're trying to run just this,...

    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: Can you have secondary replica as read/write mode?

    Not with Availability Groups. Secondary replicas are read-only.

    The new tables/views are just in the reporting database and don't need to be written back to the primary system?

    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: Stuck process?

    Sleeping is a connection that's not doing anything. It's not waiting for anything (other than more work to do), it's not taking up CPU, it's not doing any work.

    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?

    Steve Jones - SSC Editor (10/14/2014)


    Is quoting and general access slow for anyone else today?

    Yes. And yesterday.

    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: Please Help. My Stored Procedure Doesn't Work

    Koen Verbeeck (10/14/2014)


    You forgot the END.

    Alternatively, you have a stray BEGIN.

    BEGIN ... END aren't necessary for a stored proc.

    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 - 7,501 through 7,515 (of 49,552 total)