Solved

Sybase How do we check ASE memory in MB or Gb ?

Posted on 2013-06-23
3
2,572 Views
Last Modified: 2013-07-15
I have following configuration for sp_configure 'max memory' how do I know what size in MB/GB the memory have been allocated for this instance ?


ASE memory
0
Comment
Question by:motioneye
3 Comments
 
LVL 26

Accepted Solution

by:
wilcoxon earned 300 total points
ID: 39269995
Max memory shows it is in "memory pages (2k)" units so the amount in MB/GB would be:
104,000,000 * 2048 = 212,992,000,000 B / (1024 * 1024) = 203,125 MB / 1024 = 198.36 GB

The above assumes Sybase uses 1024 = 1kb.  Some (math-deficient) systems use 1000 = 1kb (which would change the * 2048 to * 2000 in the first step).
0
 
LVL 24

Assisted Solution

by:Joe Woodhouse
Joe Woodhouse earned 100 total points
ID: 39270867
sp_configure reports its units for each configurable parameter. I don't think it's possible to change the units that it uses, although you could take a look at its source code (it's in sybsystemprocs, use sp_helptext on it) to write your own that used MB or GB for some items.

That said, maybe sp_helpconfig has some of what you need? You can use it to ask "how much memory would setting this parameter to this value cost me?", and "how many locks would fit in 1MB of memory?".
0
 
LVL 13

Assisted Solution

by:alpmoon
alpmoon earned 100 total points
ID: 39273552
I agree with Joe. The unit is always 2k for memory configuration parameters and actually "memory used" always report used memory as KB. So allocated memory is ~99 GB.

You can confirm it by using top utility on UNIX.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
sybase sql anywhere unload database 3 790
Sybase - CronJob schedule 2 582
sql anywhere query 5 134
Sysbase Central connection fails 3 37
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
A procedure for exporting installed hotfix details of remote computers using powershell
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now