Chunks of memory

Hello

What follows is all Otracle 11 GR 2 EE RDBMS.

Is someone can explain to me about Linux, the correlation between the result returned from "ipcs-m" and the Oracle RDBMS different pools of memory?

Thank you in advance.

Kind regards

Hello

If you use WMA (MEMORY_TARGET) you won't see the LMS with IPCS but in/dev/SHM

Kind regards

Franck.

Tags: Database

Similar Questions

  • physical storage on iPad pro, sketch adobe filled memory problems

    Sketch of Adobe met a big chunk of memory on the physical memory of my iPad pro

    App is updated to the last V 3.4 update

    iPad, set to update to the latest IOS

    Sketch of Adobe met up to 102GB on the 128 GB of storage total iPad

    I only have 5 full flight decent drawings in the application of the sketch.

    All drawings are saved in the active adobe except (the more recent) cloud of my drawings that won't download

    Inside the app he repeats to me back in classes, but it never ends.

    I left the application open for a few hours but never ending upwards.

    Circle of storage within the bar bar is 206.6 Mb / 2 Gb

    I would like to reinstall the app but I don't want to lose the status of a drawing in the last. back up to never complete.

    Help, please.

    Thank you

    Update: save the process completed after the last update, and an hour later.

    I deleted the app and reinstalled.

    102 GB occupied by the free app.

    I hope that my saved projects will load again...

  • / System/Library of the El Capitan initialization process

    Hello

    When I list all processes that are running on my mac os session, it shows me tons and tons of process/System/Library, associated with "Image Capture", "AOSKit", etc. Is this normal? I did not remember to initialize?

    I only Chrome, BetterTouch, promotion, F.lux and Terminal programs open and my consumption of memory is almost 4 GB!

    Where do I can disable these processes to automatically initialize or are they part of the execution of the El Capitan?

    Thanks in advance,

    Guilherme

    You don't have to initialize a process to make it appear. The operating system initializes dozens of processes related to the computer running and providing all the necessary services.

    Consumption memory is not directly related to how much apps that you launch. The reserve system of large chunks of memory to improve performance and have the available memory as needed. OS X will try to predict what future memory needs will be.

    Do not attempt to disable any process, if you don't know what they are for, or if they are needed. It's a sure way to crash the operating system. What you see in the activity monitor, is to help developers, technicians and others to know what works and if it's causing a problem.

    Simple rules: if it works then leave it alone; and, if you don't know what's going to happen and how to fix it, then let it be. If you want to learn more about these different processes, then try searching with Google for this information. However, if you are not a programmer you will find difficult to understand information.

  • refnum image processing

    I want the camera to stream to USB (buffer image0) with treatment in time real simple image (image1 buffer).

    After a treatment, I want to copy the image to another buffer image2.

    However, I have observed some interference between the pads.

    For example, I copied image1 image2 buffer. Whenever image2 buffer has been modified, image1 is also changed.

    I suspect my mistake in the refnum image processing but can't find it.

    Before posting my code shot, I want to check again with your comments because LV is not installed on this computer.

    Anyway, what is the rule in the definition/treatment image buffer?

    It is desirable to define the new back buffer image whenever I changed the image?

    I found a few examples of creating image inside the loop buffer without deleting the refnums.

    Is it safe to the memory of the control system?

    What I picture reference must be transferred with shift register?

    labmaster using LV2011 (no SP1)

    What image of buffers are you referring to the IMAQ Image?

    If so (or if not possible), these aren't the sons of Norway in labview, they are more like pointers than a thread that keeps the sata, so if you wiring buffer image 1 in the image of the stamp 2 make you actually point towards the same area of the image, copying data between buffers, there is a function of copy IMAQ This puts the data to the image specified by buffer 1 in the space of the image indicated by buffer 2.  (I say space image of table instead because IMAQ images are more complex than just a chunk of memory).

  • Pavilion laptop 17: upgrade my HP Pavilion 17

    I recently got a new game, and I exceed the requirements of system advised except RAM. I have 3.1 GB for good quality is 6 GB. I was wondering is it wasn't possible, where can I get parts and how to change.  It works up to 6, 8, or more?

    I also never dug into a PC and changed the stuff around and also want to know what would happen if I did. I have to start over and lose all my data?

    Now if it is not possible, then that otherwise could go around to do? I'm currently saving up for a new office and you want to use as little money as possible to improve performance. I love my flag 17 and wouldn't buy a PC of shit and use it in lieu of it.

    Thank you

    ~ Xplo

    Replacement memory is covered on page 54 in this manual:

    Manual

    Remove the Panel done and we'll see what happens in your laptop computer (how many chunks of memory and what size?) He is believed to have at least 4 gigs with a beautiful slit. Once we know which modules are in we can advise where to go. Replacement and upgrade of RAM will not affect your software or files somehow.

  • Watch why go to sleep?

    Yesterday, my PC worked perfectly. But this morning when I pushed the power button, power light turned on normally and there was a normal voice of the case but a few seconds after the PC gave this error on the screen: "Monitor going to sleep" and PC fans started making a strange noise. I could not stop PC normally so I disconnect the cable and reconnect it.

    After I tried again, but the PC gave the same error. I tried too many times, but it did not work.

    I checked all the cables. After that I connected the monitor to my laptop with an HDMI cable, the monitor worked perfectly.

    I have the latest version of the drivers. I always check the updates. But I never updated my BIOS.

    It seems that I have a problem with my camera. And my monitor is still sleep like the sleeping beauty.

    How can I solve this problem?

    (I have HP Pavilion m9531)

    (I'm sorry for my bad grammar)

    It could be the power supply, the device to short-circuit any attachment (bad printer, USB key, keyboard, mouse, network connection), problem of memory, graphics card fan not turn not and the video card could have overheated, bad capacitors (rounded or leak a brown substance or black). The first thing we do is to ensure that it is not under warranty.  If this is the case, contact HP.  If not, remove the cover and inspect the Board for bad capacitors, the fans don't turn not, unplug all nonessential items, like the hard disk, DVD, floppy disk drive, if you have one, any external devices (Yes the monitor) and turn on the computer. He doesn't stay? If so, stop now in the power button for 5 seconds or so, flipping the power switch on the power supply or pull the plug. Connect the monitor and then an element at the same time leaving the drive with your important data as the last element. If he does not stay on. Try to use only a chunk of memory and try each memory slot, try the next track, etc. If this does not work, the best estimate is the power supply (if you have an ohm meter - test first the power supply).

  • Cannot remove a folder on my c drive

    I can't delete a folder on my c drive, even though I am the administrator and I checked my permissions and have full control on the c drive.  the folder is a subfolder of a folder called backup.  the folder is a backup date and contains a copy of the entire c drive is a big chunk of memory.  I have only 11 GB of memory left, and whenever I try to delete this file, it seems to take more space. When I checked the windows backup program, it is said there is no backup to restore, so I'm assuming that this file has not been created by windows.

    Hey Carvelrita,

    Go ahead and give this thread a glance to look through. The original poster had the same problem that you are facing and suggest some programs here who have solved their problems.
    I hope it was your golden ticket. Thanks for posting on the Forum of answers.
    Happy holidays!
  • Not updated since January/February

    I noticed that a lot of people have the same problem, I got; a svchost process, update the window, hogging CPU (up to 99%) and big chunks of memory. If people are not leaving out certain things, then I had a different scenario. It was mentioned to download and install KB3083710 and KB3102810; However, check my update history, they were installed last year. Then I noticed it said: installed last updated - 19/12/2015, but in history, it shows a bunch of updates installed 15/01/2016. It's like something kept updating the last installed date update. Anyone have this problem?  The main problem with download of updates, I've seen an answer to this problem, to run this program .bat to fix the download; another answer said that it does not work. A response to a thread said to do this; Another said to do so; It's confusing. However, that's what I have developed a response:

    1. the manual update value. (I did and the list of the 23 major and 11 minor updates disappeared. He of course for free instead of the processor).

    2. restart; Download and install KB 3138612. (This makes the update when you use manually?)

    3. because I NEVER checked, do check the updates manually?

    4. download a technet.ms file and install it.  (I assume that this fixes the problem).

    5. set the update to Always, if wanted. (If I do, what happens to KB3138612?)

    I have that right? As has happened since last year, according to the post, I do think that MS intend to do anything.

    4.5.2 is not the newest most reliable

    4.6.1 is the latest that works fine on 64 bit 32 bit but not.

    https://www.Microsoft.com/en-US/Download/details.aspx?ID=49982

  • Pavilion a6327uk will not start. Light output at the rear is enabled, all the work of 3 fans, but does not start.

    I have a Pavillion equipped a6327uk for vista 32 bit. I had similar problems before and remove all cables, hold the button to boot without the power connected, reconnect the and then turn on solves the problem. I suffered a blue screen, where I was told the computer was stop and spills of memory. Then I rebooted the computer froze and since then it will not start. I led on the power supply/process button cable about 30 times more than three days without success. The computer does not go to the HP logo screen, it just stops. Can anyone help with further action please.

    It could be almost anything that prevents your computer from starting to start to eliminate things.  If the computer under warranty?  If this is not the case, unplug everything including the power cord from your computer. Unplug the keyboard, monitor, mouse, readers flash and all other connected outside of the machine. Open the unit and unplug all the devices connected to the power supply except the motherboard.  Disconnect the hard drive cable and power supply data connection, disconnect the connection cable and power supply of the CD/DVD data, disconnect any drive card reader or floppy drive.  Therefore remains connected to the power supply should be taking 20/24 pin to the motherboard and 4 or 8 pin 12V for the cpu power cable.  Remove all cards that may be in the slots, as the video card, modem, network card (if they are not built in to edge of devices.) Just the cards that can be inserted into the slots.  Make sure all items are away from the computer and cannot cause a short circuit when you use power. Look at the motherboard and see if the capacitors were bulged or rounded top and maybe even a brown substance leaking from the top.  Check the video card as well for the same and a blocked fan who may have been not turn.  Test the power supply with a volt/ohm meter if you have one. If this is not the case, turn on the power and see if the fans are running and you get beeps.  If this isn't the case, hold the power button for about 5 seconds until the machine turns off.  Try only a chunk of memory at a time and in each of the slots.  If it starts to act normally, it is probably food.  If the sounds seem normal, unplug the power cable and install one at a time from the video card and connect the monitor to it. Plug the power cable from back in and start the machine.  If you have a video, keep disconnect power, adding another device such as the keyboard and the mouse until you arrive finally to your hard drive.  Do your last hard drive because there all your important data on it and you do not want to expose to all this test.

  • Help me solve R & R question

    Hello world

    Some time ago I deleted Rescue and Recovery of computer because I took another backup program to use instead, mainly because the backup files generated by R & R takes up way too much space on my C:.

    However, I have now a serious problem which is that I'm quite sure R & R still works on my computer, even if the program is removed and only appears on my list of programs. For example, I sometimes receive message with "Rescue and recovery" boxes in the header, but no content text otherwise. Worse, is that now, Im sure the backup files take once more of disk space. I have only 5 GB of free when I have at least 20 GB free.

    How to remove backup files when the program is nowhere on my computer? Anyone know what folder the files would be placed? Ive tried to download R & R on the Lenovo site, but the file does not work. Windows tells me that his corrupt or that a certain file is missing. Ive also tried CCleaner but it does not find anything when scanning.

    IM passing under Vista.

    Thank you.

    -ahumle

    There is a free app called WinDirStat that will identify the files that hold the largest amount of disk space.  You can try to use it to find files that are sucking big chunks of memory.  Sorry, but this is the best suggestion I have.

  • variable declation Pro c question

    Hi all

    Lucky me, I get to work with some Pro * C code written in 1998 on Unix. I consider myself competent C but am confronted with pre Ansi C with embedded SQL UltraLite, written by people who were not comfortable with passing parameters.

    Here's my dilemma: I'm not sure about the scope of the variable declared in EXEC SQL BEGIN DECLARE SECTION.
    The code is as follows, for example:

    global section, occurring before hand:
    EXEC SQL BEGIN DECLARE SECTION;
    foo (10) varchar;
    EXEC SQL END DECLARE SECTION;

    main)
    {
    gag (foo);
    }


    Then later, there's a procedure declared with the pre-Ansi syntax:

    Sub gag (foo)
    EXEC SQL BEGIN DECLARE SECTION;
    foo (10) varchar;
    EXEC SQL END DECLARE SECTION;
    {/ / open curly beginning procedure gag()}

    foo: = value;
    }

    Issues related to the:
    * The 2nd foo (declared as a parameter to gag()) is still a local variable for gag()? I thought I had read somewhere that the scope of variables declared in EXEC SQL BEGIN DECLARE/END DECLARE a global...

    They do not pass the pointers, but "apparently" foo can change in the calling program (although the code is so ugly, that it is difficult to discern for sure).

    * Can transmit you varchar as a pointer, or do I have to pass the char (*) after the ending null it? Download
    Sub gag (varchar * foo)

    How the hell did change coressponding (unless it's global, of which there are a LOT of in this code).

    Thank you!

    Pre-compiler does not always well C syntax check - it is the work of the real C compiler, which is not the Oracle.
    Memory, before ANSI C isn't really / control of the arguments type number. It is the appellant be wary or bad luck. Additional arguments will be ignored. Bad type ones will simply be a chunk of memory, assuming that the format of the expected type.

  • Is it possible to tell what is the heap size JVM is on a 64-bit 2008 Server?

    Is it possible to tell what is the heap size JVM is on a 64-bit 2008 Server? We have a number, but it is unclear if the connection broker has been installed before or after that RAM was brought to more than 10 GB.

    In the register of HKLM\SOFTWARE\VMware, Inc. \VMware VDM\plugins\wsnm\TomcatService\Params they seem to all State

    -Xms128m-Xmx4096m - XX: MaxPermSize = 128 m-Xrs - XX: + UseConcMarkSweepGC - Dsun.rmi.dgc.client.gcInterval = 3600000 - Dsun.rmi.dgc.server.gcInterval = 3600000...

    Although I've seen a show - Xmx1024m

    This could be how say you?

    Also did anyone know if a 4.6 view upgrade will increase the size of segment correctly if the RAM is increased before the upgrade to 4.5 takes place, therefore not having to do a complete reinstall?

    Thank you

    On page 69 of the installation guide, it shows how to change the JVM for X 86 servers.  Maybe this will give you a place to start looking for your current size.  On X 64 if it has been installed with the 10 GB of memory, then would be a chunk of memory to 2 GB size and anything less than 10 GB would result in a segment size of memory 512 MB.

    http://www.VMware.com/PDF/view-46-installation.PDF

  • definition of v$ view underlying SQL

    Hello

    Is it possible to get underlying views deifintion $ v? (if I query the text of dba_views I see v_$ sql is to select from v$ sql)

    I want to know what are the underlying tables used to v$ sql. How can I find that


    Thank you

    sb92075 wrote:

    894365 wrote:
    Hello

    Is it possible to get underlying views deifintion $ v? (if I query the text of dba_views I see v_$ sql is to select from v$ sql)

    I want to know what are the underlying tables used to v$ sql. How can I find that

    All of the V$ * 'views' data structures query SGA & are presented as regular SQL views.

    That may be true, but does not answer his question.

    The way this works is, take V$ SQL example:

    SQL> select owner,object_type,object_name from dba_objects where object_name='V$SQL';
    
    OWNER        OBJECT_TYPE            OBJECT_NAME
    ---------- ------------------- ------------------------------
    PUBLIC        SYNONYM            V$SQL
    
    SQL> 
    

    V$ SQL is, in fact a public synonym. We will see that it points to:

    SQL> exec print_table('select owner,synonym_name,table_owner,table_name,db_link from dba_synonyms where owner=''PUBLIC'' and synonym_name = ''V$SQL''');
    OWNER                     : PUBLIC
    SYNONYM_NAME                : V$SQL
    TABLE_OWNER                : SYS
    TABLE_NAME                : V_$SQL
    DB_LINK                 :
    -----------------
    
    PL/SQL procedure successfully completed.
    

    Now, we can see that V$ SQL is a public synonym that points to SYS. V_$ SQL. Now, DBA_SYNONYMS said there is a table, but it could also be a view. And, in this case, it's a view.
    We can see that here:

    SQL> exec print_table('select owner,object_type,object_name from dba_objects where owner=''SYS'' and object_name =''V_$SQL''');
    OWNER                     : SYS
    OBJECT_TYPE                : VIEW
    OBJECT_NAME                : V_$SQL
    -----------------
    
    PL/SQL procedure successfully completed.
    

    OK, so V_$ SQL is a point of view.
    Let's see what the definition is:

    SQL> exec print_table('select text from dba_views where owner=''SYS'' and view_name = ''V_$SQL''');
    TEXT                     : select
    "SQL_TEXT","SQL_FULLTEXT","SQL_ID","SHARABLE_MEM","PERSISTENT_MEM","RUNTIME_MEM"
    ,"SORTS","LOADED_VERSIONS","OPEN_VERSIONS","USERS_OPENING","FETCHES","EXECUTIONS
    ","PX_SERVERS_EXECUTIONS","END_OF_FETCH_COUNT","USERS_EXECUTING","LOADS","FIRST_
    LOAD_TIME","INVALIDATIONS","PARSE_CALLS","DISK_READS","DIRECT_WRITES","BUFFER_GE
    TS","APPLICATION_WAIT_TIME","CONCURRENCY_WAIT_TIME","CLUSTER_WAIT_TIME","USER_IO
    _WAIT_TIME","PLSQL_EXEC_TIME","JAVA_EXEC_TIME","ROWS_PROCESSED","COMMAND_TYPE","
    OPTIMIZER_MODE","OPTIMIZER_COST","OPTIMIZER_ENV","OPTIMIZER_ENV_HASH_VALUE","PAR
    SING_USER_ID","PARSING_SCHEMA_ID","PARSING_SCHEMA_NAME","KEPT_VERSIONS","ADDRESS
    ","TYPE_CHK_HEAP","HASH_VALUE","OLD_HASH_VALUE","PLAN_HASH_VALUE","CHILD_NUMBER"
    ,"SERVICE","SERVICE_HASH","MODULE","MODULE_HASH","ACTION","ACTION_HASH","SERIALI
    ZABLE_ABORTS","OUTLINE_CATEGORY","CPU_TIME","ELAPSED_TIME","OUTLINE_SID","CHILD_
    ADDRESS","SQLTYPE","REMOTE","OBJECT_STATUS","LITERAL_HASH_VALUE","LAST_LOAD_TIME
    ","IS_OBSOLETE","IS_BIND_SENSITIVE","IS_BIND_AWARE","IS_SHAREABLE","CHILD_LATCH"
    ,"SQL_PROFILE","SQL_PATCH","SQL_PLAN_BASELINE","PROGRAM_ID","PROGRAM_LINE#","EXA
    CT_MATCHING_SIGNATURE","FORCE_MATCHING_SIGNATURE","LAST_ACTIVE_TIME","BIND_DATA"
    ,"TYPECHECK_MEM","IO_CELL_OFFLOAD_ELIGIBLE_BYTES","IO_INTERCONNECT_BYTES","PHYSI
    CAL_READ_REQUESTS","PHYSICAL_READ_BYTES","PHYSICAL_WRITE_REQUESTS","PHYSICAL_WRI
    TE_BYTES","OPTIMIZED_PHY_READ_REQUESTS","LOCKED_TOTAL","PINNED_TOTAL","IO_CELL_U
    NCOMPRESSED_BYTES","IO_CELL_OFFLOAD_RETURNED_BYTES" from v$sql
    -----------------
    
    PL/SQL procedure successfully completed.
    

    Huh? How V_$ SQL can be based on V$ SQL, when V$ SQL is a synonym that points to V_$ SQL?

    Well, is where the trick comes in. SYS. V$ SQL is a fixed view, that is a view that is owned by SYS and begins by "V$" or "GV$".
    So, we can look at V$ FIXED_VIEW_DEFINITION to see the definition of SYS. V$ SQL:

    SQL> exec print_table('select view_definition from v$fixed_view_definition where view_name = ''V$SQL''');
    VIEW_DEFINITION            : select     SQL_TEXT , SQL_FULLTEXT , SQL_ID,
    SHARABLE_MEM , PERSISTENT_MEM , RUNTIME_MEM , SORTS , LOADED_VERSIONS ,
    OPEN_VERSIONS , USERS_OPENING , FETCHES , EXECUTIONS , PX_SERVERS_EXECUTIONS ,
    END_OF_FETCH_COUNT, USERS_EXECUTING , LOADS , FIRST_LOAD_TIME, INVALIDATIONS,
    PARSE_CALLS , DISK_READS , DIRECT_WRITES , BUFFER_GETS , APPLICATION_WAIT_TIME,
    CONCURRENCY_WAIT_TIME, CLUSTER_WAIT_TIME, USER_IO_WAIT_TIME, PLSQL_EXEC_TIME,
    JAVA_EXEC_TIME, ROWS_PROCESSED , COMMAND_TYPE , OPTIMIZER_MODE , OPTIMIZER_COST,
    OPTIMIZER_ENV, OPTIMIZER_ENV_HASH_VALUE, PARSING_USER_ID , PARSING_SCHEMA_ID ,
    PARSING_SCHEMA_NAME, KEPT_VERSIONS , ADDRESS , TYPE_CHK_HEAP , HASH_VALUE,
    OLD_HASH_VALUE, PLAN_HASH_VALUE, CHILD_NUMBER, SERVICE, SERVICE_HASH, MODULE,
    MODULE_HASH , ACTION , ACTION_HASH ,  SERIALIZABLE_ABORTS , OUTLINE_CATEGORY,
    CPU_TIME, ELAPSED_TIME, OUTLINE_SID, CHILD_ADDRESS, SQLTYPE, REMOTE,
    OBJECT_STATUS, LITERAL_HASH_VALUE, LAST_LOAD_TIME, IS_OBSOLETE,
    IS_BIND_SENSITIVE, IS_BIND_AWARE, IS_SHAREABLE,CHILD_LATCH, SQL_PROFILE,
    SQL_PATCH, SQL_PLAN_BASELINE, PROGRAM_ID, PROGRAM_LINE#,
    EXACT_MATCHING_SIGNATURE, FORCE_MATCHING_SIGNATURE, LAST_ACTIVE_TIME, BIND_DATA,
    TYPECHECK_MEM, IO_CELL_OFFLOAD_ELIGIBLE_BYTES, IO_INTERCONNECT_BYTES,
    PHYSICAL_READ_REQUESTS, PHYSICAL_READ_BYTES, PHYSICAL_WRITE_REQUESTS,
    PHYSICAL_WRITE_BYTES, OPTIMIZED_PHY_READ_REQUESTS, LOCKED_TOTAL, PINNED_TOTAL,
    IO_CELL_UNCOMPRESSED_BYTES, IO_CELL_OFFLOAD_RETURNED_BYTES from GV$SQL where
    inst_id = USERENV('Instance')
    -----------------
    
    PL/SQL procedure successfully completed.
    

    Thus, SYS. V$ SQL is based on GV$ SQL. So, what's the GV$ SQL?

    SQL> exec print_table('select owner,object_type,object_name from dba_objects where object_name =''GV$SQL''');
    OWNER                     : PUBLIC
    OBJECT_TYPE                : SYNONYM
    OBJECT_NAME                : GV$SQL
    -----------------
    
    PL/SQL procedure successfully completed.
    

    Another synonym? Where this all ends up? (Hold on, we're almost there!)
    So, what synonym SQL of GV$ tip to?

    SQL> exec print_table('select * from dba_synonyms where owner=''PUBLIC'' and synonym_name = ''GV$SQL''');
    OWNER                     : PUBLIC
    SYNONYM_NAME                : GV$SQL
    TABLE_OWNER                : SYS
    TABLE_NAME                : GV_$SQL
    DB_LINK                 :
    -----------------
    
    PL/SQL procedure successfully completed.
    

    OK, so, now we have GV_$ SQL. What is it exactly? Is this really a table? Or maybe another opinion?

    SQL> exec print_table('select owner,object_type,object_name from dba_objects where owner=''SYS'' and object_name = ''GV_$SQL''');
    OWNER                     : SYS
    OBJECT_TYPE                : VIEW
    OBJECT_NAME                : GV_$SQL
    -----------------
    
    PL/SQL procedure successfully completed.
    

    OK, so GV_$ SQL is another point of view. Let's look at the definition only !

    SQL> exec print_Table('select text from dba_views where owner=''SYS'' and view_name = ''GV_$SQL''');
    TEXT                     : select
    "INST_ID","SQL_TEXT","SQL_FULLTEXT","SQL_ID","SHARABLE_MEM","PERSISTENT_MEM","RU
    NTIME_MEM","SORTS","LOADED_VERSIONS","OPEN_VERSIONS","USERS_OPENING","FETCHES","
    EXECUTIONS","PX_SERVERS_EXECUTIONS","END_OF_FETCH_COUNT","USERS_EXECUTING","LOAD
    S","FIRST_LOAD_TIME","INVALIDATIONS","PARSE_CALLS","DISK_READS","DIRECT_WRITES",
    "BUFFER_GETS","APPLICATION_WAIT_TIME","CONCURRENCY_WAIT_TIME","CLUSTER_WAIT_TIME
    ","USER_IO_WAIT_TIME","PLSQL_EXEC_TIME","JAVA_EXEC_TIME","ROWS_PROCESSED","COMMA
    ND_TYPE","OPTIMIZER_MODE","OPTIMIZER_COST","OPTIMIZER_ENV","OPTIMIZER_ENV_HASH_V
    ALUE","PARSING_USER_ID","PARSING_SCHEMA_ID","PARSING_SCHEMA_NAME","KEPT_VERSIONS
    ","ADDRESS","TYPE_CHK_HEAP","HASH_VALUE","OLD_HASH_VALUE","PLAN_HASH_VALUE","CHI
    LD_NUMBER","SERVICE","SERVICE_HASH","MODULE","MODULE_HASH","ACTION","ACTION_HASH
    ","SERIALIZABLE_ABORTS","OUTLINE_CATEGORY","CPU_TIME","ELAPSED_TIME","OUTLINE_SI
    D","CHILD_ADDRESS","SQLTYPE","REMOTE","OBJECT_STATUS","LITERAL_HASH_VALUE","LAST
    _LOAD_TIME","IS_OBSOLETE","IS_BIND_SENSITIVE","IS_BIND_AWARE","IS_SHAREABLE","CH
    ILD_LATCH","SQL_PROFILE","SQL_PATCH","SQL_PLAN_BASELINE","PROGRAM_ID","PROGRAM_L
    INE#","EXACT_MATCHING_SIGNATURE","FORCE_MATCHING_SIGNATURE","LAST_ACTIVE_TIME","
    BIND_DATA","TYPECHECK_MEM","IO_CELL_OFFLOAD_ELIGIBLE_BYTES","IO_INTERCONNECT_BYT
    ES","PHYSICAL_READ_REQUESTS","PHYSICAL_READ_BYTES","PHYSICAL_WRITE_REQUESTS","PH
    YSICAL_WRITE_BYTES","OPTIMIZED_PHY_READ_REQUESTS","LOCKED_TOTAL","PINNED_TOTAL",
    "IO_CELL_UNCOMPRESSED_BYTES","IO_CELL_OFFLOAD_RETURNED_BYTES" from gv$sql
    -----------------
    
    PL/SQL procedure successfully completed.
    

    Other GV$ SQL? This never end?
    Back to V$ FIXED_VIEW_DEFINITION for the final phase:

    SQL> exec print_table('select view_definition from v$fixed_view_definition where view_name = ''GV$SQL''');
    VIEW_DEFINITION            : select inst_id,kglnaobj,kglfnobj,kglobt03,
    kglobhs0+kglobhs1+kglobhs2+kglobhs3+kglobhs4+kglobhs5+kglobhs6+kglobt16,
    kglobt08+kglobt11, kglobt10, kglobt01, decode(kglobhs6,0,0,1),
    decode(kglhdlmd,0,0,1), kglhdlkc, kglobt04, kglobt05, kglobt48, kglobt35,
    kglobpc6, kglhdldc, substr(to_char(kglnatim,'YYYY-MM-DD/HH24:MI:SS'),1,19),
    kglhdivc, kglobt12, kglobt13, kglobwdw, kglobt14, kglobwap, kglobwcc, kglobwcl,
    kglobwui, kglobt42, kglobt43, kglobt15, kglobt02, decode(kglobt32,       0,
    'NONE',        1, 'ALL_ROWS',          2, 'FIRST_ROWS',          3, 'RULE',
    4, 'CHOOSE',            'UNKNOWN'), kglobtn0, kglobcce, kglobcceh, kglobt17,
    kglobt18, kglobts4, kglhdkmk, kglhdpar, kglobtp0, kglnahsh, kglobt46, kglobt30,
    kglobt09, kglobts5, kglobt48, kglobts0, kglobt19, kglobts1, kglobt20, kglobt21,
    kglobts2, kglobt06, kglobt07, decode(kglobt28, 0, to_number(NULL), kglobt28),
    kglhdadr, kglobt29, decode(bitand(kglobt00,64),64, 'Y', 'N'), decode(kglobsta,
    1, 'VALID',        2, 'VALID_AUTH_ERROR',      3, 'VALID_COMPILE_ERROR',
    4, 'VALID_UNAUTH',       5, 'INVALID_UNAUTH',           6, 'INVALID'), kglobt31,
    substr(to_char(kglobtt0,'YYYY-MM-DD/HH24:MI:SS'),1,19), decode(kglobt33, 1, 'Y',
    'N'),  decode(bitand(kglobacs, 1), 1, 'Y', 'N'),  decode(bitand(kglobacs, 2), 2,
    'Y', 'N'),  decode(bitand(kglobacs, 4), 4, 'Y', 'N'),  kglhdclt, kglobts3,
    kglobts7, kglobts6, kglobt44, kglobt45,  kglobt47, kglobt49, kglobcla,
    kglobcbca, kglobt22, kglobt52, kglobt53, kglobt54, kglobt55,  kglobt56,
    kglobt57, kglobt58, kglobt23, kglobt24, kglobt59,  kglobt53 -
    ((kglobt55+kglobt57) - kglobt52)  from x$kglcursor_child
    

    So, here we are, finally, we come to the legendary ' X$ ' table! A table of $ X is hard-coded in the kernel of the Oracle, and it is a projection of the table of a chunk of memory in the SGA. It can not be updated, only questioned and investigated reading consistency.

    I'm sure that this post raises questions, but it is already too long, so, I'll leave it at that.

    Do not hesitate to ask questions, followed, and I'll try to address them.

    Hope that helps,

    -Mark

  • Var name as string

    Hello

    I'm new to cold fusion and I would like to know how can I get a variable name a string or another variable...

    I want to declare a variable:

    MyVar = "content";

    and dynamically create an output like this: "the value of myvar is «content"»

    Thank you

    Hi Rockit8.

    I know that you worked around your question (I would still like to know exactly what it was you had to do), but I think I worked on a little what you asked, and to quench my curiosity, I want to this follow-up further to clarify some things (for me and maybe for you).

    I suspect that what you ask is shown by this pseudocode:

    What is the kind of thing you're wanting to do?  It is not possible.

    When you call a function like this, the function never know what this variables.theVariableWhoseNameIWantToKnow, it's never happened variables.theVariableWhoseNameIWantToKnow, it is just past its value.  And SEE the value in arguments.theArgumentFromThePerspectiveOfTheFunction.  The only variable myFunction() knows is arguments.theArgumentFromThePerspectiveOfTheFunction.  It is not relevant to myFunction() that the calling code has used a variable to contain 'a value', it could just as likely have been:

    This demonstrates why I say your question - as requested - is meaningless.

    However not all the data is passed by value.  Let's look at this code:

    In the CF, a struct is copied by reference (a little), no value, so the variables.firstOneToReferenceTheStruct and the variables.anotherOneThatReferencesTheStruct will be different references to the same chunk of memory (and memory holds the struct {foo = ' bar'}.

    So, if we have this code:

    Then arguments.theArgumentFromThePerspectiveOfTheFunction will simply be yet another reference to exactly the same memory as variables.firstOneToReferenceTheStruct and variables.anotherOneThatReferencesTheStruct.  Thus, one might think initially "aha, so there is a way to know that arguments.theArgumentFromThePerspectiveOfTheFunction 'origin' was called 'variables.firstOneToReferenceTheStruct '.  No, there is not.  Because then these references all point to the same memory, they all still completely separate references (a reference is a memory address, so each of these three actually just hold the memory address that the struct is in, but it's three separate copies of the address.)  Not three different copies of the content of the memory address, but three separate copies of the address) and did not at all no correlation.

    Now... Java obviously keeps track of which refers to point for bits of memory (so that he knows how memory can be deleted by the garbage collector), it is therefore possible to find a list of references that reference this particular memory piece, but I do know that it is exposed even through the Java API , and it is certainly not exposed to ColdFusion. I'm not a Java developer, I can google, but I did not come up with all Java features, which exposes him (disclosure: I only spent about 2 minutes by train).  I suspect its level too low and not really any particular use.  Why really we would want to know this kind of thing anyway?  It is not useful to demand information, after all.

    This explains why I said that your question is a little meaningless?

    --

    Adam

  • SHARED_POOL. Keep and sql invalidations

    Hello world

    Currently I keep certain procedures, functions, triggers and sliders in the shared pool using dbms_shared_pool.keep, but some sliders become invalid because we perform a truncate command in the tables referenced by the cursor. If I keep cursors and when they become not valid, these sliders will be new analysis in view but are they will be affected in other blocks or pieces in the shared pool or they always stay in the same blocks currently used by cursors?

    I do not understand this situation.

    Kind regards

    johnxjean

    johnxjean wrote:
    Hello world

    Currently I keep certain procedures, functions, triggers and sliders in the shared pool using dbms_shared_pool.keep, but some sliders become invalid because we perform a truncate command in the tables referenced by the cursor. If I keep cursors and when they become not valid, these sliders will be new analysis in view but are they will be affected in other blocks or pieces in the shared pool or they always stay in the same blocks currently used by cursors?

    You can thus assume not.

    After the invalidation, the next run will have to re - optimize, which means creating a new "lot 6. The old lot 6 will be ignored - that means any chunks of memory will be returned to the shared pool and a 'new heap 6' will be built if possible. You can see some of the blocks back to the shared pool are reused immediately, but it's a coincidence, not a design.

    There is a view called v$ sql_shared_memory, which gives you a clue to this topic. For cursors of the child, it shows the memory allocated for "lot 6", and the heap_desc is the column giving the address of the bunch - and this change that the cursor is re-optimized. (It is not conclusive regarding your original question and this is speculation on my part, though):

    select
         heap_desc, count(*), sum(chunk_size)
    from
         v$sql_shared_memory
    where
         sql_id = 'fxzjtaht7n4k5'  -- sql_id of target statement
    group by
         heap_desc
    /
    

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    http://www.jlcomp.demon.co.UK

Maybe you are looking for