Oracle 11g memory usage request
Hi guys,.
Version: 11.0.2.4
Platform: HP - UX
I have a server with 10 GB physical memory game and Memory_Target and Memory_Max to 2g.
Understand that this memory_target consists of SGA and PGA.
With memory_target set to 2 GB, Oracle may use the > 2 GB?
In my view, it is possible to use 2 GB > PGA is not a strict limit.
If this is the case, how to find the total memory (sga + pga) used by the Oracle database?
Thank you
Vinod Nagpure wrote:
Oracle cannot exceed MEMORY_MAX_TARGET. Your target max is 2 GB, so it can use more than 2 GB. This is a combined limit for SGA + PGA.
Kind regards
Vinod
We have NO control on no tunable pga memory, then Yes, you can exceed MEMORY_MAX_TARGET
Take a look on: https://asktom.oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:2054116400346220697
@1037975 if this is the case, how can I find the total memory (sga + pga) used by the Oracle database?
You can use the following queries:
Total memory occupied by Instance (SGA + PGA)
--------------
Select sum (bytes) / 1024/1024 MB of (select bytes from v$ sgastat union select v byte value $ s sesstat, v$ statname n where n.STATISTIC # = s.STATISTIC # and n.name = "pga session in memory");
Process memory (memory of individual processes)
---------------
Select a.sid, value /(1024*1024), program v session $ a, v$ sesstat b where a.sid = select and b.statistic #= ("select statistic # v $ statname where name = ' pga session in memory");
Kind regards
Suntrupth
Tags: Database
Similar Questions
-
Oracle 11g unpivot help request
Hello
I have a single line of data showing the re-entry of the duration and end dates in 2011/12. I need to convert this one line of data (containing 16 columns) in 5 rows consisting of only 4 columns (year, term, term_start term_end).
Is it possible to use just Oracle 11 g unpivot function_ to convert 16 columns of the following data:
Select * from
(select 2012 as terms_year,
1 as a T1,'05-AUG-2011' as T1_SD, October 21, 2011 "as T1_ED,
2 as T2, October 31, 2011"as T2_SD, 16 December 2011 ' as T2_ED.
3 as T3, 3 January 2012 'as T3_SD', February 10, 2012 as T3_ED.
"4 as T4, 20 February 2012 ' as T4_SD, 30 April 2012" as T4_ED.
5 as T5, 16 April 2012 'as T5_SD', June 1, 2012 as T5_ED
the double) mytable
aka
in the following 4 columns of data (year, term, term_start term_end):TERMS_YEAR T1 T1_SD T1_ED T2 T2_SD T2_ED T3 T3_SD T3_ED T4 T4_SD T4_ED T5 T5_SD T5_ED ---------------------- ---------------------- ----------- ----------- ---------------------- ----------- ----------- ---------------------- ----------- ----------- ---------------------- ----------- ----------- ---------------------- ----------- ----------- 2012 1 05-SEP-2011 21-OCT-2011 2 31-OCT-2011 16-DEC-2011 3 03-JAN-2012 10-FEB-2012 4 20-FEB-2012 30-APR-2012 5 16-APR-2012 01-JUN-2012
Select the term, terms_year, t1_ed, t1_sd as term_start as term_end of
(select 2012 as terms_year, 1 as a term, '' 05-AUG-2011 as T1_SD, October 21, 2011 ' like T1_ED of all the double union)
"Select 2012 as terms_year, as a term, October 31, 2011 2 ' as T2_SD, 16 December 2011 ' like T2_ED of all the double union
Select 2012 as terms_year, 3 as a term, 3 January 2012 'as T3_SD', February 10, 2012 as T3_ED of all the double union
Select 2012 as terms_year, 4 as term, 20 February 2012 'as T4_SD', April 30, 2012 as T4_ED of all the double union
Select 2012 as terms_year, 5 as term, 16 April 2012 'as T5_SD', June 1, 2012 as double T5_ED) mytable
aka
Much obliged if anyone can show me how - I can't get my head around the pivot/unpivot syntax! For exampleTERMS_YEAR TERM TERM_START TERM_END ---------------------- ---------------------- ----------- ----------- 2012 1 05-SEP-2011 21-OCT-2011 2012 2 31-OCT-2011 16-DEC-2011 2012 3 03-JAN-2012 10-FEB-2012 2012 4 20-FEB-2012 30-APR-2012 2012 5 16-APR-2012 01-JUN-2012
Select *.
FROM MyTable
UNPIVOT)
unpivot_clause
unpivot_for_clause
unpivot_in_clause)
Thank you
TP.Hello
Using SELECT... Function PIVOT:
SELECT terms_year , term , term_start , term_end FROM mytable UNPIVOT ( ( term , term_start , term_end ) FOR num_col IN ( (t1, t1_sd, t1_ed) AS 1 , (t2, t2_sd, t2_ed) AS 2 , (t3, t3_sd, t3_ed) AS 3 , (t4, t4_sd, t4_ed) AS 4 , (t5, t5_sd, t5_ed) AS 5 ) ) ORDER BY terms_year -- If needed , num_col ;
The basic syntax for UNPIVOTing to 1 column (more a column label) is
UNPIVOT ( outcol FOR label IN ( incol_1 AS label_val_1 , incol_2 AS label_val_2 ... , incol_n AS label_val_n ) )
where
outcol is the output column pivoting, which contain values from the original table.
label is a column of the label, which will contain values hardcoded in the application,
incol_1, incol_2,..., incol_n are the columns of the table of origianl to be no dynamic crossroads
label_val_1, label_val_2,..., label_val_n are hard-coded values that will go into the label column.The syntax for pivot of columns of m (m > 1) is how to rotate the 1 column, but
instead of outcol, you give a list separated by commas of outcols m, surrounded by parentheses, and
instead of incol_1, incol_2,... incol_n, you give a list separated by commas of the columns m, between brackets.In addition, store dates in VARCHAR2 columns is not a very good idea. Use the DATE columns.
Published by: Frank Kulash, 16 July 2012 18:11
-
Use of memory in oracle 11g R2
Hi all
I'm using Oracle 11 g 2 on AIX 7.1
In the OEM, the host, in the exercise section, I realized my memeory usage is always > 95%?
What could be the reason? What is my database using 95% of my goal of memory? or is the use of memory to the operating system?
AMM is enabled on my database and it is about 40% of my RAM for operating system.
Should what I do?
Kind regardsWhat is my database using 95% of my goal of memory? or is the use of memory to the operating system?
under the section of the host, the memory usage of its display at the host level.
in my OEM, his watch always 100% because of the bug.
http://oemgc.WordPress.com/2010/10/14/mem-utilization-on-AIX-always-showing-100/
Memory usage always 100% on AIXto get the clear picture, run topas command on OS.
and check below secion
MEMORY Real,MB 12288 % Comp 38 % Noncomp 36 % Client 36
-
memory usage by a process of oracle on sun Solaris
Hello forum,.
I want to track the memory usage by a process of oracle on sun solaris 64-bit SPARC system.
I tried to do it by the command of the PMAC, but I found that the output for each pid (process oracle) is even around 8GB. Please note that the 8 GB is the size of our LMS.
Please let me know the command by which I can check that "how much memory that uses an oracle on Sun Solaris Sparc 64-bit server process.
Thank you
SharadSee http://tech.e2sn.com/oracle/performance/unix-performance-tools/process-memory-matrix
Hemant K Collette
-
Basic parameters of SQL defining in oracle 11g env plan
Hi Experts,
We have recently improved 10 g for the version of database 11g folloing on hardware 'SUN SPARC ENTERPRISE T5440 SERVER'
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE Production 11.2.0.3.0
AMT for Solaris: 11.2.0.3.0 - Production Version
NLSRTL Version 11.2.0.3.0 - Production
Please can you comment on the setting that we set as below.
If you see a problem with this setting.
NAME VALUE ISDEFAULT
FALSE FALSE OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES
optimizer_use_sql_plan_baselines TRUE TRUE
Target memory is set as 0
Memory max target is defined as 49280M
Size max of SGA is defined as 49280M
SGA_target is defined as 44G
PGA_aggregate_target is defined as 4GSo now, when my developers will keep on adding changes, plans will be less than optimal.
Why not optimal? Optimizer generates plan based on statistics. If the statistics are fresh, in most cases the plan will be optimal. But in some cases, for complex queries, plan may be not optimal. In this case, you can manually create fixed plan with outline, profile sql or sql base plan.
As long as you recommend, that I should change the value of the parameter optimizer_capture_sql_plan_baselines to TRUE and must schedule a task that will evaluate and evolve the lines plan basic sql newly captured.
Yes, you can leave data base automatically resolve these issues in this way. In addition, you can use "automatic sql tuning task" that will generate and accept the sql Profiler. But in this case DBA can lose control of what's going on. Bad plan may be caused by an error of the developer. The best way is to test each change in the QA system before it will be applied on production.
Another question. Since I updated memory_target zero and set parameters of the SGA to a zero, I think I do not allow Oracle to decide what is the best setting it shoud choose automatically. You are recommended to set all the parameters of the SGA to zero and the MEMORY_TARGET value to a non zero value? current setting is as below.
Target memory is set as 0
Memory max target is defined as 49280M
Size max of SGA is defined as 49280M
SGA_target is defined as 44G
PGA_aggregate_target is defined as 4GIt depends on the workload, amount of the session. For example, if consuption pga and sga is constant, there is no need to follow to the memory usage, therefore, you can use sga_target and pga_aggregate_target. If the workload varies during the day, requiring more sga the morning and less time use memory_target order to always use all the memory. If you want to limit the total PGA in order to have still large SGA, use not memory_target. For example, by default a session cannot use more than 200 MB of pga. Seen 100 simultaneous sessions requiring a great pga database can use up to 20 GB of memory that will be used on the buffer cache, causing the performance impact.
-
Memory usage (%) vs. free memory (%)
Hello
Why is - this grid control has 2 parameters to measure the host memory usage? What is the difference?
should I have them both? :/user9182826 wrote:
rp0428 wrote:
You have not yet provided the information request
>
Be more specific on what you look at.
>
What measures are you talking about and what is the reference of the doc for them you use?grid has 2 parameters that are a bit confused, 1 use of memory (%) and 2 of free memory (%), if we shouldn't be sufficient? I dnt undretsand the need for these two. maybe im missing the point
Thank you
for many or most * systems NIX running Oracle RDBMS, the operating system to work normally with less than 5% free RAM; regardless of the total RAM.
-
creeping memory usage when you use NEITHER-9477
Hi, I write output digital (4 outputs line, on request, 10 updates per second) in a loop using the DAQ assistant. When I use a NOR-9477 as the device output application use memory increases about 10 MB for 15 minutes and will eventually run out of memory.
If I use a USB6009 as the output device, the memory usage is stable. Same code is used, the only difference is the physical channel.
Any suggestions as to what might cause this behavior?
Thanks for the tip Ravensfan.
To distill the code down for the most part, one of the two VI is leaks memory - the NOR-9477 one. The other not...
In any case, the solution to my problem is to convert the express VI DAQmx code.
-
Oracle 11g Database Scripts necessary analysis
Hi all
I don't have access to the Console EM Oracle.
I know that without having access to it I can always monitor DB activities and health checks like memory usage, work of long-running queries, use of the CPU etc.
Please you can help by telling me how to do it. (By some sql scripts or methods using SqlDeveloper feature will do also).
Thank you
Vishwamber Shetty
> I'm looking for using GOOGLE
I don't know why you don't not found db administration of Google scripts, but when I said "oracle database administration scripts" on Google, I found great sources such as:
http://www.Oracle-base.com/DBA/scripts.php
http://gavinsoorma.com/category/scripts/
http://www.dbatoolz.com/SQL-scripts
and many others. You will need to download these scripts. Most of them is made for Linux environment. If you want to learn and to test them, just create databases for each source test according to the mentioned Oracle version and you did. I would strongly suggest to have a separate database for each source to better test and learn.
In addition, some sites of books provide too good scripts. These scripts are code in action of their examples of books.
Concerning
Girish Sharma
-
a search tool similar to google search suggestions for forms of oracle 11g
Nice day
I was wondering if there is a tool/plugin that would be something like google for a field search suggestions show on oracle 11g. He looking for a column in the database. The thing is, I have a column where new fields should be added each year, where they do not exist. It's a little complicated and tedious to search if the field exists manually, a tool that would give suggestions when writing a keyword would be really useful.
If this is not possible, I would really appreciate all the advice I could get on how to make it easier for the user to look for already existing data
Thank you
Published by: 974565 on January 21, 2013 01:21Unfortunately, I can't tell much more about this bean that I pulled out a long time ago, and my memory is not as good as it was ;-)
I don't even know if this bean is able to insert a word just typed by the user...But, as all the material on the site of Java Bean is free, you are also free to find a Java developer who could improve the existing code.
François
-
Implementation services for oracle 11g manual
If I had to define oracle services to start manually is there a specific order in which oracle services must be turned on as oracleServiceORCL first, then oracleOradb11g_home2_TNSLISTENER? I set the services to start manually and when I SPEAR oracleServiceORCL remains at about ~ 47 MB of memory, TNS listener won't turn on and I can't use OEM.
When the services are set to automatic, I can use OEM however my pc startup time is like 3 minutes :).
Windows 7 Ultimate x 64, 4 GB
Oracle 11g R2, enterprise editionis there a specific order in which oracle services should be lit as oracleServiceORCL first, then oracleOradb11g_home2_TNSLISTENER?
YES, you should start LISTENER first and then the database Service.
If this answers your question, please mark this answer as Correct and mark this question as answered.
Thank you very much.
-
Oracle 10.2 on Windows.
Is it possible to inspect the actual memory usage? The Task Manager Windows just says: xxx.xxx oracle.exe K
Thank you
StephanStephan van Hoof says:
Oracle 10.2 on Windows.Is it possible to inspect the actual memory usage? The Task Manager Windows just says: xxx.xxx oracle.exe K
Thank you
StephanIn windows, all oracle running oracle under a wire process system which, according to its own ORACLE_SID (OracleServiceYourDB). And it gives you total exactly use of the memory of the instance. But if you want to that session and which exploit the quantity of memory then you must use (join) session $ v , v$ sesstat , v process $
performance views. -
Oracle 11g no network client machine connects.
Oracle 11g was installed on windows server 2003.
ORA-12514: TNS:listener is not currently of service requested in connect descriptor . _
We receive oracle above except when you give the following command:
LSNRCTL > services oracle11g_listener
Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = CBR-SRV-HPORA. CIBER-INDIA. (IN) (PORT = 1522)))
_ The listener supports no services
The command completed successfully.
--------------------------------------------------------------
C:\Documents and Settings\oracle > sqlplus scott/tiger@oracle11g_netservice
SQL * more: Production release 11.2.0.1.0 Wed Jul 28 18:10:40 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR:
ORA-12514: TNS:listener is not currently of service requested in connect
descriptor of
--------------------------------------------------------------
Please advice what could be the problem.
Thank you.Your Lstener knows nothing about services. You must configure the dynamic record of service in your database, for example
ALTER system set local_listener = "(DESCRIPTION = (ADDRESS =(PROTOCOL=TCP) (HOST = CBR-SRV-HPORA. CIBER-INDIA. IN) (PORT = 1522))) ';
(for permanent fixing forget pfile or spfile)
After the database records the address und thie services you will see the service when you ask "srvctl services oracle11g_listener.
Kind regards
Dojo -
How clearup unsuccessful installing oracle 11g R2 on redhat linux 5
Hello world
Try to install oracle 11g R2 on the test server Red Hat linux 5 (according to the quick installation guide), I did the following tests:
trial (1): failed by giving the file not found error. I discovered that I need to I have unzipped the source files in a dir.
(2) trial: failed because there is no static IP address
trial (3): failed because that/etc/hosts was not set correctly.
the installation was supposed to be in default dir/home/oracle/app
the problem is that before every test I just renamed app app_old and once again the new installation with the default settings.
I have now to clearup this whole mess, I know this isn't simply deleting the directory created, because I need to free the RAM memory reserved for the crteated of databases in all previous installations.
Help please,
Thanks for your timeHi Alain;
Similar topic discussed here before. Please check:
Uninstall db Oracle 11 g r1 OS linux 5
Uninstall db Oracle 11 g r1 OS linux 5How do I uninstall datbase 11g
How do I uninstall datbase 11gRespect of
HELIOS -
Memory usage of Firefox flies away and crashes despite Reset etc.
I use Windows Vista and recently, after he tried to update Java and Adobe plugins for Firefox browser last shot every time I use Firefox any open what really but especially if a video is open the memory usage keeps climbing and does not stop. Firefox crashes almost everytime. I tried the Reset, I tried to turn off and so on several plugins and others, and nothing has changed, but that the memory usage can climb higher and avoid crashing anymore. The fundamental problem of the memory usage crazy not stopped nor slowed down.
It starts at an average use 200 k to 300 k, which was normal, except if he had run for hours or playback of videos for hours could go up to 800 k. For now, thirty minute walk with no video and four tabs is 1 300, 000 k. I don't know what does. I'll try to uninstall adobe and then use an earlier version but I have done so many things at this point, I'm curious to know who else has this problem. I have not tested the safemode, but despite everything I need a lot of these add-ons to what I use my browser for. I do not understand why the use of memory keeps climbing even when I do nothing. I run a system scan for virus etc, nothing. I know that I have an older video, its pilots updated card and I tried to turn on the option acceleration on and out also. Why Firefox would continue eating memory?
The crash of the reports I receive look like this:
BP-7cf4e751-66dB-49fc-8a05-083132130814
BP-b680d967-eee5-44a7-a5e0-c1f422130814
BP-5b457653-8B58-4ee0-80cc-32fe82130814
BP-304b8b40-d4e5-4F36-AF10-de58e2130814Thanks to anyone who can help!
Three of the four crash reports indicate a correlation with the Ghostery extension. The precise cause seems to be indeterminate. Can you make an exception for the video sites and see that allows, or try turning it off for 24 hours?
-
Extremely high after upgrade to Firefox 12 memory usage
After I've upgraded to Firefox 12, I started frequently affected by hot air balloon Firefox memory usage extremely high (2-3 GB after a few minutes of navigation) light. Sometimes it will fall back down to a more reasonable level (a few hundreds of MB), sometimes it crashes (probably trying to garbage collect everything), and sometimes it crashes. Usually the thread crash cannot be determined, but when it's possible, it's in the garbage collection code ( https://crash-stats.mozilla.com/repor.../list?signature=js%3A%3Agc%3A%3AMarkChildren%28JSTracer * %2 js C + % 3A % 3Atypes % 3A % 3ATypeObject * 29% ).
I managed to capture a subject: report memory when Firefox had about 1.5 GB and have attached an image.
A couple of things I've tried. I have a lot of tabs open (although don't load it the tabs until the selected option is enabled), so I copied my profile, all kept my extensions enabled, but all my tabs closed. I then left an open page http://news.google.com/ and it worked very well for several days, while my original profile goes down several times a day.
I also tried to disable most of my extensions, leaving the following extensions that I refuse to sail without:
Adblock more
BetterPrivacy
NoScript
PasswordMaker
Views
Priv3However, the problem still happens in this case.
Don't know if this helps or not. I'm looking forward to trying Firefox 13 when it comes out.
Never knew what was causing the problem, but have disappeared since the upgrade to Firefox 13, accidents and memory pathological use.
Maybe you are looking for
-
Recently re-installed Win7 and Mozilla. I took care to uncheck the boxes for install Yahoo on other software. How can I get rid of yahoo search when I open a new tab? My home page opens with what I put it, like Google. Here is a copy of the URL. http
-
I have my Apple ID on 3 phones
I have my Apple ID on 3 phones, my wife and my twin sons. They all receive the same messages, calls etc. If I delete my ID of each of the phones to my son my wife will lose all its information, pictures, contacts, etc., or will they simply deleted th
-
Satego X 200-Bootfailure Intel PXE Boot Agent
Hello! When I start my laptop, an error message will appear like this:"Intel UNDI, PXE - 2.0 (build 082)Copyright (c) 1997-2000 Intel Corporation For Realtek RTL8139(A/B/C)/RTL8130 PCI Fast Ethernet Controller v2.12 (010425)PXE - E61: Media test fail
-
Why it takes so long for windows to do updates on computer, for moments it took 2 days to make a 2 2 download card.
-
On the activation of windows after you have installed windows 8.1 media creation tool.
I have windows 7 ultimate which is activated. If I upgrade to / install windows 8.1 via the media authoring tool, will I need another activation code or it will be automatically turned on?