What will be the best configuration / set up for interbase database over LAN in terms of components to use?
For example:
1. Should I use TIBDataset components in conjuction with DB Components?
2. TIBTable components in conjuction with DB components?
3. TIBQuery components in conjunction with NON-DB components?
etc...
etc...
Cause I have changed all by TIBDatasets to TIBTables and there is already a little speed improvement.
Main Topics
Browse All Topics





by: JDSkinnerPosted on 2006-04-24 at 16:47:56ID: 16530461
Hi e.com/Prog ramming/ Pr ogramming_ Languages/ Delphi/Q_2 1733796.ht ml
You may have already done this but:-
Try using TibQuery linked to a DataAccess Datasource component
For basic setup look have a look at
http://www.experts-exchang
To speed up any updates then use local dataset caching:
While TibQuery.Active is set to false, set TibQuery.CachedUpdates to true
then reset TibQuery.Active to true. This allows for local caching of Inserts, updates and deletes.
Make sure that the TibQuery.SQL is set to something like
Select <fieldlist> from table
Where < some condition > (optional)
Order by <field or fieldlist>
The Order by field / fieldlist should ideally is already indexed although an index will be created if its not already available.
Run the SQL query on a database tool such as Database Workbench
http://www.upscene.com/
This will show you how fast the query can be run.
If you use the TibQuery.CachedUpdates don't forget to use TibQuery.ApplyUpdates befor you commit your changes.