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. Long running queries.

Long running queries.

Scheduled Pinned Locked Moved Database
help
4 Posts 4 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.
  • S Offline
    S Offline
    sathish48
    wrote on last edited by
    #1

    Could any one help me.what are the necessary steps to be followed to face the long running queries.please help me. Thanks in Advance.

    Z M S 3 Replies Last reply
    0
    • S sathish48

      Could any one help me.what are the necessary steps to be followed to face the long running queries.please help me. Thanks in Advance.

      Z Offline
      Z Offline
      ZurdoDev
      wrote on last edited by
      #2

      sathish48 wrote:

      what are the necessary steps to be followed to face the long running queries

      That depends. Is this a web app? Then you'll want to call it asynchronously so that you can provide feedback to client. Most important, do what you can to increase performance.

      There are only 10 types of people in the world, those who understand binary and those who don't.

      1 Reply Last reply
      0
      • S sathish48

        Could any one help me.what are the necessary steps to be followed to face the long running queries.please help me. Thanks in Advance.

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #3

        Assuming it is SQL server AND you are using a stored procedure! Use the execution plan to identify indexes that may be required and identify the high cost parts of the query. You then need to look into the structure of your query.

        Never underestimate the power of human stupidity RAH

        1 Reply Last reply
        0
        • S sathish48

          Could any one help me.what are the necessary steps to be followed to face the long running queries.please help me. Thanks in Advance.

          S Offline
          S Offline
          Swinkaran
          wrote on last edited by
          #4

          Well it's not a step by step process. It all depnds on what are you trying to execute and how the layer is structured. Check for SQL server / query optimization and understand the ways to increase the performance. Top 10 steps to optimize data access in SQL Server: Part I (use indexing)[^]

          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