Results 1 to 5 of 5
  1. #1
    adnancanada is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    122

    Link table more than 50 million records


    Hi I am using MS Access 2013. I have link table coming from SQL Sever has huge data records more than 50 million. Whenever I run any query it freeze my computer or it takes lot of time. I tried pass through run well if there is no filter on it when you put some criteria it behave same as normal query does. Is it possible to create index via pass through query ?

    Is there any best way to handle large data table so I can run my query.

    Thanks.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    you are at the mercy of
    the type of query
    50 M records
    memory in your PC
    the processor in your pc
    the connection.

    you may want to let it run.

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    I would probably stick with pass through queries, and use criteria to minimize the records pulled from the server. You want the SQL Server doing the work and sending the fewest records possible back to your PC.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    adnancanada is offline Competent Performer
    Windows XP Access 2007
    Join Date
    May 2010
    Posts
    122
    Quote Originally Posted by pbaldy View Post
    I would probably stick with pass through queries, and use criteria to minimize the records pulled from the server. You want the SQL Server doing the work and sending the fewest records possible back to your PC.
    Thanks for your suggestion.
    I have build pass through query it is running fine. It returns records but I cant judge how many records, when I click on record selector , it freeze my computer. How can bring those record in my Access table. Please help.
    Can I make table query using pass through query. Will table create on SQL server ?

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    From the sound of it, so many records are returned that your computer freezes...or at least appears to. It could be as ranman suggested that if you just let it run, they'll eventually show up. I'd test with SQL that you know will only return a few records.

    A make table query will make the table in Access, unless perhaps you're dealing with an ADP.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 17
    Last Post: 05-01-2015, 09:30 PM
  2. Replies: 5
    Last Post: 07-01-2014, 11:10 AM
  3. Replies: 5
    Last Post: 05-02-2013, 12:04 PM
  4. Replies: 2
    Last Post: 12-20-2011, 07:33 AM
  5. Link Records in the Same Table
    By threepwoodjr in forum Database Design
    Replies: 4
    Last Post: 03-17-2011, 06:33 AM

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