473,324 Members | 2,400 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

access speed in displaying records in form

72 64KB
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
Oct 8 '17 #1

✓ answered by PianoMan64

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.

5 2383
Neruda
72 64KB
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
Oct 10 '17 #2
PianoMan64
374 Expert 256MB
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.
Oct 11 '17 #3
NeoPa
32,556 Expert Mod 16PB
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.
Oct 12 '17 #4
Neruda
72 64KB
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.
Oct 12 '17 #5
NeoPa
32,556 Expert Mod 16PB
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.
Oct 15 '17 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Noesis Strategy | last post by:
My firm is creating a database that profiles (about 100) companies in various sectors. Each profile is about 10 pages long with perhaps 150 parameters. Some of the parameters will contain a half...
0
by: Mike O. | last post by:
MS Access 2003 "filter by form" has drop down lists that allow the user to select values for each field to filter by. However, once some values are selected,the remaining dropdown lists remain the...
0
by: Fronky | last post by:
Hope someone can help. I am still learning, so no laughing please. I am displaying records from a database using Response.Write(""); instead of the usual datagrid method. I am doing it this way...
5
by: twick10 | last post by:
Hi, I am trying to execute a control method on an open form (not with focus) from a modal dialog box. I want to increment the node selected from the dialog when a certain key is pressed. Any...
1
by: Vivek | last post by:
Hi, I have a public void method declared in a form and I wish to access it from the form in windows application made in vs 2005. How can I achieve this THanks
0
by: asad56 | last post by:
I am workin with a superstore managment project. I connect Access database with main form . Then it work properly. But now I connect same database with another table or field in another form which is...
0
by: John Kirkpatrick | last post by:
Hi all, I am having difficulty displaying records on a frontend MS Access 2000 form using a MySQL backend. The following code works well with the Jet database engine but doesn't work properly...
5
by: sejal17 | last post by:
hello everyone, I have a problem with displaying records between two dates.Below is my designing page: start date: combobox of month(smonth) & combobox of year(syear) end date :...
14
by: SunnyC | last post by:
I have a table as below in test.mdb Access database. on a form, I want to use lookup to capture the the last field name in a text on the form, in this case, it is 200906. by using some code I...
1
by: santhosh309 | last post by:
iam displaying records in gridview,now my requirement is based on the transaction i want to show that rows in a different colour
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.