Re: ASE database configuration complies with SAP's requirements
SAPtempdb set up
Dear All,
We have got recommendation to increase SAPtempdb as per the formula square root ( total DB size in GB ) * 2
Where in our DB size is 450 GB
It is also said to ensure that users SAPSR3 and SAPSR3DB are bound to database saptempdb
We need to do below activity through isql kindly advice the steps to execute this process
Thanks and Regards
Re: SAPtempdb set up
Praveen,
Can you please elobarate.
Your question is not clear enough to advise.
Regards
Anand
Re: ASE database configuration complies with SAP's requirements
Hello Ashish,
Please check following SAP note:-
2053811 - SYB: DBACOCKPIT, Table Options SAP Configuration Check
Regards
Anand
Re: SAPtempdb set up
Dear Praveen,
SAPSR3 is the login created for ABAP installations
and SAPSR3DB is the login created for JAVA installations.
Once you have made your tempdb, you may bind it to either of these users using the below commands:
exec sp_tempdb 'bind','lg',SAPSR3DB,'db','saptempdb'
go
exec sp_tempdb 'bind','lg',SAPSR3,'db','saptempdb'
go
Regards,
Ajith Prabhakaran
Re: Development Changes in ASE 16?
Hello,
we need no infos how to upgrade to AS 16.x.
Our development project team only want to know, when the team is programming SQL, do the team note something?
Re: SAPtempdb set up
Thanks Ajith
Hi Anand,
Our current saptempdb is configured with 5GB. It is recommended to increase the size to 15 GB
as per the formula square root ( total DB size in GB ) * 2
We need to do it from isql. Kindly advice the steps to increase size of saptempdb from 5GB to 15GB
Thanks and Regards,
Re: SAPtempdb set up
Hello Ajith,
Is there a reason why you can't use DBA cockpit to do it?
The advice is to use DBA Cockpit.
Thank you.
Best regards,
Gek
Re: SAPtempdb set up
HI Gek,
We are using a portal system however we have configured DBACOCKPIT in a abap stack
Hence thought better to use isql
Can you please advice wrt DBACOCKPIT
Thanks and Regards,
Raise of CPU - What to do?
Hello,
we are on ASE 15.7, RHEL.
As we are facing some CPU bottlenecks we will now raise the amount of vCPUs.
My question is, is there any special configuration to do in ASE after that change?
We are facing the issue, that sometimes CPU (dataserver) is so high that working in SAP isn't possible.
Is there a solution/limitation/best practice for this?
Kind regards
Re: Raise of CPU - What to do?
Hi Anon,
Did you firstly check which process is causing a high cpu demand ?
Regards,
Deepak Kori
Re: Raise of CPU - What to do?
Hi Deepak,
yes, dataserver conums around 95%.
I've found one parameter "max online engines", does this mean the consumption of CPUs?
May this be a parameter, how I can limit the usage of CPUs?
Kind regards
Re: Raise of CPU - What to do?
Hi Anon,
Sometimes due to spinlocks there could be high cpu usage. Refer to link below on analyzing such situation and fixing it.
https://wiki.scn.sap.com/wiki/display/SYBASE/Spinlocks+and+CPU+usage+in+SAP+ASE
Regards,
Deepak Kori
Re: Raise of CPU - What to do?
But does the value "max online engines" define, how many cpus can be used?
Because at the moment this value is much higher than CPUs are available...
Re: Raise of CPU - What to do?
The value of 'max online engines' defines the maximum nuimber of engine syou can start.
However, important for your system is the actual number of engines
You can check with
sp_helpthread syb_default_pool
To lower or increase the number of engines
alter thread pool syb_default_pool with thread count = <n>
<n> cannot be higher than 'max online engines . Generally ,tt should not be higher than physical cores -2 , assuming that the db hsot is exculsively used by ASE .
If spinlock contention is the problem then reducing the number of engines is often the first thing to do.
Rgds
Tilman
Re: Raise of CPU - What to do?
Hello Tilman,
got it.
At the moment we are having 8 vCPUs and using 7 threads.
But you are writting, that we have to define it by PHYSICAL cores -2.
So this might be already much to high, right? (I don't know how many physical are behind)
Or does it consider the vCPUs?
So if we increase to 12 that I define 10 threads?
I've checked the spinnlocks.
What is a bad value?
Default data cache has a very high value in "Spin numbers" and waits/grap is around 0,1.
What do I have to check in dbacockpit?
Kind regards
Re: Raise of CPU - What to do?
And what means the thread activity exactly?
I can see percent i/o busy by around 500%.
I always thought that this means 5 vCPUs are used and the total of thread is the usage of dataserver-process.
However, if I check in dbacockpit i can see in adhoc that it is by around 500 and dataserver is constantly by around 100 - 200%.
Kind regards
Re: database option
Database Dump Error in DB13
Dear experts,
I scheduled database dump at DB13 daily.
I got below error recently.
----------------------------------------------
starting job execution at 2016-04-26 01:00:30
(1 row affected)
dump database EC1 using config = EC1DBBackup Server: 4.171.1.1: The current value of 'reserved pages threshold' is 85%.
(1 row affected)
Backup Server: 4.171.1.2: The current value of 'allocated pages threshold' is 40%.
Backup Server: 4.171.1.5: The current value of 'parallel scan' is 2.
Backup Server session id is: 52. Use this value when executing the 'sp_volchanged' system stored procedure after fulfilling any volume change request from the Backup Server.
Backup Server: 4.41.1.1: Creating new disk file F:\backups\EC1.DB.20160426.012500.000.
Backup Server: 6.28.1.1: Dumpfile name 'EC116117013EC ' section number 1 mounted on disk file 'F:\backups\EC1.DB.20160426.012500.000'Backup Server: 4.141.2.22: [2] The 'WriteFile' call failed for database/archive device while working on stripe device 'F:\
Error encountered by Backup Server. Please refer to Backup Server messages for details.
ERROR: Error encountered by %S_MSG. Please refer to %S_MSG messages for details.
----------------------------------------------
job execution finished at 2016-04-26 01:25:26
>Error encountered by Backup Server. Please refer to Backup Server messages for details
Could you please let me know where is the right path in the server to see the error log?
Thank you.
Regards,
Fadzly Iqbal
Re: database option
Hi,
for me the sequence
- trunc log on checkpoint --> false
- full database dump
- enforce dump tran sequence --> true
works (see attached screenshot).
Which output gives the stored procedure: sp_tran_dumpable_status <dbname>
This might give a hint of the cause.
I don't know your tool but maybe ASE does not recognize it as a full dump. Is it possible for you to do a full dump without the tool (dump database <dbname> to 'path_and_file').
Best regards,
Juergen