Results 1 to 6 of 6

Thread: Application Speed

  1. #1

    Thread Starter
    Lively Member nancy_padillon's Avatar
    Join Date
    Mar 2007
    Posts
    70

    Application Speed

    I don't know where to ask but my code is in vb6 and i'm using sql2000 as my database. The program will be used by users at a very long distance, i've tried to run at one station which is 75km from the Head office, the program is very,very slow. I believed that we already used the best hardware for the application...so what do you think guys?

  2. #2
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Re: Application Speed

    Physical distance has nothing to do with the speed - or at least you can't (shouldn't) notice the difference...

    (please, correct me if i'm wrong)

    What exactly do you mean with slow? Slow app, slow queries...?

  3. #3
    Member nf_vb's Avatar
    Join Date
    Mar 2007
    Location
    Portugal
    Posts
    35

    Re: Application Speed

    Try to boost your SQLServer in Enterprise Manager:

    Select your Instance-Properties-Processor

    and check the option - Boost SQLServer Priority on windows

    Sometimes helps

  4. #4
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: Application Speed

    Either find ways to minimize amount of data sent/received (eg. avoid select *), or get better connection (increased bandwidth, less latency, etc).

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Application Speed

    Moved to Database Development forum

    As gavio said, distance by itself is irrelevant - what matters is the speed (and other usage) of the network connection.

    The thing to do is to improve your program.. for example, only retrieve/send data that is actually needed (rather than all fields and/or all rows from a table), and use Server Side cursors as much as possible.

    For more specific advice, we'll need more information about your program (such as how you connect to and work with the database).

  6. #6
    PowerPoster
    Join Date
    Nov 2002
    Location
    Manila
    Posts
    7,629

    Re: Application Speed

    Also, you and your boss might want to consider converting your VB app to an online implementation (or web application) moreso if your company already has experience with hosting web servers... since asp uses vbscript by default, coding the pages shouldn't be that difficult...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width