on 02-03-2014 1:07 PM
Hello!
We are getting low hit rate alerts for data cache mostly over the night.
During the normal operatin the data cache ratio is ok (98-99 %).
As consequence we get an alert regarding low data cache ration within weekly EarlyWatch Alert.
Are there a procedure to optimize the data cache ration over the night in order to improve the overall data cache ratio?
Our maxDB version is 7.8.02.034.
Thank you!
Hi Alex,
Also view the following note on cache recommendations:
1308217 - SAP MaxDB Version 7.8: Parameter recommendations
Also could be helpful to review 819641 - FAQ: SAP MaxDB Performance.
If you also refer to this link training link with slideshow they have specifics on this to my understanding.
http://maxdb.sap.com/training/expert_sessions/Perf_Optimization_SAP_MaxDB.pdf
Kind Regards,
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
Can some one help to get the DBANALYZER running?
If I try to run the command, I get the following error:
E:\sapdb\ARS\db\bin>dbanalyzer.exe -d ARS -u superdba,password -f dbanalyzer_InstanceParameterCheck.cfg -o c:\param_check -i -c 1 -t 1,1 -n SAPTEST
MaxDB Database Analyzer, The Performance Analysis Tool, Version 7.8.02.34
Copyright 2000-2013 by SAP AG
ERROR 2: Invalid/incomplete program arguments.
Unknown option!
I checked the password of superdba via DMBCLI, it should be right.
Hello Alex,
It looks like you did the parameter check correctly. Are you sure that the files are located in your current directory and that you can write into the -o directory.
But notice the parameter check does not give any recommendation related to the Parameter Cache_Size.
If you get worse cache hitrate during batch processing in the night, it really sounds that there are missing indexes for the batch jobs. So the system has to read much more data to get the qualified records. I would first check the ressource monitor - Do you get information about long running SQL.
Additionally you can use transaction ST06/st03 to get the most expensive batch jobs.
And of course you can start Command monitor during night - but please don't forget to stop it in the morning, Otherwise it overwrites you logged commands.
Please check as well the Expert Sesion about the performance monitoring tools:
http://maxdb.sap.com/training/
Regards, Christiane
HI,
Not sure of the sap standard but look at link.
http://www.datadisk.co.uk/html_docs/maxdb/overview.htm
They have basic formula on page if you are running on sap.
Refer also to
http://maxdb.sap.com/training/internals_7.6/kernel_parameters_EN_76.pdf
Another thing I tend to notice if you set value to 1 you have collisions and problems also refer to link.
http://scn.sap.com/thread/1813598
Regards,
Johan
Hi Alex,
it depends on the database version you are using. Please check if you have the following parameters:
MaxCPUs and UseableCPUs
With MaxCPU yopu can configure the maximum value of CPU cores your server has.
This parameter is not online changeable - you must restart the database to get the change active.
With UseableCPUs you configure the value of CPU cores your database should currently use for UKTs which ahve User Tasks in it. This parameter can be changed in online mode and is getting active immediately.
If you do not have a stand alone database I would set UseableCPUs < MaxCPUs.
In your case UseableCPUs 2.
But notice low datacache hitrate does not point to a CPU bottleneck. So the Change of the CPU configuration won't solve your problem.
Low Cache Hitrate is always caused by statements which do not have the right indexes to reduce the number of rows to be read to get the qualified records.
Using Command Monitor would be the best way to find the reason for the less cache Hitrate.
Regards, Christiane
Hi Alex,
It could be happening that during night time many jobs are running which require a better cache size value. Request you to monitor the requirement on cache and update cache_size parameter to fine tune the same.
Hope this helps.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Many thanks!
The cache ratio via EWA report is 96 % and catalog cache is 81 %
CacheMemorySize is setting to 1000000 and CAT_CACHE_SUPPLY is setting to 14000
Are there some rule of thumb how to set these parameters , e.g. based on RAM-size of server?
Additional question:
If I have 4 CPU on my Windows Server and I only have DB and SAP instance (no dialog instances) how can I set the parameter MaxCPUs?
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.