use of the high memory in the database of node cluster 2
Summary of environmental
Cluster nodes RHEL6.4/11.2.0.3.0/ASM/2
free m
total used free shared buffers cached
MEM: 32096 31723 372 0 238 16277
-/ + buffers/cache: 15206 16889
Swap: 16383 178 16205
Each s 1.0: ps EI o % mem, % cpu, cmd | sort - n - r k 2 | head - 10 Thu Feb 27 16:32:15 2014
4.8 0.2 /u01/app/11.2.0/grid/bin/osysmond.bin
mem % 0.0 4.0 ps EI - o, % cpu, cmd
ora_lms1_orcl2 19.6 1.3
ora_lms0_orcl2 19.6 1.3
/etc/kannel.conf 0.2 0.9/usr/sbin/bearerbox
asm_vktm_ 0.9 0.0 + ASM2
ora_vktm_orcl2 0.8 0.0
/opt/app/Java/JDK1.6.0_12/JRE/bin/Java 7.7 0, 7-server-Xms8192m-Xmx8192m - XX: MaxPermSize = 256 m - XX: NewSize = 2048M - XX: karine
2.5 0.7 /opt/app/java/jdk1.6.0_12/bin/java-Djava.util.logging.config.file=/opt/app/csdtomcat/apache-tomcat-6.0.35/c
/U01/app/11.2.0/grid/bin/ocssd.bin 0.3 0.7
SQL > select value, name from v$ sysstat whose name like '% gc.
THE VALUE NAME
---------- ----------------------------------------------------------------
398431945 gcs sent messages
24465773 gc cr block served
92438 flush time gc cr block
52157 timeout reading gc
100272 expected read gc
failures of reading waiting 0 gc
15 gc waiting read timeouts
77789637 blocks of courses gc served
826771 gc block pine time
130755 block course gc flush times
51119356 blocks of cr gc has received
5027865 gc cr block receive times
61272732 blocks of course gc has received
4268980 block of course gc receive times
181763086 local grants of gc
56125079 grants remote gc
716839431 gc sent kilobytes
101203847 gc saved KB
30105492 compressed blocks of gc
blocks of gc lost 0
blocks of claims gc lost 0
0 gc corrupt blocks
0 gc CPU used by this session
0 player gc bypass grants
time of generation 0 gc cr block
0 gc cr block send time
current block 0 gc send times
Node-1
Each s 1.0: ps EI o % mem, % cpu, cmd | sort - n - r k 2 | head Thu Feb 27 - 10 17:19:47 2014
16.3 51.7 /opt/netvertexp/java/jdk1.6.0_12/jre/bin/java-serveur-Xms8192m-Xmx8192m - XX: MaxPermSize = 256 m - XX: NewSize = 2048M - XX: karine
6.5 0.2 /u01/app/11.2.0/grid/bin/osysmond.bin
0.0% mem 5.0 ps EI - o, % cpu, cmd
2.2 0.0/usr/sbin/tcpdump bond0 w s port 65535 /root/pcapprimary/netvertexp-27Feb_17_15.pcap 3868-i
/U01/app/11.2.0/grid/bin/ocssd.bin 0.4 1.4
19.5 1.2 ora_lms1_orcl1
19.5 1.2 ora_lms0_orcl1
ora_dbw1_orcl1 19.7 0.9
ora_dbw0_orcl1 19.7 0.9
ora_vktm_orcl1 0.9 0.0
Node-2
Each s 1.0: ps EI o % mem, % cpu, cmd | sort - n - r k 2 | head Thu Feb 27 - 10 17:19:07 2014
4.8 0.2 /u01/app/11.2.0/grid/bin/osysmond.bin
mem % 0.0 3.0 ps EI - o, % cpu, cmd
oracleorcl2 0.1 2.5 (LOCAL = NO)
ora_lms1_orcl2 19.6 1.3
ora_lms0_orcl2 19.6 1.3
/etc/kannel.conf 0.2 0.9/usr/sbin/bearerbox
asm_vktm_ 0.9 0.0 + ASM2
ora_vktm_orcl2 0.8 0.0
/opt/app/Java/JDK1.6.0_12/JRE/bin/Java 7.7 0, 7-server-Xms8192m-Xmx8192m - XX: MaxPermSize = 256 m - XX: NewSize = 2048M - XX: karine
2.5 0.7 /opt/app/java/jdk1.6.0_12/bin/java-Djava.util.logging.config.file=/opt/app/csdtomcat/apache-tomcat-6.0.35/c
How to troubleshoot the depth to find the cause of the heavy memory usage. ?
Thank you
hitgon
Hello
vmstat-s
This will give a more detailed overview. Search for active/inactive values and used swap. If active memory is close to the total memory and you have a larger amount of used swap, then you might have the memory pressure.
If the Exchange is not used much, and you have the right percentage of inactive memory, then linux could easily swap memory without a performance problem. In this case, the pressure of memory is very likely.
For a report very detailed on the use of single process
PMAP pid - x
M and the press allows you to sort by memory use. If you are using pmap on bigest processes, then you should have a good starting point was that your memory has disappeared.
Concerning
Thomas
Tags: Database
Similar Questions
-
Hello friends,
I use a static database in my application.
I don't have to create the database.
I have a database that I put in my code and use it from there.
So it is possible to do the same thing or should I create in SD card?
I don't want to create database.
Kind regards
Unfortunately, SQLite works only from a database on a SD card or the "internal memory". It does no memory on the device, or an asset provided with the application. I'm sorry.
-
Check the installed oracle components are actually used in the database
I got a new database I have to optimize. So I think to delete some installed components that I think are not be used somehow in the database (IE procedures calls etc.). I see a whole bunch of components as "ODD", 'ORDIM', which I think are not used, but previous DBAs have installed them. So, is it possible to make sure that no part of the database are actually using these components so that I can remove these components. Also, what are your expert comments on it?
Is it a production or a development environment? If an object is not used then this isn't necessarily a problem (performance wise) unless it is either cluttering up your dictionary or raising concerns regarding the consumption of unnecessary space. Personally, I would recommend that it is preferable to resolve what is to be used / taken of resources. It is maybe once a year report or a few old utility out once a year, the best monitoring, why those things are there.
If you go down the road of a fall, rather than drop anything immediately block accounts for an agreed period to ensure that the scheme is not used & check all references other schemas of objects in the schema that you intend to drop, potentially of audit to check if they are being called by other patterns / verification dba_dependencies between schemas and objects using a hierarchical query to check the sub-levels.
There are also quite a few standard Oracle components that are installed by default that have interdependencies and not necessarily be used in the dictionary (control dba_features_usage_statistics)
-
How to check if utl_file was used in the database with the n ° / limited audit
How can you check the database to see if any user has used the UTL_FILE pacakge?
Thank youAnother angle based priv study's directory objects. Read and write access to a directory object is necessary so UTL_FILE work. If some patterns have a write access to the directory objects, can create files.
A schema that has the priv to create any directory has full access to create any necessary directory object.
This, along with the methods suggested above, will restrict just what patterns have code and the privs required to use UTL_FILE successfully.
If the code has been dynamic PL/SQL (an anonymous block), then who does identify actual code executed UTL_FILE, very difficult.
-
Identify a tablespace that is not used in the database
Hello
How to find the tablespace that is not assigned to any user? Note that I have a table partition in which there is table space where the records will be placed in the future based on the requirement on this partition table. I gave the unlimited tablespace on these tablespace privilege for the user. How to find storage space that is not used at any time in the database?
Kind regards
007007 wrote:
HelloHow to find the tablespace that is not assigned to any user? Note that I have a table partition in which there is table space where the records will be placed in the future based on the requirement on this partition table. I gave the unlimited tablespace on these tablespace privilege for the user. How to find storage space that is not used at any time in the database?
Kind regards
007
According to my understanding of your question
To check the quota on the tablespace use query below:
SELECT * FROM dba_ts_quotas WHERE username = "XXXX";
to check the default tablespace use the following query:
Select USER_USERS from dba_users where username = 'XXXX '.
How to find storage space that is not used at any time in the database?
Use view dba_data_files for space used for the tablespace.
I hope this help you
Neeraj-
Published by: Virginia October 22, 2011 14:35
-
Synonym does public get used by the database engine in the schema of the owner?
I have database public synonym 'P' and "S.P" table (in the "S" pattern).
If my article references select array/object 'P' (without prefix-schema for the table), then there is no reference to the table ("S.P') or that it references a synonym ("P")?
I understand that if my select query is executed in the session/connection made with schema/user "S", then the database engine does not at all synonymous, it will immediately table 'S.P. Is this right?
Can you just confirm my understanding, maybe I'm wrong.
(Oracle 10g, Windows OS)Fix. There is a certain order regarding name resolution.
If I remember correctly then it searches first for the current schema objects (tables, views, procedures, etc.), then for private synonyms, then public synonyms.
I get a bit more complex if you have a schema that is also the name of a package for example.
For more information, see: http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/general008.htm
Published by: Sven w. December 1, 2010 11:09
-
How to check the database is created in the database of node 2 RAC
Hi all
Please allow questions maybe too obvious. I'm not familiar with RAC and ASM.
virtual box (Windows 7)
2 built nodes on Linux 6.1 Windows 64-bit virtual machine.
11.2.0.3 software grid & database.
One of DB name is demo
Node1 (demo1)
Node2 (demo2)
1. I installed the 11.2.0.3 grid software and set up ASM with her. The installation seems to succeed.
I am able to use view state using crsctl (see the log)
2. I installed the database software and you want to create a database (demo) by default. the software from 95%, but not able to realized the dbca.
I see that the asm_pmon is running, but not able to see the process of demo db. I think at this point, I don't have my demo of database has been created yet.
Yes, question
1: is the database created?
2. I try to use dbca to create my demo db, but at the stage of creation of the 'copy of the database files' - she complaint ORA-03114: not connected to ORACLE
???? What? What oracle server trying to connect?
3. If the database is created, how to start the database, in particular it has 2 instances (demo1 and demo2)?
Please advise!
Thank you very much!
[grid@demo1 ~] $ crsctl stat res t
--------------------------------------------------------------------------------
TARGET STATE SERVER STATE_DETAILS NAME
--------------------------------------------------------------------------------
Local resources
--------------------------------------------------------------------------------
ORA. DATA.dg
Demo1 ONLINE
Demo2 online
ORA. LISTENER.lsnr
Demo1 ONLINE
Demo2 online
ORA.asm
Demo1 Started online
Demo2 Started ONLINE
ORA. GSD
In offline mode offline demo1
Demo2 offline offline
ORA.net1.Network
Demo1 ONLINE
Demo2 online
ORA.ons
Demo1 ONLINE
Demo2 online
--------------------------------------------------------------------------------
Cluster resources
--------------------------------------------------------------------------------
ORA. LISTENER_SCAN1. LSNR
1 demo1 ONLINE
ORA.demo1.VIP
1 demo1 ONLINE
ORA.demo2.VIP
1 demo2 online
ORA. CVU
1 demo1 ONLINE
ORA. OC4J
1 demo1 ONLINE
ORA.scan1.VIP
1 demo1 ONLINE
Published by: 969880 on November 13, 2012 14:181. What is sure, is that your database is not registered in OCR because there are missing elements in crsctl stat res t exit for database instances.
2. default DBCA trying to restore an RMAN backup to create a database. DBCA probably also try to connect to the new instance of the database to run scripts.
3. you must use:srvctl start database -d demo
This should start all database instances.
But first try to check the DBCA logs that should be under $ORACLE_HOME/cfgtoollogs/dbca and to correct related errors.
-
Not used in the database tablespace
Hello
I want to find the list of the tablespace in my database which is not used at any time. I have listed below the scenarios where I must avoid these tablespace
1. I have a tablespaces in my database in which my application creates indexes at runtime and it falls. I need avoid these tablespace.
2. each user can have a separate UNTOTABLESPACE. I need avoid these tablespace in my query.
I use the query now to find the list of the tablespace that is not in my database below. But my query below does not satisfy the two conditions above.
SELECT NAME UNUSED_TABLESPACE
V $ tablespace
WHERE NAME NOT IN (SELECT USER_USERS
FROM dba_users)
AND NAME NOT IN ('UNDOTBS1")
AND NAME NOT IN (SELECT tablespace_name
OF dba_ts_quotas)
AND NAME NOT IN (SELECT tablespace_name
FROM dba_segments)
AND NAME NOT IN (SELECT temporary_tablespace
FROM dba_users)
Kind regards
0071 if you have Diagnostic Pack license that you can try to use DBA_HIST_TBSPC_SPACE_USAGE, but it has only a dozen days of history. See http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_3195.htm#I1023456.
2. an Oracle user cannot use a specific UNDO tablespace: a user can only use a specific permanent tablespace or a specific temporary tablespace.
-
Calculate the space used in the database!
Hi all
I can calculate the space used by using one of the following ways:
1. determine the size allocated by issuing
SELECT SUM(d.bytes/1024/1024/1024)
FROM dba_data_files;
2 calculate the free space by issuing
SELECT SUM(bytes/1024/1024/1024)
from dba_free_space;
Space used will be the value of the first statement - value of the second statement. This is manually!
Is it possible to combine these two queries?
Thank you!
Dan.You can certainly combine queries
SELECT (allocated.bytes - free.bytes )/1024/1024/1024 used_gb FROM (select sum(bytes) bytes from dba_data_files) allocated, (select sum(bytes) bytes from dba_free_space) free
Normally, you could group tablespace as well.
But if you want just the amount of space used, it is probably easier to just
SELECT sum(bytes)/1024/1024/1024 used_gb FROM dba_segments
Justin
-
What is better to use the database or persistence.
Hello friends,
I have a doubt in relation to the use of the database and persistence.
I'm working on an application based on OS_v5.0, I use a database to store my data or persistence.
While it will be better to use as prospect of memory and speed.
Thank you
There is no right answer here. Include critical factors
(a) the data structure - is that he opposes or ranks
(b) the size of the data,
(c) how the data should be used
(d) what coding effort, you are willing to put in.
You must weigh all these factors before making a decision.
Maybe you can give some pointers in each of these areas and we can suggest how we were?
-
With regard to the size of the database
Hi all
Sorry for the interruption of you and your time for the clarification.
The size of my database is:
Select sum (bytes) / 1024/1024 of dba_data_files;
SUM (BYTES) / 1024/1024
--------------------
19035.0938
The size used is:
Select sum (bytes) / 1024/1024 in dba_segments;
SUM (BYTES) / 1024/1024
--------------------
5488.22656
Free size is:
Select sum (bytes) / 1024/1024 dba_free_space;
SUM (BYTES) / 1024/1024
--------------------
13890.1016
When I take plenty of RMAN backup I found the size almost 2304 MB (but in dba_segments his ~ 5488), my doubt is how to remove the higherwatermark (HWM) so that I can get exactly space used by database (excluding higher watermark).
Thank you in advance,The SMALLEST_SIZE_POSS column will be the exact size used in the database.
The column CURRENT_SIZE is allocated size.SET VERIFY OFF
COL NOM_TABLESPACE FORMAT A20
COL FILE_NAME FORMAT A60 WORD_WRAPPED
COL MORE SMALL FORMAT 999 990 TOPIC "SMALLER | SIZE | POSS."
COL CURRSIZE FORMAT 999 990 HEADING ' CURRENT | SIZE '.
COL OF SAVING FORMAT 999 990 TOPIC "POSS | SAVINGS. "
BREAK THE REPORT
SUM OF CALCULATION OF THE SAVINGS ON THE REPORT
CALCULATE THE SUM OF THE SMALLEST REPORT
CALCULATION AMOUNT REPORT CURRSIZE
VALUE OF COL NEW_VAL BLKSIZEVALUE SELECT FROM V$ PARAMETER WHERE NAME = 'db_block_size.
/SELECT A.TABLESPACE_NAME, A.FILE_ID, FILE_NAME,
CEIL ((NVL(HWM,1) * & BLKSIZE) / 1024/1024) SMALLER.
CEIL (BLOCKS * & BLKSIZE/1024/1024) CURRSIZE,.
CEIL (BLOCKS * & BLKSIZE/1024/1024).
CEIL ((NVL(HWM,1) * & BLKSIZE) / 1024/1024) SAVINGS
FROM DBA_DATA_FILES,.
(SELECT FILE_ID, MAX (BLOCK_ID + BLOCKS - 1) LET HIGH WATER
FROM DBA_EXTENTS
FILE_ID GROUP) B
WHERE A.FILE_ID = B.FILE_ID (+)
/ -
Convert the database to 10 v to v11
Hello
I'm unable to convert and merge a v10.1 v11 user database. I made a backup of Usrcomp_S.usr to another folder in Windows then used the merger of Multisim and Ultiboard and conversion tools. Here are the steps I followed:
1 tools > Database > convert database...
2. Select Source in the dialog context database names.
3. navigate to the database using the Windows dialog box. Select my copy of database using "All Files." Curiously he is not using the default filter. Select OK and then the following error:
The path of the database: "database\UsrComp_S.usr" was not found or not set.
You want to select the path where the database of component?4. Select Yes then select my now visible database of the dialog Windows.
5. press start to convert my database to aid auto rename. Briefly, something happens that seems to be the conversion and the window convert watch Done
6. close the convert and open tools > database > merge a database...
7. Select a name of the component database
8. Repeat step 3 above. The allegedly converted database is still not visible but this time there is no option to "All Files." In the file name drop-down box I choose the path previously used for the database copy. Select open and receive the following error message:
The path of the database: "database\UsrComp_S.usr" was not found or not set.
You want to select the path where the database of component?9. Select Yes then select my now visible database of the dialog Windows.
10. press on open and receive the following error message:
Error: Could not open the database [user data].
The file format/version does not, and cannot be merged.
If the database is from a previous version, use convert the database.Help, please. This should be a simple process of a button to import parts of the user of a previous version.
Richard
Hi Richard,
I think you are trying to convert the incorrect database. From the name you specified (Usrcomp_S.usr), it's just a CDS model uses to create a user database, it is not your user database.
On Windows XP, the user database is located in C:\Documents and Settings\
\Application Data\National Instruments\Circuit Design Suite\11.0\database\ On Windows Vista/7, the user database is located in C:\Users\
\AppData\Roaming\National Instruments\11.0\database\ -
Calculation of the size of the database.
Salvation of DBA. Which is exactly the way to calculate the size of the database? Is it calculate the sum of the sizes of the segments or the calculation of the sum of the sizes of the redo logs, data files, control files?
You please suggest the correct answer
Thank you
As usual: depends: do you need to calculate the size allocated on storage, you simply go to the current size of the file dba_data_files bytes column data. If you need the storage used the sum of dba_segments fits better. If you need the size of all files used for the database, you must add the controlfiles, newspapers and db_recovery_file_dest_size files.
-
Hello
the FSCM 91, on Win 2008, 8.52 tools, Oracle 11g DB.
If an index is created, not in the designer application (but in SQLPLUS for example) it would be PeopleSoft when navigation or execution of a batch by the process scheduler?
In other words the PeoplSoft indices must absolutely be created in application designer?
Thank you and best regards.
AFAIK PeopleSoft not explicitly use optimizers in SQL as referring to specific indices.
Indexes are used by the database (Oracle) when sql is running.
All objects, you can create the application designer, should also be created in the application designer.
That are part of the metadata PeopleTools and, therefore, you can add these items, also the indexes, projects and migrate into other environments using application designer.
Halin
-
Cannot find the HDL Interface node
I have MyRio and LabView 2014 with all modules installed and updated to date.
Xilinx 2014 is also installed and I can compile for FPGA.
However, in the block diagram I find interface HDL node for the import of VHDL code. As see you in the second screenshot.
How can I solve this problem?
There are no node integration IP in 2014 of LabView. Use instead the HDL Interface Node.
Yes I used the HDL Interface Node and it has worked very well.
Maybe you are looking for
-
After the update to the current version of Firefox images do not give what cut and pasted into word documents. This problem occurs in a range of Web sites, and does not have a restriction on the material being cut and pasted.
-
Re: Toshiba Power Saver fatal error. Code 0 x 0
Hi all I recently received this new notebook Tecra M10 (model PTMB0A - 00M 001) replace my laptop to existing business. It came loaded with Windows XP and built by the standard portable computer generation. It works fine except that at startup I get
-
Original location in a corrected image (using calibration data)
Hello I use the tool of vision to correct the distortion in images.I do not use the model grid point let the software generate the calibration sheet, but rather use a set of points (which I can define precisely in the distorted image) and provide the
-
Error "missing or undetected print cartridges.
This became apparent today, after working fine yesterday. I used: pull and re - insert boot downwards and upwards, open and close door firmly, change both cartridges but it still does not show this. Help, please.
-
I have a HP Pavilion dv7tSlctEditionEntertainment Notebook PC, System 144 b, product ID WW191AV, CPU: Intel i5 M460 @2.53 GHz, 8192 MB RAM, with a defunct 640 GB 7200 RPM HARD drive is identified as WW201AV. I would like to replace the HARD drive, po