ORA-04031 - 11.2.0.1.0 Oracle expdp

Hello

After a big back my database with EdStevens - I tried now to do an export with expdp

I used:

expdp user/pw schemas=myschema directory=myschemadir dumpfile=mydumpfile.dmp logfile=mylogfile.log

in the end, I got this errors.

UDE-04031: Vorgang hat ORACLE-Fehler generiert 4031  
ORA-04031: 16 Byte des Shared Memorys konnten nicht zugewiesen werden ("shared p  
ool","SELECT job_id FROM v$datapum...","SQLA","tmp")  
ORA-06512: in "SYS.KUPV$FT_INT", Zeile 2904  
ORA-06512: in "SYS.KUPC$QUE_INT", Zeile 572  
ORA-25254: Timeout in LISTEN beim Warten auf eine Nachricht  
ORA-06512: in "SYS.DBMS_DATAPUMP", Zeile 3263  
ORA-06512: in "SYS.DBMS_DATAPUMP", Zeile 4488  
ORA-06512: in Zeile 1 

What can I do this error ORA-04031? I think it's the main reason, or?

Thanks a lot for the help again

I fixed it myself...

I've added to my startup file:

*.sga_target=3059744768

I stopped my DB, I started and now I can export my database

Thank you to all assistants in particular EdStevens , I learned a lot from you!

ARO

Tim

Tags: Database

Similar Questions

  • ORA-04031 Oracle RAC ASM 11.2.0.3

    Hello:

    I need your help.

    When the automatic increase in memory of comics, more than 8 GB, my BD RAC indicates failure.

    Environment:

    Oracle RAC 11.2.0.3 with 2 nodes.

    O.S.: SunOS 5.11 rac1 11.1 sun4v sparc sun4v

    RAM: 32 GB.

    Oracle Grid Infrastructure 11.2.0.3

    Oracle ASM 11.2.0.3

    Oracle Database 11.2.0.3 Enterprise Edition with RAC option.

    Symptom:

    I created my DB CARS with MEMORY_TARGET = 1 G.

    I have been to increase the parameter up to 8 GB without problem, but the 9 GB, this error occurs:

    * .memory_max_target = 9g

    * .memory_target = 4g

    SQL > startup nomount;

    ORACLE instance started.

    ORA-00604: an error has occurred at the SQL level recursive 2

    ORA-04031: unable to allocate 32 bytes of shared memory ('shared

    pool"," X$ KSMSD "," KGLS ^ c51f85ea ',' kglHeapInitialize:temp') "

    Background:

    What are the parameters of the kernel for the oracle account:

    Oracle@RAC1:~$ prctl - n Project.Max - shm-memory - i project user.oracle

    project: 100: user.oracle

    NAME PRIVILEGE VALUE FLAG ACTION BENEFICIARY

    Project.Max - shm-memory

    the 20,00 GB privilege - deny-

    system 16.0EB max deny-

    Oracle@RAC1:~$ prctl - n Project.Max - sem - IDS - i project user.oracle

    project: 100: user.oracle

    NAME PRIVILEGE VALUE FLAG ACTION BENEFICIARY

    Project.Max - sem - IDS

    privileged 16.0 M - deny -.

    system of 16.8 M max deny-

    How can I fix?

    Thank you

    David

    Your paging file must be at least as big as your physical ram, or in your case specific at least 9 GB or larger.  The value of your swap 32 GB if you plan to use the AMM but I wouldn't use it AMM because Oracle does not support on Solaris.  Supported only for the ASM instance and not the databases.

  • ORA-04031 for workflows related to the text

    HI -.

    In my view, this question was raised several years ago, but have not seen one work around other than to make adjustments at the level of the DBA for the shared memory pool settings.  There is no DBA on our team, and we plan to become one ;-)  I wonder if there is a way around this problem of minor user of OD or the SQL sys command-line interface?  I use the version of SQL * Developer and Oracle 12 c that comes on the machine virtual Lite of Big Data.

    SQL * Developer 4.1.1.19, build hand - 19.59

    Database 12.1.0.2

    Thank you-

    -Cindy

    An ORA-04031 error is an error of BMG; Limitation of memory in the component CMS such as pool, large pool, pool of java, of the stream is reached.

    You can do a lot of research in what is originally the ORA-04031, but you can also reduce or eliminate this error by increasing the size of the memory of the CMS, or using the automatic memory management (if you are not already using).

    http://docs.Oracle.com/database/121/Admin/memory.htm#BGBJAHEJ

  • FRM-40735: ACTIVE WHEN LIST trigger fired unhandled exception ORA-04031

    While accessing certain forms and self service pages in oracle apps R12, FRM exception raised.

    ORA-04031 no data available

    FRM-40735: trigger ACTIVE WHEN LIST raised an unhandled exception

    Kind regards

    Ajay

    FIX: Increase in the share of pool size.

    See you soon,.

    Ajay Boyana

  • Tablespace TEMP fills and then see ORA-04031

    Hello

    Database Oracle version: 11.2.0.3 Linux

    "KGLH0 ^ bac435f8 kglHeapInitialize:temp ',' ')" error. We can assume that because the TEMP tablespace was full for the sort used oracle shared pool/memory for sorting operation and has caused the depletion of the space in the shared pool.

    Please answer.

    Hello

    NO, because the shared pool is not used for sorting but used for analysed maintenance sqls, pl/sql code information and data dictionary. Please read more about shared pool Memory architecture - 11 g Release 2 (11.2)

    > ORA-04031: unable to allocate 32 bytes of shared

    This means that you can set the Shared pool.

    HTH,

    Pradeep

  • ORA-04031: unable to allocate 32 bytes of shared memory ('shared pool'.  Check your error messages for the cause of the error. (= < POINTER >)

    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

  • ORA-04031 then that he was trying to import the schema to XE

    Hello. I have Linux Amazon 'micro instance' EC2 (Yes, virtual machine) which has 613 MB of memory. I installed Oracle XE 11.2.0.2 and now try to import the schema of 11.2 oracle server standard edition:
    Impdp system/pwd dumpfile = mydump schema myschema =

    But I got the following error:
    ...
    Object type SCHEMA_EXPORT/TABLE/TABLE processing
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    UDI-04031: operation has generated ORACLE 4031 error
    ORA-04031: unable to allocate 32 bytes of memory ('pool', ' SELECT job_id FROM v$ datapum... ") (', 'SQLA","tmp") shared

    Is - this 613 MB of RAM enough for execution of XE? Here is the output of the memory:

    SQL > show sga

    Total System Global Area 250523648 bytes
    Bytes of size 2225472 fixed
    239078080 variable size bytes
    4194304 buffers of data bytes
    Redo buffers 5025792 bytes
    613 MB of RAM enough for execution of XE?

    The minimum recommended is 512 MB, so in theory it should be enough.

    Total System Global Area 250523648 bytes

    Which is less than 250 MB. With most of the facilities of Oracle, GR 11, 2, I'd rather have at least 512 MB for the SGA. But we must leave some room for the OS and PGA are an allowance separate memory for the instance as well. Are likely to shrink the PGA and give a little more room to SGA_TARGET or MEMORY_TARGET, depends on what has been tweeked, and which is still in the default settings.

    Take a look at the default value of the boot settings, in your alert log, find the last start, the lines between the "parameters of the system with default values:" and maybe a date stamp then, stick it in you, we could can help with suggestions to try.

  • ORA-04031: unable to allocate 4120 bytes of shared memory

    Guys,

    OS = RHEL-3, 64-bit
    10.2.0.5
    node 2 CARS db

    We continuously reeving error in alert log file below.

    ORA-00603: ORACLE Server Session concluded with fatal error
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-04031: unable to allocate 4120 bytes of shared memory ('shared pool', ' select name, $ online, content... ") (","Typecheck","kgghteInit")
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-04031: unable to allocate 32 bytes of shared memory ('shared pool', 'select count (*) from sys.job... "," sql area', 'tmp')
    ORA-04031: unable to allocate 4120 bytes of shared memory ('shared pool', "select / * + index (idl_ub1$ i_...","Typecheck","kgghteInit") ")
    -etc...

    shared_pool_size = 608 M
    BMG = 9 GB

    Parameter file-

    process = 2000
    sessions = 2205
    SGA_MAX_SIZE = 26843545600
    shared_pool_size = 637534208
    LARGE_POOL_SIZE = 0
    JAVA_POOL_SIZE = 117440512
    STREAMS_POOL_SIZE = 536870912
    filesystemio_options = SETALL
    SGA_TARGET = 0
    control_files = STGRACDB01/STGDB/control/control01.ctl, STGRACDB02/STGDB/control/control02.ctl, /STGRACDB03/STGDB/control/control03.ctl
    control_file_record_keep_time = 14
    DB_BLOCK_SIZE = 8192
    __db_cache_size = 7516192768
    db_cache_size = 7516192768
    db_writer_processes = 2
    compatible = 10.2.0.5
    Log_archive_dest_1 = LOCATION = / STGRACDB04/STGDB/archives
    log_archive_format = %t_%s_%R.dbf
    log_buffer = 30455808
    DB_FILES = 800
    db_file_multiblock_read_count = 16
    cluster_database = TRUE
    cluster_database_instances = 2
    thread = 2
    instance_number = 2
    UNDO_MANAGEMENT = AUTO
    undo_tablespace = UNDOTBS2
    UNDO_RETENTION = 900
    Remote_login_passwordfile = EXCLUSIVE lock
    instance_name = STGDB2
    noms_service = STGDB, SYS$ STRMADMIN.CAPTURE_DEVTRAVST1_QUEUE.STGDB.SAPIAS.COM, STGDB.SAPIAS.COM
    dispatchers = (PROTOCOL = TCP) (SERVICE = STGDBXDB)
    session_cached_cursors = 70
    JOB_QUEUE_PROCESSES = 10
    usequeue_interval = 1
    CURSOR_SHARING = SIMILAR
    hash_area_size = 524288
    background_dump_dest = / app/oracle/admin/STGDB/bdump
    user_dump_dest = / app/oracle/admin/STGDB/udump
    core_dump_dest = / app/oracle/admin/STGDB/cdump
    audit_file_dest = / app/oracle/admin/STGDB/adump
    session_max_open_files = 20
    Open_links = 150
    open_links_per_instance = 150
    optimizer_features_enable = 10.2.0.4
    sort_area_size = 0
    db_name = STGDB
    db_unique_name = STGDB
    open_cursors = 300
    optimizer_mode = CHOOSE
    optimizercost_based_transformation = OFF
    pga_aggregate_target = 996147200
    PGAmax_size = 1288490188
    optimizerjoin_elimination_enabled = TRUE
    optimizer_secure_view_merging = FALSE


    -Can someone help me on this issue? I think that this is not a simple matter to ignore and his Dungeon to throw in alertlog file.

    Thank you
    Hari

    Why not just increase the size of your shared_pool_size parameter? It is not very big at the moment, maybe make 1 G.
    And while you're at it, you need to sort the PGA. You have the overall goal set at less than 1 G, and at the same time you have set the limit of session pgamax_size to more than 1 G, which is impossible.

  • ORA-04031: unable to allocate 4080 bytes of shared memory

    Hello

    We get the error ORA-04031 in our production environment. Could someone help me on this please.
    I do not know if it related to a bug. Checked on google and provide you with some of the details of setting below.
    Linux-64bit/10.2.0.4.0 oracle

    error
    ======
    ORA-04031: unable to allocate 4080 bytes of memory ('pool', 'unknown object', ' bunch of sga (1,0) ', 'library cache') shared

    PHYSICAL MEMORY
    ==============
    cat/proc/meminfo | grep MemTotal
    MemTotal: 18479752 kB

    Memory settings
    =================
    SHARED_POOL_RESERVED_SIZE large integer 78852915
    whole large shared_pool_size 1504M
    Whole large SGA_MAX_SIZE 13G
    Whole large SGA_TARGET 12G
    Whole large LARGE_POOL_SIZE 16 M

    also tried below
    SQL > alter system set shared_pool_size = 2G scope = mΘmoire;
    change the shared_pool_size scope = mΘmoire set = 2 G system
    *
    ERROR on line 1:
    ORA-02097: the parameter cannot be changed because specified value is not valid
    ORA-04033: not enough memory to push the pool


    Earlier got the error and we have ~ 400 MB of free space

    FREE_MB POOL NAME
    ------------ -------------------------- ----------
    free memory pool shared 413.09

    Thank you

    Published by: Gour on February 27, 2012 23:39

    909592 wrote:
    You can start with this? It's automatic diagnostic tool available on metalink. This get your files, alert.log trace and help you solve the question (Wihout opening SR)...

    https://support.Oracle.com/CSP/UI/Flash.HTML#tab=dashboard%28page=GRHome&ID=gkzpuq90%28domainId=ORA4031%29%29

    Resolution guided - ORA-4031

    Nice link. I like what Oracle trying to do with the diagnostic Guide (last option button).

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    Author: core Oracle

  • ORA-04031: Please Help

    Hello

    After JVM installation when I run @? / javavm/install/initjvm.sql, I get the following error

    SQL > EXECUTE dbms_java.loadjava ('- v - r - install - grant PUBLIC s lib/xmlparserv2.jar rdbms/jlib/xdb.jar');
    BEGIN dbms_java.loadjava ('- v - r - install - grant PUBLIC s lib/xmlparserv2.jar rdbms/jlib/xdb.jar'); END;

    *
    ERROR on line 1:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-04031: unable to allocate 4 096 bytes of shared memory ('pool of java', 'unknown)
    ("object", 'hp exec joxlod', 'SGAClass')
    ORA-06512: at "SYS." DBMS_JAVA', line 222
    ORA-06512: at line 1


    SQL >
    SQL > EXECUTE dbms_java.loadjava (' r - PUBLIC subsidies - v - s lib/xsu12.jar ');
    BEGIN dbms_java.loadjava (' r - PUBLIC subsidies - v - s lib/xsu12.jar '); END;

    *
    ERROR on line 1:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-04031: unable to allocate 4 096 bytes of shared memory ('pool of java', 'unknown)
    ("object", 'hp exec joxlod', 'SGAClass')
    ORA-06512: at "SYS." DBMS_JAVA', line 222
    ORA-06512: at line 1


    SQL > call sys.dbms_java.loadjava (' - v - r f - PUBLIC grant - synonym jlib/xquery.jar ');
    Call sys.dbms_java.loadjava (' - v - r f - PUBLIC grant - synonym jlib/xquery.jar ')
    *
    ERROR on line 1:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-04031: unable to allocate 4 096 bytes of shared memory ('java
    ("pool", ' oracle/xml/parser/v2/DTDSYS', "joxlod exec hp", "SGAClass")


    SQL > call sys.dbms_java.loadjava (' f - r s g v public rdbms/jlib/aqapi.jar');
    Call sys.dbms_java.loadjava ('f - r s g public rdbms/jlib/aqapi.jar v')
    *
    ERROR on line 1:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-04031: unable to allocate 4 096 bytes of shared memory ('java
    (pool', 'oracle, jms, AQjmsMapMessageSYS', "joxlod exec hp", "SGAClass")


    SQL >
    SQL >
    SQL > call sys.dbms_java.loadjava (' - v f - r-schema exfsys rdbms/jlib/ExprFilter.jar');
    Call sys.dbms_java.loadjava (' - v f - r-schema exfsys rdbms/jlib/ExprFilter.jar "")
    *
    ERROR on line 1:
    ORA-29532: Java completed by eception Java exception appeal:
    oracle.aurora.server.tools.loadjava.ToolsError: error during loadjava: chess
    occurred during treatment. Check the file path for more details


    Please guide me how to solve this problem. I checked metalink and saw all the types of memory have a sufficient size.

    Please advice.

    Thanks in advance.

    SID3 wrote:
    Ok.. in this case I need to follow the steps of deinstalltion any JVM again and again

    None

    or just the rmjvm.sql race will do?

    Yes

  • ORA-04031: unable to allocate 4160 bytes of shared memory

    Hi all
    I work on HP - UX B.11.23 U 9000/800 and
    BANNER
    ----------------------------------------------------------------
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production
    PL/SQL Release 9.2.0.8.0 - Production
    CORE Production 9.2.0.8.0
    AMT for HP - UX: 9.2.0.8.0 - Production Version
    NLSRTL Version 9.2.0.8.0 - Production

    I make mistake
    ORA-00604: an error has occurred at the SQL level recursive 2
    ORA-04031: impossible to allocate 4160 bytes of memory ("pool", "JOB$ ', ' bunch of sga (1,0) ',"kglsim bunch") shared

    I have already increased the size of the shared pool, still I am facing this problem.can anyone help me on this
    and it's a development database.

    >
    I make mistake
    ORA-00604: an error has occurred at the SQL level recursive 2
    ORA-04031: impossible to allocate 4160 bytes of memory ("pool", "JOB$ ', ' bunch of sga (1,0) ',"kglsim bunch") shared

    I have already increased the size of the shared pool, still I am facing this problem.can anyone help me on this
    and it's a development database.
    >

    Increase the shared pool blindly will only be delaying the inevitable. If your pool is really too small, you might be able to remedy by adding more memory to the Shared pool. But it looks like you have already done and it is always throwing ORA-4031. So, which may not be a solution.

    Check your application and see if your code is analyzed at length. This happens when you bind variables resulting in Oracle having to hard parse each SQL whenever. So, if your application does not bind variable, you will need to fix them before it's too late. Analysis is the most expensive part in the execution of a SQL query.

    On another note, you're on 9i, will certainly have enabled you SGA_TARGET which means the automatic memory management. In this case, Oracle will distribute central pool SGA memory to the different components to the extent required. Check V$ SGA_TARGET_ADVICE and also check V$ SGA_DYNAMIC_COMPONENTS and make sure your SGA memory is too low. If they are all fine, then your only option is to ensure that you do not unnecessarily in-depth analysis.

    Concerning

  • RMAN-06136: &amp; ORA-04031: unable to allocate for SHARED_POOL

    When I run my recovery of tablespace point in time recovery, I get:
    RMAN-06136: the auxiliary database ORACLE error: ORA-04031: unable to allocate 1056 bytes of shared memory

    On my system target, here is the info for pools:
    SQL> select pool, sum(bytes)/1024/1024 Mbytes from v$sgastat group by pool;
    
    POOL             MBYTES
    ------------ ----------
                  918.84494
    java pool            16
    streams pool         16
    shared pool  1024.00521
    large pool           16
    
    SQL> select * from v$sgainfo;
    
    NAME                                  BYTES RES
    -------------------------------- ---------- ---
    Fixed SGA Size                      2131168 No
    Redo Buffers                        5046272 No
    Buffer Cache Size                 956301312 Yes
    Shared Pool Size                 1073741824 Yes
    Large Pool Size                    16777216 Yes
    Java Pool Size                     16777216 Yes
    Streams Pool Size                  16777216 Yes
    Shared IO Pool Size                       0 Yes
    Granule Size                       16777216 No
    Maximum SGA Size                 2137886720 No
    Startup overhead in Shared Pool   184549376 No
    
    NAME                                  BYTES RES
    -------------------------------- ---------- ---
    Free SGA Memory Available          50331648
    
    12 rows selected.
    You can see below that this as my DB to THE puts as well. Here is my info from my catalog
    SQL> select pool, sum(bytes)/1024/1024 Mbytes from v$sgastat group by pool;
    
    POOL             MBYTES
    ------------ ----------
                 176.632385
    java pool             4
    shared pool   260.00457
    large pool            4
    
    SQL> select * from v$sgainfo;
    
    NAME                                  BYTES RES
    -------------------------------- ---------- ---
    Fixed SGA Size                      2133568 No
    Redo Buffers                        6918144 No
    Buffer Cache Size                 176160768 Yes
    Shared Pool Size                  272629760 Yes
    Large Pool Size                     4194304 Yes
    Java Pool Size                      4194304 Yes
    Streams Pool Size                         0 Yes
    Shared IO Pool Size                       0 Yes
    Granule Size                        4194304 No
    Maximum SGA Size                  784998400 No
    Startup overhead in Shared Pool    67108864 No
    
    NAME                                  BYTES RES
    -------------------------------- ---------- ---
    Free SGA Memory Available         318767104
    
    12 rows selected.
    My profile on the DB is therefore:
    Version - 11.1.0.7
    Type - CARS, 2 nodes Cluster
    Server - Win2003, SP4, 3 GHz, 4 GB RAM, 64-bit

    Initially the target was fixed at 3 GB of a SGA_MAX_SIZE but I dropped it up to 2048 M.

    I guess that the DB to the where the error happens as the export will fail from there. Now, when I went from the size of the target, I would have guessed that the shared_pool would have increased on the DB but it didn't. How can I get my db to get more space for the shared pool and actually complete my recovery.
    Recovery Manager: Release 11.1.0.7.0 - Production on Wed Mar 24 14:12:49 2010
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    RMAN> connect target dbaraman@edbtest2
    
    target database Password:
    connected to target database: EDBTEST (DBID=3958911274)
    
    RMAN> connect catalog rman@rmancat
    
    recovery catalog database Password:
    connected to recovery catalog database
    
    RMAN> run{
    2> set newname for datafile 1 to "+DATA";
    3> set newname for datafile 2 to "+DATA";
    4> set newname for datafile 3 to "+DATA";
    5> set newname for datafile 4 to "+DATA";
    6> RECOVER TABLESPACE RAMANS
    7> until time "to_date('23-MAR-2010 13:36:00','DD-MON-YYYY HH24:MI:SS')"
    8> AUXILIARY DESTINATION 'C:\EDBTEST2_backup\oradata\auxdest';
    9> }
    
    executing command: SET NEWNAME
    starting full resync of recovery catalog
    full resync complete
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    Starting recover at 24-MAR-10
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=495 instance=edbtest2 device type=DISK
    
    Creating automatic instance, with SID='srmk'
    
    initialization parameters used for automatic instance:
    db_name=EDBTEST
    compatible=11.1.0.0.0
    db_block_size=8192
    db_files=200
    db_unique_name=tspitr_EDBTEST_srmk
    large_pool_size=1M
    shared_pool_size=110M
    processes=50
    #No auxiliary parameter file used
    db_create_file_dest=C:\EDBTEST2_backup\oradata\auxdest
    control_files=C:\EDBTEST2_backup\oradata\auxdest/cntrl_tspitr_EDBTEST_srmk.f
    
    
    starting up automatic instance EDBTEST
    
    Oracle instance started
    
    Total System Global Area     204632064 bytes
    
    Fixed Size                     2127912 bytes
    Variable Size                146802648 bytes
    Database Buffers              50331648 bytes
    Redo Buffers                   5369856 bytes
    Automatic instance created
    
    contents of Memory Script:
    {
    # set the until clause
    set until  time "to_date('23-MAR-2010 13:36:00','DD-MON-YYYY HH24:MI:SS')";
    # restore the controlfile
    restore clone controlfile;
    # mount the controlfile
    sql clone 'alter database mount clone database';
    # archive current online log for tspitr to a resent until time
    sql 'alter system archive log current';
    # avoid unnecessary autobackups for structural changes during TSPITR
    sql 'begin dbms_backup_restore.AutoBackupFlag(FALSE); end;';
    # resync catalog after controlfile restore
    resync catalog;
    }
    executing Memory Script
    
    executing command: SET until clause
    
    Starting restore at 24-MAR-10
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=39 device type=DISK
    
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece +FLASH/edbtest/autobackup/2010_03_23/s_714403881.525.714403883
    channel ORA_AUX_DISK_1: piece handle=+FLASH/edbtest/autobackup/2010_03_23/s_714403881.525.714403883 tag=TAG20100323T133121
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
    output file name=C:\EDBTEST2_BACKUP\ORADATA\AUXDEST\CNTRL_TSPITR_EDBTEST_SRMK.F
    Finished restore at 24-MAR-10
    
    sql statement: alter database mount clone database
    
    sql statement: alter system archive log current
    
    sql statement: begin dbms_backup_restore.AutoBackupFlag(FALSE); end;
    
    starting full resync of recovery catalog
    full resync complete
    
    contents of Memory Script:
    {
    # generated tablespace point-in-time recovery script
    # set the until clause
    set until  time "to_date('23-MAR-2010 13:36:00','DD-MON-YYYY HH24:MI:SS')";
    # set a destination filename for restore
    set newname for datafile  1 to
     "+DATA";
    # set a destination filename for restore
    set newname for datafile  3 to
     "+DATA";
    # set a destination filename for restore
    set newname for datafile  4 to
     "+DATA";
    # set a destination filename for restore
    set newname for datafile  2 to
     "+DATA";
    # set an omf destination tempfile
    set newname for clone tempfile  1 to new;
    # set a destination filename for restore
    set newname for datafile  21 to
     "+DATA/edbtest/datafile/ramans.285.714403881";
    # rename all tempfiles
    switch clone tempfile all;
    # restore the tablespaces in the recovery set plus the auxiliary tablespaces
    restore clone datafile  1, 3, 4, 2, 21;
    switch clone datafile all;
    #online the datafiles restored or flipped
    sql clone "alter database datafile  1 online";
    #online the datafiles restored or flipped
    sql clone "alter database datafile  3 online";
    #online the datafiles restored or flipped
    sql clone "alter database datafile  4 online";
    #online the datafiles restored or flipped
    sql clone "alter database datafile  2 online";
    #online the datafiles restored or flipped
    sql clone "alter database datafile  21 online";
    # make the controlfile point at the restored datafiles, then recover them
    recover clone database tablespace  "RAMANS", "SYSTEM", "UNDOTBS1", "UNDOTBS2", "SYSAUX" delete archivelog;
    alter clone database open resetlogs;
    }
    executing Memory Script
    
    executing command: SET until clause
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    renamed tempfile 1 to C:\EDBTEST2_BACKUP\ORADATA\AUXDEST\TSPITR_EDBTEST_SRMK\DATAFILE\O1_MF_TEMP_%U_.TMP in control file
    
    Starting restore at 24-MAR-10
    using channel ORA_AUX_DISK_1
    
    creating datafile file number=21 name=+DATA/edbtest/datafile/ramans.285.714403881
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    channel ORA_AUX_DISK_1: restoring datafile 00001 to +DATA
    channel ORA_AUX_DISK_1: restoring datafile 00003 to +DATA
    channel ORA_AUX_DISK_1: restoring datafile 00004 to +DATA
    channel ORA_AUX_DISK_1: restoring datafile 00002 to +DATA
    channel ORA_AUX_DISK_1: reading from backup piece +FLASH/edbtest/backupset/2010_03_23/nnndn0_tag20100323t120356_0.502.714398639
    channel ORA_AUX_DISK_1: piece handle=+FLASH/edbtest/backupset/2010_03_23/nnndn0_tag20100323t120356_0.502.714398639 tag=TAG20100323T120356
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:09:15
    Finished restore at 24-MAR-10
    
    datafile 1 switched to datafile copy
    input datafile copy RECID=5 STAMP=714493490 file name=+DATA/tspitr_edbtest_srmk/datafile/system.283.714492973
    datafile 2 switched to datafile copy
    input datafile copy RECID=6 STAMP=714493490 file name=+DATA/tspitr_edbtest_srmk/datafile/sysaux.289.714492949
    datafile 3 switched to datafile copy
    input datafile copy RECID=7 STAMP=714493490 file name=+DATA/tspitr_edbtest_srmk/datafile/undotbs1.287.714492935
    datafile 4 switched to datafile copy
    input datafile copy RECID=8 STAMP=714493491 file name=+DATA/tspitr_edbtest_srmk/datafile/undotbs2.288.714492943
    
    sql statement: alter database datafile  1 online
    
    sql statement: alter database datafile  3 online
    
    sql statement: alter database datafile  4 online
    
    sql statement: alter database datafile  2 online
    
    sql statement: alter database datafile  21 online
    
    Starting recover at 24-MAR-10
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting incremental datafile backup set restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    destination for restore of datafile 00001: +DATA/tspitr_edbtest_srmk/datafile/system.283.714492973
    destination for restore of datafile 00003: +DATA/tspitr_edbtest_srmk/datafile/undotbs1.287.714492935
    destination for restore of datafile 00004: +DATA/tspitr_edbtest_srmk/datafile/undotbs2.288.714492943
    destination for restore of datafile 00002: +DATA/tspitr_edbtest_srmk/datafile/sysaux.289.714492949
    channel ORA_AUX_DISK_1: reading from backup piece +FLASH/edbtest/backupset/2010_03_23/nnndn1_tag20100323t124021_0.514.714400821
    channel ORA_AUX_DISK_1: piece handle=+FLASH/edbtest/backupset/2010_03_23/nnndn1_tag20100323t124021_0.514.714400821 tag=TAG20100323T124021
    channel ORA_AUX_DISK_1: restored backup piece 1
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
    
    starting media recovery
    
    archived log for thread 1 with sequence 316 is already on disk as file +FLASH/edbtest/archivelog/2010_03_23/thread_1_seq_316.734.714405211
    archived log for thread 2 with sequence 207 is already on disk as file +FLASH/edbtest/archivelog/2010_03_23/thread_2_seq_207.733.714405211
    archived log file name=+FLASH/edbtest/archivelog/2010_03_23/thread_2_seq_207.733.714405211 thread=2 sequence=207
    archived log file name=+FLASH/edbtest/archivelog/2010_03_23/thread_1_seq_316.734.714405211 thread=1 sequence=316
    media recovery complete, elapsed time: 00:00:02
    Finished recover at 24-MAR-10
    
    database opened
    
    contents of Memory Script:
    {
    # export the tablespaces in the recovery set
    host 'exp userid =
    '********'
     point_in_time_recover=y tablespaces= RAMANS file=
    tspitr_a.dmp';
    # shutdown clone before import
    shutdown clone immediate
    # import the tablespaces in the recovery set
    host 'imp userid =
    '********'
     point_in_time_recover=y file=tspitr_a.dmp';
    # online/offline the tablespace imported
    sql "alter tablespace RAMANS online";
    sql "alter tablespace  RAMANS offline";
    # enable autobackups in case user does open resetlogs from RMAN after TSPITR
    sql 'begin dbms_backup_restore.AutoBackupFlag(TRUE); end;';
    # resync catalog after tspitr finished
    resync catalog;
    }
    executing Memory Script
    
    
    Export: Release 11.1.0.7.0 - Production on Wed Mar 24 14:25:51 2010
    
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    
    
    EXP-00056: ORACLE error 604 encountered
    ORA-00604: error occurred at recursive SQL level 3
    ORA-04031: unable to allocate 88 bytes of shared memory ("shared pool","select /*+ rule */ bucket_cn...","sql area","opn: qkexrInitOpn")
    EXP-00000: Export terminated unsuccessfully
    host command complete
    
    
    Removing automatic instance
    shutting down automatic instance
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 03/24/2010 14:26:09
    RMAN-06136: ORACLE error from auxiliary database: ORA-04031: unable to allocate 544 bytes of shared memory ("shared pool","DBMS_BACKUP_RESTORE","PL/SQL DIANA","
    PAR.C:parapt:Page")
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-04031: unable to allocate 1056 bytes of shared memory ("shared pool","DBMS_BACKUP_RESTORE","PL/SQL DIANA",
    "PAR.C:parapt:Page")
    
    RMAN>

    There is always a problem with error ORA-04031 in 32 bit OS. However, it comes to Database 11G, then I would say to let oracle manage the pool rather doing this bu yourself. I would suggect to remove all manually allocation pool and 1 single value memory_target parameter and restart the database. Oracle MSA will take care of the rest.

  • ORA-04031: unable to allocate 65560 bytes of shared memory ('large pool

    Hello

    I have Oracle Database 10 g Enterprise Edition Release 10.2.0.4.0 and every day, we get the error like:
    ORA-04031: unable to allocate 65560 bytes of shared memory ('great pool...

    I changed workarea_size_policy auto but the sill of problem persist.
    those are my settings:

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    lock_sga boolean FALSE
    PRE_PAGE_SGA boolean FALSE
    very large integer SGA_MAX_SIZE 844 M
    Whole large SGA_TARGET 844M

    NAME
    --------------------------------------------------------------------------------
    VALUE
    --------------------------------------------------------------------------------
    shared_pool_size
    188743680

    LARGE_POOL_SIZE
    16777216

    JAVA_POOL_SIZE
    83886080

    STREAMS_POOL_SIZE
    50331648

    db_cache_size
    536870912

    Thank you

    user10071385 wrote:
    How can I increase sga_target and sga_max_size?

    Personally, I prefer to keep at least 512 MB of space to EAMA to play with, after you set the minimum values for each zone in SGA but YMMV.

  • "ORA-04031: unable to allocate shared memory..." with the parameter 'ddltxt_ knglddl '.

    Hi experts.

    Exadata, RAC DBMS EE 11.2.0.3.22, downstream from DB1 to DB2 replication on the same server.

    Maintenance of DB1 with DB rebound before a problem occurred.

    AMM on target DB.

    Original values:

    • memory_target - 6 GB
    • STREAMS_POOL_SIZE - 2GB

    ORA-04031: could not allocate 17859792 bytes of shared memory ('pool of water', 'unknown object', 'capture shared','ddltxt_knglddl' ") error trying to start the capture process.

    As in " " Note: 1521925.1 " ORA-4031 Troubleshooter" total memory and streams_pool_size rose:

    • memory_target - 2 GB plus 8 GB
    • STREAMS_POOL_SIZE - 128 M PLUS 2,125 GB. No possibility of increase of more than + 128 M

    Same error when starting capture.

    Investigation on MOS, shared from google on the capture of " " "ddltxt_knglddl","" gave practically nothing. "

    SR on created MOS. Nothing so far.

    Please advice. All thoughts are welcome.

    Thanks in advance for loans to help.

    Kind regards

    Igoroshka.

    Problem solved.

    Error reported a memory of 17859792 bytes. Increase the memory up to 12 GB, configuration of different sizes for streams_pool_size has not solved a problem.

    Analysis of pieces of free memory shown the biggest chunk of size in less than 17859792 bytes.

    After reset sga_max_size (or updated grater value than 8 GB) problem has been resolved. Looks like it was related to the size of granule. With size of granule sga_max_size > 8 GB has increased from 16 MB to 32 MB.

  • ORA-01110: data file 1: ' / u01/app/oracle/oradata/tbmdb/system01.dbf'

    I'm back RMAN.

    For purposes of experience, I moved control02.ctl of actual position and then restore the backup. After you restore successfully, I couldn't open DB again and meet the error ORA-01110, I need your help to understand the error on my part and its resolution.

    RMAN> restore controlfile from '/u01/app/oracle/fast_recovery_area/TBMDB/backupset/2013_03_26/o1_mf_ncsnf_TAG20130326T164239_8o32h84t_.bkp';
    
    Starting restore at 27-MAR-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=129 device type=DISK
    
    channel ORA_DISK_1: restoring control file
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
    output file name=/u01/app/oracle/oradata/tbmdb/control01.ctl
    output file name=/u01/app/oracle/fast_recovery_area/tbmdb/control02.ctl
    Finished restore at 27-MAR-13
    $sqlplus / as sysdba
    
    SQL> startup
    ORACLE instance started.
    
    Total System Global Area  521936896 bytes
    Fixed Size              2229944 bytes
    Variable Size            402655560 bytes
    Database Buffers       109051904 bytes
    Redo Buffers              7999488 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    
    SQL> alter database open resetlogs;
    alter database open resetlogs
    *
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u01/app/oracle/oradata/tbmdb/system01.dbf'
    Published by: malhi on 27 March 2013 23:55

    Hello;

    It looks like how you restored the control antagonized file a copy who did align with current data files.

    I just tested this I'll now what I did different here in a moment.

    My test:

    http://www.Visi.com/~mseberg/RMAN/simulating_loss_of_control_files_rman.html

    The link shows all the details. What jumps out is two things. I put the DBID and I let RMAN decide what control file to restore. View I had the same ORA-01589 like you and how I recovered from it.

    RMAN > restore database;
    SQL > alter database open resetlogs;
    RMAN > reset database;

    and then the test data.

    Best regards

    mseberg

    Published by: mseberg on March 28, 2013 02:22

Maybe you are looking for

  • Firefox hangs at startup on Android Tablet

    We have almost 600 Android Samsung Galaxy Tablet 10.1 with 16.02 installed Firefox. Starting last night, almost every one of them is to get a Firefox crashed message at startup. We tried to upgrade to 18 years, but this does not solve it. So far, the

  • 350 laptop G1: Touchpad does not work after open the cover.

    Whenever I close the lid, when I open again the touchpad does not work. I have to restart or put the computer to sleep in order until the beginning of touchpad working again.

  • HP 635 EN: lost bios passwod

    HP laptop computer 635 FR. I forgot the bios password on my HP 635. After 3 attempts it disables the use of give me this number 50252492. Can someone help me please!

  • receive an error code

    The connection to the server has failed. Account: 'mail.hughes.net', server: 'mail.hughes.net', Protocol: POP3, Port: 110, secure (SSL): no, Socket error: 10060, error number: 0x800CCC0E can you all help me to solve this problem?

  • Windows Mail: error 0x800ccc90 password

    Account: 'pop.ntlworld.com', server: 'pop.ntlworld.com', Protocol: POP3, server response: '-ERR error Protocol.', Port: 110, secure (SSL): no, Server error: 0x800CCC90, error number: 0x800CCC91