[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Frequently queried table

Posted on 2004-04-21
9
Medium Priority
?
195 Views
Last Modified: 2010-04-05
Hi all. I have several SQL tables queried frequently. Can I do anything to store them in memory, not on my hard disk? This slows me down greatly.
0
Comment
Question by:hls1
6 Comments
 

Expert Comment

by:ben_afferson
ID: 10883039
Yeap, I’m interested too. I use tables to store preferences in most of my projects. RAM forever! :)
0
 

Accepted Solution

by:
eagle20001 earned 100 total points
ID: 10883053
The answer is simple – www.componentAce.com with their great product aka Absolute Database. The guys have developed something cool, I tell you. You’ll never regret that you work with it!
0
 

Expert Comment

by:mrnov1
ID: 10883067
AFAIK many DMS optimize most popular queries.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 11

Assisted Solution

by:shaneholmes
shaneholmes earned 100 total points
ID: 10883084
Borland has an example of implementing in-memory tables:

http://info.borland.com/devsupport/bde/delphifiles.html

In-Memory table example with source (Updated 02/17/98, Size 230,760 bytes)

In-Memory table example with source (Package Version) (Size 15,422 bytes)

In-Memory table example with source (Packaged EXE) (Size 22,528 bytes)
This examples takes a table, places all the information into an in-memory table, and then displays all the information in a string grid.

Hope this helps!

Shane
0
 

Expert Comment

by:eagle20001
ID: 10883085
AbsDB does it better, I’ve checked. More than +150% in performance.
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10883182
How do I implement In-memory table?

http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20068246.html?query=memory+tables&searchType=topic

Search on the Delphi Super Page (http://delphi.icm.edu.pl/ or the mirror http://sunsite.informatik.rwth-aachen.de/delphi/) for the Memory table component. I believe there's a MemoryTable component there. I just can't find it now... (But I'll keep on looking...)

There's a way to implement your own version, btw, but it requires the BDE and knowledge of the BDE API. Or you start at the lowest point: TDataset and create your own TDataset-compatible component. Both are harder than just finding this existing component... ^_^
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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

834 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