?
Solved

Tables,queries :  Memmory? Speed?

Posted on 1998-01-12
7
Medium Priority
?
269 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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 80 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
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 …
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

752 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