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. How to find out what is the problem in SQL Server??

How to find out what is the problem in SQL Server??

Scheduled Pinned Locked Moved Database
databasehelpquestionsql-serversysadmin
4 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.
  • A Offline
    A Offline
    Aman786Singh
    wrote on last edited by
    #1

    From last 5 to 6 days , our sql Server behaving ubnormally . CPU utilization goes to 100% , i stopped SQL Agent and Stopped DTC Service. but it did not help at all. CPU was remains at 100% . then i stopped SQL server. But after restarting ,CPU agians goes to 100%. I looked in the trace but i was not able to find any query or Stored Procedure which is taking the CPU cycles more than 1000 or 2000. I am not able to rectify the problem.. Kindly help me out.. thanks in advance .. i can provide some more details ,If any one needs it.

    W 1 Reply Last reply
    0
    • A Aman786Singh

      From last 5 to 6 days , our sql Server behaving ubnormally . CPU utilization goes to 100% , i stopped SQL Agent and Stopped DTC Service. but it did not help at all. CPU was remains at 100% . then i stopped SQL server. But after restarting ,CPU agians goes to 100%. I looked in the trace but i was not able to find any query or Stored Procedure which is taking the CPU cycles more than 1000 or 2000. I am not able to rectify the problem.. Kindly help me out.. thanks in advance .. i can provide some more details ,If any one needs it.

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      The easiest way to find out what's going on in SQL Server is to use Management Studio and open current activity. For more info: Monitoring with SQL Server Management Studio[^]

      The need to optimize rises from a bad design.My articles[^]

      A 1 Reply Last reply
      0
      • W Wendelius

        The easiest way to find out what's going on in SQL Server is to use Management Studio and open current activity. For more info: Monitoring with SQL Server Management Studio[^]

        The need to optimize rises from a bad design.My articles[^]

        A Offline
        A Offline
        Aman786Singh
        wrote on last edited by
        #3

        I am working on SQL server 2000 and i continuesly watching the Current activity in Process info option. i found same type of process with 60 to 70 number of simulatenously running activities. they all running the Sp_Cursoropen Command and consuming maximum CPU cycles. Example:- ProcessID ContextID User Database Status Command Application waittime CPU PhysicalIO MemeoryUsage 109 0 UApp Master Runnable Exec Sp_Cursoropen MicrosoftSQLServer 0 212810 23659 809 Kindly Help.. Looking for your Support.

        W 1 Reply Last reply
        0
        • A Aman786Singh

          I am working on SQL server 2000 and i continuesly watching the Current activity in Process info option. i found same type of process with 60 to 70 number of simulatenously running activities. they all running the Sp_Cursoropen Command and consuming maximum CPU cycles. Example:- ProcessID ContextID User Database Status Command Application waittime CPU PhysicalIO MemeoryUsage 109 0 UApp Master Runnable Exec Sp_Cursoropen MicrosoftSQLServer 0 212810 23659 809 Kindly Help.. Looking for your Support.

          W Offline
          W Offline
          Wendelius
          wrote on last edited by
          #4

          You could check that it's not a locking issue using sp_lock or sp_lock2

          The need to optimize rises from a bad design.My articles[^]

          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