Results 1 to 3 of 3
  1. #1
    tcheck is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Nov 2010
    Posts
    131

    Upsizied Database to SQL 2008

    I upsized a 200 meg db to SQL 2008 and I noticed that the query's that have multiple OR statments is very slow coming from the SQL Server. If I have one statment it takes about 2 seconds, if I add an OR statment it takes about 2 minutes. Any solution?

  2. #2
    eki einstein's Avatar
    eki einstein is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jan 2013
    Location
    Bekasi - Jawa Barat- Indonesia
    Posts
    26
    Check the server location?? and offcourse check the server resource to SQL2008 it need at last 2GB RAM(no others program thats run except MSSQL it self) to works well, or check the version of your MSSQL server 2008, some version will need more RAM to run well.
    and i think you need to review the database it self 200MB its quite BIG i think you need to review your database try make it not to complex and simple

    hope those help

  3. #3
    ssanfu is offline Master of Nothing
    Windows XP Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I don't think 200 meg is all that big. Access limit is 2 gig... SQL express is 4 gig... SQL Server is limited by hard drive space.

    As a test, can you open the sql server management studio from your desktop? Type in the same query, first with one statement and see how long it takes to execute. Then add the OR clause and time it again.

    Could be the LAN speed. It can take a lot of time to to transfer data (records) back and forth from Access to SQL on a LAN.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 05-18-2012, 12:42 PM
  2. Replies: 3
    Last Post: 04-30-2012, 04:09 AM
  3. 2008 Server R2
    By Randy in forum Access
    Replies: 0
    Last Post: 03-15-2012, 01:24 PM
  4. ADP from SQL 2000 to SQL 2008
    By MattieG72 in forum SQL Server
    Replies: 0
    Last Post: 02-10-2012, 06:28 AM
  5. Server 2008 RC
    By Randy in forum Access
    Replies: 3
    Last Post: 01-20-2012, 11:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums