cancel
Showing results for 
Search instead for 
Did you mean: 

ADS Data Dictionary performance issues

01-18-2017 11:15 AM
1110 views 4 comments
0 Likes
SAP Managed Tags
Subscribe

We recently updated our program to use Data Dictionary bound tables instead of free tables. But it seems like our program got a lot slower in Data Dictionary mode than in Free Table mode. Is this because of the encryption added to the Data Dictionary files, or are Data Dictionaries just a lot slower?

0 Likes

Accepted Solutions (0)

Answers (3)

Answers (3)

jhoehne
Participant
0 Likes

I think its try&error, as this depends on your type of database actions, e.g. whether you do ISAM style table navigating or sql style complex queries with multiple joins etc.

jhoehne
Participant
0 Likes

I also recommend looking in forums other than this community, e.g. stack overflow. If you're german speaking, maybe the "inoffizielles deutsches Xbase-Forum" is suitable, as they have a ADS sub forum. As it seems you're using Delphi, I strongly recommend the "Delphi Praxis". In both forums the well-known "ADS Guru" Joachim Dürr is more or less active (but definitively more active than here).

Former Member
0 Likes

I tried disabling encryption and it helped to improve the performance a little.

The AdsSettings we had before Data Dictionary are :

_ADSSettings.NumCachedCursors := 127;
_ADSSettings.NumCachedTables := 127;
_ADSSettings.ShowDeleted := false;

But since we use .adt tables and not DBF I guess ShowDeleted is no longer usefull?
Are there optimal settings for NumCachedCursors / NumCachedTables or is it just trial and error?

jhoehne
Participant
0 Likes

Using a DD makes no difference in performance. But encryption is expensive, it slows everything down.