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. DataBase performance issue

DataBase performance issue

Scheduled Pinned Locked Moved Database
databasehelpperformancequestioncode-review
8 Posts 3 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.
  • K Offline
    K Offline
    krishnaveer
    wrote on last edited by
    #1

    Hi, I have a database on webserver, when some one gives any order from website then data comes into this database. Now i'm fetching these data from websercer to our local machin's dataabse. for this purpose i'm using en exe which contains stored procedure for fetching the data. These stored procedures takes 5-7 min to fetch the data from webserver. Now the problem is that at the time of execution of stored procedure no one can give the online order because of database busy. My question is that how i can improve the system so that one can give online order at the time of execution of stored procedure. Thank you..

    krishna veer singh

    I A 3 Replies Last reply
    0
    • K krishnaveer

      Hi, I have a database on webserver, when some one gives any order from website then data comes into this database. Now i'm fetching these data from websercer to our local machin's dataabse. for this purpose i'm using en exe which contains stored procedure for fetching the data. These stored procedures takes 5-7 min to fetch the data from webserver. Now the problem is that at the time of execution of stored procedure no one can give the online order because of database busy. My question is that how i can improve the system so that one can give online order at the time of execution of stored procedure. Thank you..

      krishna veer singh

      I Offline
      I Offline
      i i i
      wrote on last edited by
      #2

      can you tell which Database Server are you using and do you have any maintenance plans scheduled.

      Best Regards, SOFTDEV If you have knowledge, let others light their candles at it

      K 1 Reply Last reply
      0
      • I i i i

        can you tell which Database Server are you using and do you have any maintenance plans scheduled.

        Best Regards, SOFTDEV If you have knowledge, let others light their candles at it

        K Offline
        K Offline
        krishnaveer
        wrote on last edited by
        #3

        I'm using sqlserver 2005

        krishna veer singh

        1 Reply Last reply
        0
        • K krishnaveer

          Hi, I have a database on webserver, when some one gives any order from website then data comes into this database. Now i'm fetching these data from websercer to our local machin's dataabse. for this purpose i'm using en exe which contains stored procedure for fetching the data. These stored procedures takes 5-7 min to fetch the data from webserver. Now the problem is that at the time of execution of stored procedure no one can give the online order because of database busy. My question is that how i can improve the system so that one can give online order at the time of execution of stored procedure. Thank you..

          krishna veer singh

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

          Not without knowing a lot more about your system - table sizes, indices, configuration, usage, etc etc. One thing you could try, in your stored proc use (nolock) on your reads, this may help

          Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

          K 1 Reply Last reply
          0
          • K krishnaveer

            Hi, I have a database on webserver, when some one gives any order from website then data comes into this database. Now i'm fetching these data from websercer to our local machin's dataabse. for this purpose i'm using en exe which contains stored procedure for fetching the data. These stored procedures takes 5-7 min to fetch the data from webserver. Now the problem is that at the time of execution of stored procedure no one can give the online order because of database busy. My question is that how i can improve the system so that one can give online order at the time of execution of stored procedure. Thank you..

            krishna veer singh

            I Offline
            I Offline
            i i i
            wrote on last edited by
            #5

            Can you show your store procedure statement

            Best Regards, SOFTDEV If you have knowledge, let others light their candles at it

            K 1 Reply Last reply
            0
            • I i i i

              Can you show your store procedure statement

              Best Regards, SOFTDEV If you have knowledge, let others light their candles at it

              K Offline
              K Offline
              krishnaveer
              wrote on last edited by
              #6

              In SP there is nothing but only select and insert statements, i mean i'm selecting new data from web sql server and inserting it into our local sqlserver.

              krishna veer singh

              1 Reply Last reply
              0
              • A Ashfield

                Not without knowing a lot more about your system - table sizes, indices, configuration, usage, etc etc. One thing you could try, in your stored proc use (nolock) on your reads, this may help

                Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

                K Offline
                K Offline
                krishnaveer
                wrote on last edited by
                #7

                No any complex thing is their in my system. only i'm selecting data from web sqlserver table and inserting it in to local sql server tables.

                krishna veer singh

                A 1 Reply Last reply
                0
                • K krishnaveer

                  No any complex thing is their in my system. only i'm selecting data from web sqlserver table and inserting it in to local sql server tables.

                  krishna veer singh

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

                  yes, but I bet there is a where clause, so are those columns indexed? Its far too complex to do in a fotrum without any table defs, index defs, usage stats etc etc. Run your query through query analyser and look at the execution plan, that should at least give you some clues.

                  Bob Ashfield Consultants Ltd Proud to be a 2009 Code Project MVP

                  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