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. Performance Issue with SQL server

Performance Issue with SQL server

Scheduled Pinned Locked Moved Database
databasehelpsql-serversysadminperformance
12 Posts 3 Posters 1 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.
  • R r aa j

    hi, I am developing advertising website.whenever I am getting impression that time i am geeting timeout expired error is comming because at a time somany impressions are comming..here I am using stored procedure..if anybody knows for improve this performance...please reply me... Thanks.

    Raaj

    A Offline
    A Offline
    Ashfield
    wrote on last edited by
    #2

    You need to look at your indices amongst other things. Try using the Actual Execution Plan in Query Analyser to identify where there are problems and take it from there.

    Bob Ashfield Consultants Ltd

    R 1 Reply Last reply
    0
    • A Ashfield

      You need to look at your indices amongst other things. Try using the Actual Execution Plan in Query Analyser to identify where there are problems and take it from there.

      Bob Ashfield Consultants Ltd

      R Offline
      R Offline
      r aa j
      wrote on last edited by
      #3

      sometimes I am getting impression....sometimes timeout expired..

      Raaj

      R A 2 Replies Last reply
      0
      • R r aa j

        sometimes I am getting impression....sometimes timeout expired..

        Raaj

        R Offline
        R Offline
        r aa j
        wrote on last edited by
        #4

        index will help with this issue?

        Raaj

        1 Reply Last reply
        0
        • R r aa j

          sometimes I am getting impression....sometimes timeout expired..

          Raaj

          A Offline
          A Offline
          Ashfield
          wrote on last edited by
          #5

          r aa j wrote:

          sometimes I am getting impression....sometimes timeout expired..

          So you need to understand where your query is taking too long. Check the execution plan as I said. Nobody can do it for you, and nobody can guess whats wrong - except its probably index related.

          Bob Ashfield Consultants Ltd

          R 1 Reply Last reply
          0
          • A Ashfield

            r aa j wrote:

            sometimes I am getting impression....sometimes timeout expired..

            So you need to understand where your query is taking too long. Check the execution plan as I said. Nobody can do it for you, and nobody can guess whats wrong - except its probably index related.

            Bob Ashfield Consultants Ltd

            R Offline
            R Offline
            r aa j
            wrote on last edited by
            #6

            please tell me how can we check the execution plan.

            Raaj

            A 1 Reply Last reply
            0
            • R r aa j

              please tell me how can we check the execution plan.

              Raaj

              A Offline
              A Offline
              Ashfield
              wrote on last edited by
              #7

              Run your stored proc in query analyser, check the Query menu options to turn on Include Actual Execution Plan.

              Bob Ashfield Consultants Ltd

              R 1 Reply Last reply
              0
              • A Ashfield

                Run your stored proc in query analyser, check the Query menu options to turn on Include Actual Execution Plan.

                Bob Ashfield Consultants Ltd

                R Offline
                R Offline
                r aa j
                wrote on last edited by
                #8

                I done that Execution plan.actually that storedprocedure contains 7 queries....for that execution plan its display query cost one 8% ,another 23% etc.... please can u tell me how we can identify

                Raaj

                A 1 Reply Last reply
                0
                • R r aa j

                  I done that Execution plan.actually that storedprocedure contains 7 queries....for that execution plan its display query cost one 8% ,another 23% etc.... please can u tell me how we can identify

                  Raaj

                  A Offline
                  A Offline
                  Ashfield
                  wrote on last edited by
                  #9

                  Its at this point you need to consult the help. Once you understand what the execution plan is telling you it will enable you to make the necessary changes. You can try taking the individual queries and putting them into the "Analyse Query In Database Tuning Advisor" Query menu item. This will give you some hints at what could be done. Alternativley you could hire someone who understands sql server performance tuning.

                  Bob Ashfield Consultants Ltd

                  R 1 Reply Last reply
                  0
                  • A Ashfield

                    Its at this point you need to consult the help. Once you understand what the execution plan is telling you it will enable you to make the necessary changes. You can try taking the individual queries and putting them into the "Analyse Query In Database Tuning Advisor" Query menu item. This will give you some hints at what could be done. Alternativley you could hire someone who understands sql server performance tuning.

                    Bob Ashfield Consultants Ltd

                    R Offline
                    R Offline
                    r aa j
                    wrote on last edited by
                    #10

                    thanks for ur suggestion.... thanks alot

                    Raaj

                    A 1 Reply Last reply
                    0
                    • R r aa j

                      thanks for ur suggestion.... thanks alot

                      Raaj

                      A Offline
                      A Offline
                      Ashfield
                      wrote on last edited by
                      #11

                      You're welcome. Performance tuning is a complex topic - some would say its more of a black art than science!

                      Bob Ashfield Consultants Ltd

                      W 1 Reply Last reply
                      0
                      • A Ashfield

                        You're welcome. Performance tuning is a complex topic - some would say its more of a black art than science!

                        Bob Ashfield Consultants Ltd

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

                        That's true, although I've considered it more like playing chess. Next time I go out consulting this area, I'll take my magic wand with me. It'll make an impression (at least somekind...) :)

                        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