Solved

Tables,queries :  Memmory? Speed?

Posted on 1998-01-12
7
264 Views
Last Modified: 2010-04-04
Hi all,

Have to make access to a lot of tables. On a lot of tables I have to select the same ranges. ...

What should I do?
Join the tables to one query?
Isn't this slowing down the program?
Or is the combined tables query as fast as the different tables ranged? What about the memmory?

How much memmory do you need when you connect a TTable to a database table. And what if you add two TTables to one database table. What about the speed?

What if you don't select all fields in the fieldeditor? Does this reduce the needed memmory and icreases speed. Or does this do nothing?

Help! Need some advice.

Zif.
0
Comment
Question by:ZifNab
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 8

Author Comment

by:ZifNab
ID: 1356154
Edited text of question
0
 
LVL 2

Expert Comment

by:mvz121697
ID: 1356155
Which database ?
0
 
LVL 8

Author Comment

by:ZifNab
ID: 1356156
Access95 v7.0
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:JimBob091197
ID: 1356157
Each table or query has one logical connection to an Access database.  Thus many tables will have many connections, but a query will only have one logical connection from Delphi to Access, even if the query joins many Access tables.  (I.e. a query only has one handle from Delphi.)  This should make the query quicker than using many tables (if the query doesn't use an "Order By") and should use less memory too.

Exactly how much memory is used for a table or query I cannot say...

JB
0
 
LVL 8

Author Comment

by:ZifNab
ID: 1356158
Hi JimBob,

That's the answer I wanted to hear, thanks!
What about the total fields? (TFieldEditor)

You can post your comment as an answer.

Regards,
Zif.
0
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 20 total points
ID: 1356159
Each table or query has one logical connection to an Access database. Thus many tables will have many connections, but a query will only have one logical connection from Delphi to Access, even if the query joins many Access tables. (I.e. a query only has one handle from Delphi.) This should make the query quicker than using many tables (if the query doesn't use an "Order By") and should use less memory too.

Exactly how much memory is used for a table or query I cannot say...

Regarding the total fields (using field editor).  This would use more memory, but access to each field may be slightly faster.  The real advantage would be from a coding & development point, but the user would not see any noticable speed increase.

JB
0
 
LVL 8

Author Comment

by:ZifNab
ID: 1356160
Thanks.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question