shared pool of pinned objects
How do I know what objects are already pinned in the shared pool? TXIndra Budiantho wrote:
How do I know what objects are already pinned in the shared pool? TX
http://www.lmgtfy.com/?q=Oracle+how+to+know+which+objects+are+already+pinned+in+the+shared+pool
Tags: Database
Similar Questions
-
kept in the shared pool.
How I see the objects kept in the shared pool.by query v$ dbobject_cache; _
OWNER VARCHAR2 (64)
NAME VARCHAR2 (1000)
DB_LINK VARCHAR2 (64)
NAMESPACE VARCHAR2 (28)
TYPE VARCHAR2 (28)
NUMBER OF SHARABLE_MEM
NUMBER OF LOADS
NUMBER OF EXECUTIONS
NUMBER OF LOCKS
NUMBER OF PINS
KEPT VARCHAR2 (3)
NUMBER OF CHILD_LATCH
NUMBER OF RADIATION -
Hi all)
can I use INVALIDHTOMEH packaze hold table in the shared pool?
http://www.orafaq.com/wiki/Pin_Objects_in_the_Shared_Pool
or how keep in the table of a very intensive use of memory?Hello
If you want a chart updated in cache, you just (re) set with the keyword CACHE. INVALIDHTOMEH package is to pin (unpinning) code, not data.
Best regards
Nikolai -
Jin
After rinsing too... the cursor is in the cache, the DUNGEON = yes why?SQL> select name,EXECUTIONS,LOADS,KEPT from v$db_object_cache where name like 'SELECT ILM.LOT_NO,%'; no rows selected SQL> exec sys.dbms_shared_pool.keep('000000014CB9DF80,2394348287','C'); PL/SQL procedure successfully completed. SQL> select name,EXECUTIONS,LOADS,KEPT from v$db_object_cache where name like 'SELECT ILM.LOT_NO,%'; NAME EXECUTIONS LOADS KEP ---------------------------------------------------------------------- ---------- ---------- --- SELECT ILM.LOT_NO, IIM.ITEM_NO, IIM.ITEM_ID, IIM.ITEM_DESC1, ILM.LOT_I 1 1 YES SQL> alter system flush buffer_cache; System altered. SQL> select name,EXECUTIONS,LOADS,KEPT from v$db_object_cache where name like 'SELECT ILM.LOT_NO,%'; NAME EXECUTIONS LOADS KEP ---------------------------------------------------------------------- ---------- ---------- --- SELECT ILM.LOT_NO, IIM.ITEM_NO, IIM.ITEM_ID, IIM.ITEM_DESC1, ILM.LOT_I 1 1 YES
Thank you
Baskar.lYes.
See my first response:
CLEAR the SHARED POOL does not empty objects that are "kept" with INVALIDHTOMEH. KEEP. You must 'unkeep"them with INVALIDHTOMEH. UNKEEP if you want to allow them to be flushed by the FLUSH SHARED POOL.
Hemant K Collette
-
Dear team,
We have for instance R12.
DB - 11.2.0.3
12.1.2 - application
in this concurrent instance depressed frequently when checking of log file showing the error as
List of errors encountered:
.............................................................................
_ 1 _
Systematic FDPCRQ met an ORACLE error. ORA-04031: unable to
allocate 32 bytes of shared memory ('shared pool'.
Check your error messages for the cause of the error. (= < POINTER >)
.............................................................................
APP-FND-01388: cannot read the value for the profile FND_MGR_STRTUP_THRES_TIME option in the routine, and routine.
List of errors encountered:
.............................................................................
_ 1 _
Routine AFPCAL has received the code of failure while running or analysis of your
simultaneous program CPMGR
Examine your log file of concurrent application for more information.
Make sure that you pass arguments in the correct format.
Post: WARNING: mail_queue_enter: create file maildrop / 379309.437: permission denied
Please guide me to solve this problem.
Concerning
Kumar V
Dear Kumar,
I suggest you to check the FND_NODES table
1) connect to SQLPLUS as the APPS user and execute the following statement:
Select CONCURRENT_QUEUE_NAME in the FND_CONCURRENT_QUEUES where CONCURRENT_QUEUE_NAME like '% FNDSM ';
(2) If you have found that FND_NODES table with entries incorrect node (old node from the Source Instance), and then run the query to clean below
EXEC FND_CONC_CLONE. SETUP_CLEAN;
COMMIT;(3) then run AutoConfig on all stages, firstly on the DB layer then APPS and webtiers levels to repopulate the necessary system tables,
and make sure that you are now able to see the correct entries in the FND_NODES table and start the application services.
Kind regards
S27
-
Hello everyone,
Oracle version: 12.1.0.1.0 - 64 bit
OS: Linux Fedora Core 17 X86_64
Description of the problem:
I'm reading an interesting book of online oracle named: SQL in PL/SQL
On page 11, it reads the following:
In the absence of a compilation error, the PL/SQL compiler generates an equivalent statement of SQL regular text and stores this with the generated machine code. This instruction uses placeholders where the embedded SQL statement uses identifiers that have been resolved in the PL/SQL unit.
What I understand of this (please, correct me if I'm wrong) is that whenever I write some static/embedded statement SQL within a PL/SQL block in which there are a few local variables in PL/SQL, and then final generated SQL statement (after resolution of identifier) will include placeholders (bind variables) instead of these identifiers the PL/SQL.
I just wanted to see this in practice, so I made the following test:
Test case:
SQL> connect / as sysdba SQL> alter system flush shared_pool system altered
So, normally, after execution of the foregoing the shared_pool on my development environment is now empty.
And then I run the following PL/SQL block
<<b>> declare depid hr.employees.department_id%type := 100; cnt pls_integer := 0; begin select count(*) into b.cnt from hr.employees t1 where t1.department_id = b.depid; end; / -- -- column sql_id new_value sqlid_saved; -- select v1.sql_id from v$sql v1 where v1.sql_text like '%t1.department_id = b.depid%'; -- -- select v1.sql_text from v$sql v1 where v1.sql_id = '&sqlid_saved';
And the result was:
SQL_ID
-------------
687dxvsmrwm9z
g17tjb3f8t94y6 old: v1.sql_id = "& sqlid_saved"
6 new: v1.sql_id = "g17tjb3f8t94y".SQL_TEXT
--------------------------------------------------------------------------------
< < b > > declare depid hr.employees.department_id%type: = 100; CNT pls_in
SEB: = 0; Start select count (*) in b.cnt of
T1 hr. Employees where t1.department_id = b.depid; end;
SQL >What I don't understand is the main part of the SQL_TEXT I put in red.
Instead of
T1.department_id = b.depid
I expected to see something like
T1.department_id = : B
In other words, some bind variable, because depid is a local variable inside my PL/SQL block used in integrated/static SQL statement, so it must be converted to a reserved space in the shared pool instead of the original identifier.
You kindly could you tell me what I misunderstood?
Thanks in advance
> But once again no variable binding in the stored/parsed SQL statement. That's what I don't understand.
Submitted by PL/SQL SQL is "normalized", which includes (among other things) convert uppercase. Your query on v$ sql is looking for '% hr.employees% '.
-
Problem with pinned objects objects/non-epingles on the same page
I have a vertical menu on my website that appears on every page; It is attached on the upper left corner. On many pages of my site, I pinned objects (images, text, etc.) adjacent to the menu PIN. Almost all the scrolling on my Web site is parallax scrolling (horizontal or vertical). I'm running into a problem where, depending on the size of the browser window, not pinned ojbects overlap the menu PIN. The positioning of objects on the page seems to depend on whether or not the pinned object; I guess my question is possible to the objects of the PIN over another? I want the menu to stay no scrolling, but I want to make sure my non pinned objects passing never cross / overlap of the menu because it looks so sloppy. The question arises when the browser window is too small, but again, I want to make sure this will never happen anyone who is looking at my site. The first photo, this is how it should look like (what it looks like when the browser window is large), the second photo is the problem that I'm trying to fix.
Just read here:
-
question related to the shared pool
Hi Experts,
Version of DB - Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
OS - Windows 7
(installed on my laptop)
Just started reading concepts DBA. I had a few questions. Please explain indetail/short ;-).
(1) can we see the size of the Cache of the library and Cache data dictionary which are internal units of the Shared pool.
(2) one of the advantages of the package is - when we invoke a single method, oracle loads the whole package into the buffer and for subsequent calls, it will not go to the db files. Here the buffer means library Cache. My understanding is correct.
(3) I am able to see the two parameters shared_pool_size(value =0), shared_pool_reserved_size (value 15099494) to parameter v$. What is the difference between these two parameters.
Thank you very much in advance for your help.See you soon,.
Suri ;-)Your questions:
1 Yes, v$ sgastat
2 Yes, if your terminology is a little loose.
3. the parameters described here, content
-
Shared pool for 12 c officer and WHO
Hello world.
According to the documentation, the heap size can be changed by adding the Xms and Xmx entries in the arguments the administration WLS console startup server section. My question is when I do a ps - ef | java grep I see under entry
Middleware/jdk16/jdk/bin/java - Server-Xms256m-Xmx1740m - XX: MaxPermSize = 768M. then look at the shared pool max 1.7 GB. But im not able to find this configuration can someone tell me where this may have been configured?1. If you must change the value for WHO the script startEMServer.sh itself should be updated as this script replaces all the configuration in other locations.
Steps to achieve this are in the above mentioned Doc ID 794165.1.2. There is no recommendation for the agent heap size based on the number of targets. If the size of the heap is less, you would ideally see agent crashes because insufficient memory ' errors in the emagent.nohup file.
-
Shared pool larger than the buffer cache
Hi all
My database is 10.2.0.4 running linux platform
No .of 2 cpu, RAM-2 GB
SGA_TARGET wa set to 1 GB.
Initially the memory have been configured as a shared pool around 300 MB and the buffer cache about 600 MB.
When I questioned the v$ sga_resize_ops views I found some interesting results.
Many operations and growth reduction were happened and the current size of the shared pool is about 600 MB and buffer cache is 300 MB. (this happened during last 1)
I guess that the buffer cache must always be larger than the size compared to a shared pool. My assumption is right?
Is it because of sql code using the do not bind variables resulting in growth shared pool? No relaods and radiation are almost ignored I think it should not be the case.
Also no lock events listd in the top5
I've also seen the 15% of the shared pool is marked as being of kGH:NO ACCESS, which means that the part is used for the cache buffers.
Should I set the lower limit for the shared pool and the buffer cache or can I just ignore it.
Thank you
rajdhanviYou change your question now... your question was that he has sharedpool large size > buffer cache is acceptable... . Check your own second post... for your new question now is why pool continues to increase and partly used as buffer cache... the proof is given by tanel poder y what happens when EAMA is used... For the Kingston general hospital: NO ACCESS means that no one else could touch...
Concerning
Karan -
Hi everyone, I have read that the pool of the shared pool data dictionary has the data dictionary information, but my doubt is if it has only the information of the view V$ or too has the value given in the DBA_ views.
Thank you very much for your help.
Concerninguser12215372 wrote:
Hi everyone, I have read that the pool of the shared pool data dictionary has the data dictionary information, but my doubt is if it has only the information of the view V$ or too has the value given in the DBA_ views.
Thank you very much for your help.
ConcerningDictionary Cache
+ The data dictionary is a collection views and database tables containing the reference information about the database, its structures and its users. Oracle allows access to the dictionary of data frequently during the SQL analysis. This access is essential for the holding of the Oracle. +
The data dictionary is accessible so often by Oracle that two special locations in memory are designated to receive the data from the dictionary. An area is called the data dictionary cache, also known as the cache line because it contains data that the lines instead of tampons (who hold entire blocks of data). The other area in memory to store data dictionary is the library cache. All Oracle user processes share these two caches for access to the data dictionary information.
reference http://docs.oracle.com/cd/B19306_01/server.102/b14220/memory.htm
-
Shared pool error in Oracle 10.1.0.5
Installation: databases 3-node RAC cluster
Version of the OS: RHEL 4.5
DB version: 10.1.0.5
Storage: ASM starts for R/C/D files & archivelogs on SAN box
applications: No. OLTP applications that run on a separate application server
We get the error ORA - 04031 SHARED POOL MEMORY. There are three nodes: ud1 UD2 & node3 each running on RHEL AS4 OS. The sga components are not granted automatically, I mean it's not automated sga tuning or resizing. We put each CMS component manuallay when required. All r/c/d files are stored on ASM starts.
Since yesterday evening, we are facing the issue of MEMORY in the SHARED POOL. Many OLTP applications operate at the front end and the load is more on node3. Due to the saturation of the pool shared it affected applications and the use of the CPU on the application server was close to 90%. But the use of the CPU on each node of the rac has been slightly less than 30%. Customer complained about slow performance of applications, and in fact a few user sessions hung up.
What we found in the alerts log is the error ORA-04031 shared pool. Which was casuing the applications and the problem started to work very slowly. For the workaround, we have increased the size of the SHARED_POOL_SIZE parameter as we emptied the shared pool memory. Now, the requests have been working well. I also observed that there are 454 IDLE sessions in the node3. These sessions will have no impact on performance?
But I don't know if it will be fixed for the future as well. But can anyone suggest me how could I approach to solve this problem permanently?
I know that we still use 10.1.0.5 release and also one more thing is that the SWAP space in one of the node is 4 GB short compared to the other two nodes of swap space. I can't post you the logs please. What I've observed and I did have posted here.
Any suggestions will be greatly appreciate. Please take some time to help out me.
Kind regards
Imran khanPL see if the troubleshooting steps in MOS Doc 1088239.1 (master Note for diagnosing the ORA-4031) can help you
HTH
Srini -
Pinned objects do not work on the iPad
I create a site in Muse with the help of pinned objects. Pinned objects run in browsers, but on the iPad is not. Take a look at www.absoluutmedia.nl for the pinned objects. Advice?
Hello
I'll try to post your question in the general forum of Muse: http://forums.adobe.com/community/muse/help_with_using_adobe_muse
The people there are extremely knowledgeable on the Muse, and will help you solve your problem.
Good luck!
-
Hi guys
Our shared pool size is growing constantly. We've had a breakdown when it reaches 2 GB last time. her new growing and now at 1.3 GB.
don't know the reason why he grows too?
Please find below the information.
SGA_TARGET = 6 GB
SGA_MAX_SIZE = 8GB
cpu_count = 6.
I tried a lot of things...
(1) flush the shared_pool - no effect
Not sure if under idea can help us.
If we can change the size of the SGA_TARGET to 7 GB. He is currently 6 GB. and sga_max_size 8 GB.
My query is... Why it's happening... And what we can do... Please send your expert advisor on it. AS SOON AS POSSIBLE.
My setup is...
Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
Let me know if you need more information.Hello
Script below will give you information of memory from the pool of shred.
coil memoryinfo.out
SELECT sum (sharable_mem) "total memory".
, avg (sharable_mem) 'average of memory '.
, count (1) Num_Statements
, sum (executions) "TotExecs".
, substr (sql_text, 1, 100) 'SQL '.
V $ sqlstats
The executions WHERE = 1
GROUP BY substr (sql_text, 1, 100)
HAVING count (1) > 5
ORDER BY DESC 3;spool off
Run the same and download the support of oracle.
Since you are workign with oracle, you can give this thread replied.
Kind regards
Rakesh jayappa -
Hello
Forgive my ignorance, but I have 3 basic questions please:
1. What do these commands:
I found high in a script and confused about this.sql 'alter tablespace test2 offline'; switch tablespace test2 to copy; recover tablespace test2; sql 'alter tablespace test2 online';
2 if I put my memory_taget 3 G and memory_max_target to 3 G, and then I put shared_pool at 50 M, then it means that the shared pool is set at 50 M and cannot exceed by Oracle automatically, if need arises?
3 - I have this line in the RMAN report
What is the meaning of the column TY, LV, S and parts?File Key TY LV S Ckp SCN Ckp Time #Pieces #Copies Compressed Tag ---- ------- - -- - ---------- --------- ------- ------- ---------- --- 1 5 B F A 631092 04-NOV-09 1 1 YES TAG20031104T195949
Thank you for your patience.1. What do these commands:
sql 'alter tablespace test2 offline'; switch tablespace test2 to copy; recover tablespace test2; sql 'alter tablespace test2 online';
I found high in a script and confused about this.
Your code should be like that. In this you move test2 tablespace to a new diskgroup called "+ DATANEW".
backup as copy tablespace test2 format '+DATANEW'; sql 'alter tablespace test2 offline'; switch tablespace test2 to copy; recover tablespace test2; sql 'alter tablespace test2 online';
concerning
2 if I put my memory_taget 3 G and memory_max_target to 3 G, and then I put shared_pool at 50 M, then it means that the shared pool is set at 50 M and cannot exceed by Oracle automatically, if need arises?
No, Oracle would not limit the pool shared 50 m, but use the space of 3G, as appropriate, must be basic. But why together shared pool if low value compared to your total LMS?
concerning
Maybe you are looking for
-
Paint - background in a chart.
When using paint, I want to know how to put a light background in a chart.
-
Windows 7 compatibility with older programs
Only older games of 64-bit Windows 7 run as Links 2003 (Microsoft Golf)?
-
How to reset the password in Windows Mail with Vista
How to reset the password in Windows Mail / Vista?
-
I have a Photosmart Premium all-in-one c310 printer. It will not print black.
I tried changing the cartridge and still no black. I also get an error message when I try to align the cartridges. Nothing special, just alignment cartridge error. Any ideas why my black will not print
-
I installed the version 5.0.3 AppSpace, once installed and registered licenses, entry via the admin web page, but when I deploy the menu administration, I loaded all the options under 'Library' and 'user '. Validate java versions and recommended by A