Solved

Tables,queries :  Memmory? Speed?

Posted on 1998-01-12
7
259 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
Industry Leaders: 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi application Soap connection 5 151
Graphics32 under Delphi 10.1 Berlin 2 169
enhance the following code 3 48
Problem working with dynamic array - help 2 45
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

738 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