access speed in displaying records in form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Neruda
    New Member
    • Mar 2017
    • 72

    access speed in displaying records in form

    Duh questions perhaps but I wonder if anyone had a rough idea.
    Would a stored Access query perform noticeably faster if it had to display 15 records (6 fields no calculations, no subqueries) on a form from a table with 300 records instead of 800.000?

    Thanks
  • Neruda
    New Member
    • Mar 2017
    • 72

    #2
    Anyone?
    I just wanted to know roughly, in your experience, if it is a matter of seconds, many seconds?
    If anyone knows where I could get an access back end with that amount of random records for testing, i'll do it. Could not find one .
    Thanks

    Comment

    • PianoMan64
      Recognized Expert Contributor
      • Jan 2008
      • 374

      #3
      It's going to depend on the criteria in the query that you have, if it has to crawl all 800,000 records to find it, or if you are simply going to read the first 15 records from the table without regard to order. If you're going to have a specific order to the display. that is where the time will be used to find them. If it is index and tuned correctly that will minimize the amount of time that it will take to locate the 15 records you're going to display on the screen.

      Comment

      • NeoPa
        Recognized Expert Moderator MVP
        • Oct 2006
        • 32633

        #4
        As PianoMan says, it may or it may not. It certainly CAN make life very uncomfortable, taking minutes to process. On the other hand, if all is set up sensibly and filtered on sargable fieldsets, it can be almost as responsive as that for 300 records.

        If you don't understand the word sargable then look it up. You won't regret it if you plan to do any amount of work in databases.

        Comment

        • Neruda
          New Member
          • Mar 2017
          • 72

          #5
          Thanks.
          to be more specific, these 15 records are inserted in a table one after the other(as a block of 15) and they are child records. They could be anywhere as a pack. So I suppose that if i search for 15 records where the fkID is x and the fkID is indexed, Access shouldn't be complaing that much? I wanted to have an idea because I might want to create an intermediate table that will never have a large amount of records. Don't want to go that route thought, I want to keep it simple if I can.
          Thanks for that word NeoPa, have never come across it, so yes I am new to access and love to optimize as much as I can.

          Comment

          • NeoPa
            Recognized Expert Moderator MVP
            • Oct 2006
            • 32633

            #6
            That would certainly be sargable and yes, that would give you very reasonable performance in any scenario I can think of. I suspect you'd run out of the ability to hold the records before the indexing would be severely stretched.

            Obviously, the thing to do is to try it out now, but you can be comfortable that it will grow well.

            Comment

            Working...