cancel
Showing results for 
Search instead for 
Did you mean: 

Memory parameters settings

Former Member
0 Kudos

Hi,

     I have 8gb of ram where CI and DB are installed on the same server.

I would like to allocate 70/30% memory to CI and DB.

Which parameters need to change do this?  As I know that PHYS_MEMSIZ is used to set the memory for sap CI and which parameter is used for DB?

Thanks

Srikanth

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Srikanth

which database software are you using?

Rgs

a

Former Member
0 Kudos

maxdb

Former Member
Former Member
0 Kudos

I would like to just assign 5 GB ram  PHYS_MEMSIZ parameter then it is allocated to SAP and remaining memory it will assign automatically DB.

Ca i proceed with that? 


Former Member
0 Kudos

"5 GB ram  PHYS_MEMSIZ for sap" ok

"remaining memory it will assign automatically DB" of course NOT automatically (unless you are in the middle of the sap installation )

Last but not least, I would leave 1GB of free mem...

Former Member
0 Kudos

Ok thanks for the update andrea...

Where my installation is already  completed, Before  I have 5 Gb ram allocated, now we increase ram size to 8 Gb. 

Now i allocated  PHYS_MEMSIZ to 5 Gb.  Is it ok now ? or need to change any parameters to DB also to make effect ?

Please advice

Former Member
0 Kudos

Now I get it!

if you gave 70% of mem to sap in the original installation, probably you can now increase to 5gb

...But if I would be you, I would check how much mem is taken by db with following guide

http://wiki.sdn.sap.com/wiki/display/MaxDB/MaxDB+Memory+Sizing

Let me know if you have further doubts

cheers

a

Former Member
0 Kudos

Here are the statistics  :

select USEDSIZE,MAXUSEDSIZE,ALLOCATEDSIZE from  MEMORYALLOCATORSTAT                                                                                        ISTICS

| USEDSIZE                       | MAXUSEDSIZE                    | ALLOCATEDSIZE                  |

| ------------------------------ | ------------------------------ | ------------------------------ |

|                     3299958784 |                     3299958784 |                              0 |

|                     3199561728 |                     3199561728 |                     3199561728 |

|                      225297408 |                      225695184 |                      226996224 |

|                              0 |                             32 |                         262144 |

|                     3199774720 |                     3201220608 |                     3201515520 |

|                         570672 |                         892432 |                        1048576 |

|                              0 |                              0 |                          65536 |

|                       95117312 |                       95117312 |                       96296960 |

|                       11542528 |                       11542528 |                       11542528 |

|                          11808 |                          11808 |                        1048576 |

|                           1960 |                           1960 |                           1960 |

|                       17046344 |                       17046344 |                       17046344 |

|                        3175232 |                        3377848 |                        3175232 |

|                              0 |                              0 |                              0 |

|                          77192 |                          77192 |                         204800 |

|                              0 |                           8216 |                         524288 |

|                       45472136 |                       45472136 |                       46137344 |

|                              0 |                              0 |                              0 |

|                        6569984 |                        6635520 |                              0 |

|                         163672 |                         163744 |                         163672 |

|                            456 |                            456 |                            456 |

|                            456 |                            456 |                            456 |

|                            456 |                            456 |                            456 |

|                              0 |                              0 |                              0 |

|                              0 |                              0 |                              0 |

|                              0 |                              0 |                              0 |

|                              0 |                              0 |                              0 |

|                           4784 |                           5048 |                           8192 |

|                              0 |                           9680 |                         262144 |

|                              0 |                           4288 |                         262144 |

|                              0 |                           4288 |                         262144 |

|                              0 |                              0 |                              0 |

|                              0 |                              0 |                              0 |

|                              0 |                              0 |                              0 |

|                              0 |                              0 |                              0 |

Here Ram size of the system is 4 gb..

Out put of Top command

Tasks: 198 total,   1 running, 197 sleeping,   0 stopped,   0 zombie

Cpu(s):  0.5%us,  1.2%sy,  0.0%ni, 96.1%id,  2.1%wa,  0.0%hi,  0.0%si,  0.2%st

Mem:   4207236k total,  4172664k used,    34572k free,    20272k buffers

Swap: 20964816k total,  1660988k used, 19303828k free,  1013228k cached

===============

From above analysis, total memory is 4  GB and DB is using maximum 3  GB?

Overall Just I like to know , how the memory sizing is distributed, Here PHYS_MEMSIZE is  3072 allocated by me. 

Former Member
0 Kudos

Hi

taken from sap:

For a central instance with 1 GB main memory, the database uses

400 MB and the application server 600 MB. The value for PHYS_MEMSIZE

should therefore be set manually to 600

In your case , you know that max3GB is for the db and therefore PHYS_MEMSIZE should be 5GB

I believe this is best answer i can give you

Former Member
0 Kudos

Thanks for giving detailed explanation...

Former Member
0 Kudos

pleasure

Have a good day

a

Answers (0)