1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

MSSQL Server 2000 optimization and timeout issues

Discussion in 'Databases' started by KLB, Dec 15, 2006.

  1. #1
    Okay I have a client (customer) who is still using MSSQL 2K on an old slower box. Anyways a couple years ago I found some great optimization tweaks that improved the performance of MSSQL and significantly lengthened the time before queries would time out. A month ago due to various issues the client had to rebuild their server and all my wonderful tweaks were lost and I can't find any references to them on the Internet.

    Does anyone know of a SQL command that I can throw out MSSQL 2K that will extend the time before queries time out (e.g. I need it to be 180 seconds instead of 30 seconds.

    The front end to their MSSQL database is an MS-Access Database Project (ADP) database (as opposed to a standard Access database (.MDB)).

    I really need to find the tweaks that extend the time to timeouts as some really critical queries are crippled without this fix (including their ability to figure out how much sales tax they own the state).
     
    KLB, Dec 15, 2006 IP
  2. smallbuzz

    smallbuzz Peon

    Messages:
    125
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Open Microsoft Access Help and type in "timeout". I see a few results that talks about changing the timeout period.
     
    smallbuzz, Dec 19, 2006 IP
  3. KLB

    KLB Peon

    Messages:
    1,167
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The change I'm looking for is not an MS Access side change, it is a MS SQL server change. I've done it before, but I forgot what it was. Basically it is some really simple SQL command that has to be run. Changing the time out on the Access side has no affect on my timeout issue.
     
    KLB, Dec 19, 2006 IP
  4. vbrocks

    vbrocks Active Member

    Messages:
    90
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    98
    #4
    I would do it via the server properties. According to the SQL books online, you can also run the following command (replace X with number of seconds required)

    sp_configure 'remote query timeout', X
    GO
    RECONFIGURE
    GO
     
    vbrocks, Dec 21, 2006 IP
    KLB likes this.
  5. KLB

    KLB Peon

    Messages:
    1,167
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks, I'll give it a try. This is very similar to something I found and I'm certain it is what I'm looking for.
     
    KLB, Dec 21, 2006 IP