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
5 2389
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
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.
NeoPa 32,564
Recognized Expert Moderator MVP
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.
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.
NeoPa 32,564
Recognized Expert Moderator MVP
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.
Sign in to post your reply or Sign up for a free account.
Similar topics |
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 a page of
information such as "recent press releases". Is there particular function
of Access that would make it better than Filemaker? I have...
|
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 same and
aren't progressively filtered to reflect the selections already made
in other fields. This can be very tedious when filtering a large...
|
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 to achieve the result I require.
However. Since I have added a button to the screen, and have had to include
the "object sender, System.EventArgs...
|
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 help appreciated.
Robert T
|
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
| |
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 child of main form not working.
Main form stil working but when try to open child a message show as
Please select a valid...
|
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 using the MySQL backend database. All records are displayed on the form using the Jet, but only one record appears using MySQL. Perhaps it just needs some...
|
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 : combobox of month(emonth) & combobox of year(eyear)
I want the records between this month and year.i have written the below query for that:
suppose,...
|
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 searched on the web site, I only can see all the field names, How can I just capture the last field name in the crosstab query.
Thanks, SunnyC
...
|
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
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |