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. SQL Optimization

SQL Optimization

Scheduled Pinned Locked Moved Database
databasealgorithmssalesperformancehelp
6 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.
  • C Offline
    C Offline
    Chaminda Bandara
    wrote on last edited by
    #1

    If my one of customer saying they could a generate a report withing 30 second before and now they have to wait for 3min so how I can track that as a Senior Technical Support Analyst that whether it is a database issue or programming issue ?

    Chaminda Bandara

    L C M 3 Replies Last reply
    0
    • C Chaminda Bandara

      If my one of customer saying they could a generate a report withing 30 second before and now they have to wait for 3min so how I can track that as a Senior Technical Support Analyst that whether it is a database issue or programming issue ?

      Chaminda Bandara

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

      Chaminda Aruna Bandara wrote:

      as a Senior Technical Support Analyst

      Use your skills and experience, and run some tests on the system. Has something changed recently, is the database server having problems, is the network slow ... ?

      1 Reply Last reply
      0
      • C Chaminda Bandara

        If my one of customer saying they could a generate a report withing 30 second before and now they have to wait for 3min so how I can track that as a Senior Technical Support Analyst that whether it is a database issue or programming issue ?

        Chaminda Bandara

        C Offline
        C Offline
        Corporal Agarn
        wrote on last edited by
        #3

        Check the execution plan and the index fragmentation, to start.

        Mongo: Mongo only pawn... in game of life.

        1 Reply Last reply
        0
        • C Chaminda Bandara

          If my one of customer saying they could a generate a report withing 30 second before and now they have to wait for 3min so how I can track that as a Senior Technical Support Analyst that whether it is a database issue or programming issue ?

          Chaminda Bandara

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

          If there have been no changes to the code base then it is a server issue, easy. You really should know if there have been changes to the code! There are a bunch of tuning possibilities that you should be aware/doing from degragging thee indexes to tuning the queries to checking disk space and fragmentation.

          Never underestimate the power of human stupidity RAH

          C 1 Reply Last reply
          0
          • M Mycroft Holmes

            If there have been no changes to the code base then it is a server issue, easy. You really should know if there have been changes to the code! There are a bunch of tuning possibilities that you should be aware/doing from degragging thee indexes to tuning the queries to checking disk space and fragmentation.

            Never underestimate the power of human stupidity RAH

            C Offline
            C Offline
            Chaminda Bandara
            wrote on last edited by
            #5

            If we assume that the issue with indexes how can I optimize using indexes ?

            M 1 Reply Last reply
            0
            • C Chaminda Bandara

              If we assume that the issue with indexes how can I optimize using indexes ?

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

              I would use the execution plan to identify bottlenecks in the existing indexes and any missing indexes for the query, I would then defrag those indexes

              Never underestimate the power of human stupidity RAH

              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