ADS Speicherbedarf

Advantage Database Server

Moderator: Moderatoren

Antworten
Chris
Cut&Paste-Entwickler
Cut&Paste-Entwickler
Beiträge: 49
Registriert: Fr, 17. Feb 2006 8:51
Wohnort: München
Hat sich bedankt: 1 Mal
Danksagung erhalten: 1 Mal

ADS Speicherbedarf

Beitrag von Chris »

Hallo Zusammen,

ich habe bei einem Kunden mit ADS Version 11.10.0.24 (125 User) und Server 2019 Std. das Problem dass das ADS im Arbeitsspeicher des Servers langsam über den Tag von knapp 300 MB auf knapp 2 GB erhöht. Das führt dann ab dem Mittag zu deutlichen Performance-Einbußen.

Ich bin der Meinung das es eine Einstellung oder einen Registry-Eintrag gibt mit dem man das ganze begrenzen kann. Leider habe ich den nirgends dokumentiert und finde jetzt auch nichts. Weiss da eventuell jemand was?

Vielen Dank schon im Voraus.

Gruß,
Christian
Benutzeravatar
Marcus Herz
1000 working lines a day
1000 working lines a day
Beiträge: 851
Registriert: Mo, 16. Jan 2006 8:13
Wohnort: Allgäu
Hat sich bedankt: 39 Mal
Danksagung erhalten: 192 Mal
Kontaktdaten:

Re: ADS Speicherbedarf

Beitrag von Marcus Herz »

Ich weiß nicht, ob eine Speicherbegrenzung da Abhilfe schaffen kann, Eher vermute ich, dass Tabellen oder SQL Abfragen nicht geschlossen wurden.
Was zeigt den die Management Konsole an: offen Tabellen, offen Workareas?
Gruß Marcus

Erkenne, was du findest, dann weißt du, wonach du gesucht hast
Chris
Cut&Paste-Entwickler
Cut&Paste-Entwickler
Beiträge: 49
Registriert: Fr, 17. Feb 2006 8:51
Wohnort: München
Hat sich bedankt: 1 Mal
Danksagung erhalten: 1 Mal

Re: ADS Speicherbedarf

Beitrag von Chris »

also, die Einstellung welche ich gesucht hatte war das festlegen von max_cache_memory in der registry. wir haben das bei dem Kunden jetzt mal auf 6GB beschränkt.

gibt es eigentlich irgendwo einen hinweis seitens sybase / sap / tobax was ein sinnvoller wert für die einstellung wäre. eventuell abhängig vom ram des servers?
UliTs
Der Entwickler von "Deep Thought"
Der Entwickler von "Deep Thought"
Beiträge: 2828
Registriert: Fr, 10. Feb 2006 9:51
Wohnort: Aachen
Hat sich bedankt: 259 Mal
Danksagung erhalten: 12 Mal
Kontaktdaten:

Re: ADS Speicherbedarf

Beitrag von UliTs »

Vielleicht hilft dies etwas.
Default = Half of the available system memory (RAM) at startup



This configuration entry specifies the maximum amount of memory (RAM) in megabytes (MB) the Advantage Database Server will use to cache index files, table headers, memo headers, and temporary files. If this setting is not found, the Advantage Database Server will determine an appropriate maximum value by dividing the currently available amount of free memory by two. In 32-bit operating systems, Advantage will use no more than 256MB for cache unless the MAX_CACHE_MEMORY specifies a higher value. The amount of free memory is polled once per minute, and if the Advantage Database Server is using more than half of 80% of free memory, it will release enough memory so there will be at least 100MB memory available in the system.



If the configured amount is zero, the Advantage Database Server will not cache any file data.



To set a specific amount of memory for the Advantage Database Server to use for caching, perform one of the following where "x" is replaced by the actual integer memory amount in megabytes (MB). To disable the cache system, specify a value of zero.

For Windows:

Add or modify the following DWORD value using the Registry Editor (REGEDIT.EXE):

\\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Advantage\Configuration\MAX_CACHE_MEMORY=x

For Linux:

Add or modify the following line in the Advantage Database Server configuration file (adsd.conf):

MAX_CACHE_MEMORY=x

For Local Server:

Add or modify the following line in the Advantage Local Server configuration file (adlocal.cfg):

MAX_CACHE_MEMORY=x
-------
Mitglied XuG Cologne
Mitglied XuG Osnabrück
Antworten