We have Oracle database hosted on this server. We are in doubt that actual memory used is 25 GB or 4 GB. Performance team is telling that database is over utilizing the memory of 25 GB. But DB team is telling that actual memory utilization is 4 GB and remaining 20+ GB is used by buffers / cached.
I have googled it and noticed that 25 GB is summation of 4+5+15 (close to 25). I referred Linux material and it says that memory in buffers and cached will improve the performance.
1.Can somebody explain whether actual memory used is 4 GB or 25 GB?
2.What is the use of buffers and cached?
3.Sometimes used value is peaking close to 31 GB from 25 GB. Mostly occupied by buffers and cached.
4.At a particular moment, -/+ buffers/cache: will be same. But Mem used will be more in node 1 and less in node 2. After particular hours, the Mem used will be shifting from node 1 to node 2. i.e., in node 1, Mem used will be 6 GB and Mem used in node 2 will be 25 GB approximately. Any body have any idea about this behaviour?
We have Oracle database hosted on this server. We are in doubt that actual memory used is 25 GB or 4 GB. Performance team is telling that database is over utilizing the memory of 25 GB. But DB team is telling that actual memory utilization is 4 GB and remaining 20+ GB is used by buffers / cached.
I have googled it and noticed that 25 GB is summation of 4+5+15 (close to 25). I referred Linux material and it says that memory in buffers and cached will improve the performance.
1.Can somebody explain whether actual memory used is 4 GB or 25 GB?
2.What is the use of buffers and cached?
3.Sometimes used value is peaking close to 31 GB from 25 GB. Mostly occupied by buffers and cached.
4.At a particular moment, -/+ buffers/cache: will be same. But Mem used will be more in node 1 and less in node 2. After particular hours, the Mem used will be shifting from node 1 to node 2. i.e., in node 1, Mem used will be 6 GB and Mem used in node 2 will be 25 GB approximately. Any body have any idea about this behaviour?
Hi user7509,
1. On node 1 the actual usage is 25 GiB. But only a small part is in use by Oracle and large parts by probably almost useless filesystem caching.
2. buffers and cached is part of free memory that is being used for buffering an caching. It remains however free memory. The moment it is needed, the most of the buffers and file system cache gets discarded. This cache is not the cache that Oracle uses.
3. See 2.
4. Usually the memory use of the oracle instances are largely determined by the SGA, which is used almost entirely for the database cache. This is shared memory allocation. Do you have single instance databases that sometimes run on one node and sometimes on the other? You can check the allocated chunks of shared memory by running.
as root or by checking the oracle init file.. The owner of the chunks is the oradba user that runs the database.
Filesystem cache will be of almost no use on a RAC cluster. You would probably be better off by enlarging the SGA of your databases so the memory is put to practical use, but no more than is useful of course.
S.
Last edited by Scrutinizer; 10-14-2009 at 07:40 PM..
hi all,
I would need to add the description in the below syntax. let me know the below syntaxt how it can be changed to add the description in the below.
ps -ef | grep "server" | mailx -s "servers currently which are running" operational@acel.com
Server 62 -> Used for User acessing.... (14 Replies)
My understanding is that "setserial" command is used to change the attributes of
serial device files (ttyS) managed by the linux serial driver(serial module).
My doubt is, using setserial command is it possible to change the attributes of other serial device files managed by a different driver... (2 Replies)
Hi,
I almost always use back quotes in scripts to assigin output of a command to a variable.
eg: file=`basename a/b/c/d/file`
year_mon=`date +%Y%m`
But the same can be achieved like:
file=$(basename a/b/c/d/file)
year_mon=$(date +%Y%m)
I would like to know if there is... (3 Replies)
Hi linux experts,
I am using ftp command as :
ftp hostname
but it says unable to connect,
if i am using the same in sftp it is working :
sftp hostname
it works.
so please help me how should i use ftp command. (8 Replies)
Hi,
I am trying to understand a script and found a line as follows:
tr '\211\233\240' '\040' < $IN_FILE | tr -cd '\11\12\15\40-\176' > $TEMP_FILE
Can any one explain the above line .. What are they trying to translate using the tr command.. I have not used tr command.. so feeling little bit... (2 Replies)
I am new to unix...
How to get all the saturdays of a specific year?
for a specific month, i tried as below..
cal 02 2006 | awk '{print $7}'
but it is not giving all saturdays....
can anyone help me with this?
Thanks in advance,
Sumi (9 Replies)
Hi All,
I wanted to list all the files in the current directory which contains the pattern "error". I tried the following grep command
grep -i 'error' *.*
but i got the error message "ksh: /usr/bin/grep: 0403-027 The parameter list is too long."
Any idea why the grep didn't work?
Note:... (3 Replies)