Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. High Number of Lock Requests

High Number of Lock Requests

Scheduled Pinned Locked Moved Database
databasequestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cjb110
    wrote on last edited by
    #1

    We're seeing a large number of lock requests / sec on our SQL 2008 db, the current average is ~240,000. They seem to be either key locks or page locks. There's no time-outs, deadlocks and the average wait time is 0. The only other stat that seems high is the context switches, which is around 1k-3k on our 2cpu system. Is this something to be worried about?

    L 1 Reply Last reply
    0
    • C cjb110

      We're seeing a large number of lock requests / sec on our SQL 2008 db, the current average is ~240,000. They seem to be either key locks or page locks. There's no time-outs, deadlocks and the average wait time is 0. The only other stat that seems high is the context switches, which is around 1k-3k on our 2cpu system. Is this something to be worried about?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      cjb110 wrote:

      Is this something to be worried about?

      Only if you have time to spare. It might hint that additional optimization is possible, but it's not guaranteed that it can be optimized further - it'd be a fun exercise though. You might find this[^] an interesting read to get you started.

      Bastard Programmer from Hell :suss: if you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups