• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1247
  • Last Modified:

Memory allocated to sybase in solaris

Hi,
Could some please tell how much memory is allocated to sybase instance on a solaris machine.
Also how to check what is the total RAM on solaris and how much is allocated to different instances of sybase on that machine ??

Thanks
Deepak
0
Deepak_FIL
Asked:
Deepak_FIL
  • 3
  • 2
4 Solutions
 
k_murli_krishnaCommented:
The command to find the Ram size in solaris is
#prtconf | grep Mem
OR
/usr/sbin/prtconf | grep Mem
0
 
k_murli_krishnaCommented:
See in how much is allocated to different instances of sybase on that machine:
http://www.sun.com/third-party/global/sas/collateral/wp/vmsizing.pdf
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Deepak_FILAuthor Commented:
can someone please provide how much memeory is configured for sybase to be used.

1. how much memory sybase can use from total RAM of solaris ?
2. how much it is currently using ?
3. how much is free.
4. how much more sybase instance can ask ??

Regards
0
 
Joe WoodhousePrincipal ConsultantCommented:
1. Maximum Sybase memory depends on Sybase version and on bit size. 32-bit ASE can only use up to 3.78Gb on Solaris (even if Solaris is 64-bit). You must run 64-bit ASE (on 64-bit Solaris, on 64-bit chips) to go above that.

See also http://www.sybase.com/detail?id=1026830

Within that limit, you want to give ASE as much as possible while not causing any paging on the box. A well tuned Solaris kernel can fit in 128M of memory but in general I try to keep things to about 7/8ths for Sybase.


2. To see how much memory an ASE instance is using, connect to ASE and run:

   sp_configure "total physical memory"

This is the total amount currently in use by this instance. If you have other Sybase servers running (Backup Server, other ASE instances) they will also use memory. Note some backup memory is used while dumps or loads are actually running, also.


3. Solaris "top" command (if installed) will show you how much memory is free.


4. Per (1) above, there are 32-bit limits. Other than that you can give ASE as much as you want up to total RAM + swap space. However it is very foolish to ever go that high as any performance you gain from increasing ASE memory you will lose by causing paging into swap space. You also need to set at least one Solaris kernel parameter (shmmax) to be able to allocate more than 75% of memory.

How much RAM do you have on your host? What is ASE currently set to use?
0
 
Deepak_FILAuthor Commented:
good
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now