ORA-12096 error in the log of the materialized on %s view. %s

Hello
I confronted the message special error 'error ORA-12096 in materialized view to connect... ". "When you try to insert it into a table. But... There is not a newspaper of view materialized (none in the current schema or the schema of other users).


Note: I use OraDB10g v2

Thank you.. .to much
SIM

SIM,
There should be a mview newspaper that would create this error. This first success looking on google,
http://www.orafaq.com/Forum/t/66160/0/
Check 3 queries mentioned in there with mview and post comments. I hope that we would get little lead.
See you soon
Aman...

Tags: Database

Similar Questions

  • ORA-00205: error in the identification of control files, see log alerts for more information

    Hello

    I'm putting it on oracle 11.2.0.1 to 11.2.0.3 DB level but during DBUA, I got error

    "ORA-00205: error in the identification of control files, check the log of alerts for more information.


    I have check the alerts log in E:\app\kmahalingam\diag\rdbms\orcl\orcl\trace\alert_orcl.txt

    Starting ORACLE instance (normal)

    LICENSE_MAX_SESSION = 0

    LICENSE_SESSIONS_WARNING = 0

    SNA system picked latch-free 3

    With the help of LOG_ARCHIVE_DEST_1 parameter value by default as USE_DB_RECOVERY_FILE_DEST

    Autotune undo retention is enabled.

    IMODE = BR

    ILAT = 51

    LICENSE_MAX_USERS = 0

    SYS audit is disabled

    Commissioning:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With the options of partitioning, OLAP, Data Mining and Real Application Testing.

    Windows NT Version V6.1 Service Pack 1

    UC: 8 - type 8664, 8 physical cores

    Process affinity: 0 x 0 x 0000000000000000

    Memory (success/Total): Ph: 3241 M / 16383 M, Ph + FCP: 16565 M / 32765 M

    Using parameters in spfile E:\APP\KMAHALINGAM\PRODUCT\11.2.0\DBHOME_2\DATABASE\SPFILEORCL server-side. ORA

    Parameters of the system with default values:

    process = 300

    sessions = 472

    memory_target = 3280M

    control_files = 'E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL.

    control_files = 'E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL.

    DB_BLOCK_SIZE = 8192

    compatible = "11.2.0.0.0."

    db_recovery_file_dest = 'E:\app\kmahalingam\flash_recovery_area. '

    db_recovery_file_dest_size = 3912M

    undo_tablespace = 'UNDOTBS1.

    Remote_login_passwordfile = "EXCLUSIVE."

    db_domain = "cpg.com."

    dispatchers = "(PROTOCOL=TCP) (SERVICE = orclXDB)" "

    audit_file_dest = "E:\APP\KMAHALINGAM\ADMIN\ORCL\ADUMP".

    AUDIT_TRAIL = 'NONE '.

    db_name = "orcl".

    open_cursors = 300

    star_transformation_enabled = 'TRUE '.

    diagnostic_dest = "E:\APP\KMAHALINGAM".

    Fri Mar 07 00:33:15 2014

    PMON started with pid = 2, OS id = 25072

    Fri Mar 07 00:33:15 2014

    PSP0 started with pid = 3, OS id = 25688

    Fri Mar 07 00:33:16 2014

    VKTM started with pid = 4, OS id = 27608 high priority

    VKTM clocked at (10) precision of milliseconds with DBRM quantum (100) ms

    Fri Mar 07 00:33:16 2014

    GEN0 started with pid = 5, OS id = 11484

    Fri Mar 07 00:33:16 2014

    DIAG started with pid = 6, OS id = 16980

    Fri Mar 07 00:33:16 2014

    DBRM started with pid = 7, OS id = 2200

    Fri Mar 07 00:33:16 2014

    DIA0 started with pid = 8, OS id = 8024

    Fri Mar 07 00:33:16 2014

    MA started with pid = 9, OS id = 15688

    Fri Mar 07 00:33:16 2014

    DBW0 started with pid = 10, OS id = 19908

    Fri Mar 07 00:33:16 2014

    LGWR started with pid = 11, OS id = 22616

    Fri Mar 07 00:33:16 2014

    CKPT started with pid = 12, OS id = 12828

    Fri Mar 07 00:33:16 2014

    SMON started with pid = 13, OS id = 10184

    Fri Mar 07 00:33:16 2014

    RECCE has started with pid = 14, OS id = 28984

    Fri Mar 07 00:33:16 2014

    MMON started with pid = 15, OS id = 22288

    Fri Mar 07 00:33:16 2014

    MMNL started with pid = 16, OS id = 12072

    commissioning 1 dispatcher (s) for '(ADDRESS =(PARTIAL=YES) (PROTOCOL = TCP))' network address...

    commissioning or shared server 1...

    Environment ORACLE_BASE = E:\app\kmahalingam

    Fri Mar 07 00:33:16 2014

    ALTER DATABASE MOUNT

    ORA-00210: could not open the specified control file

    ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) the system cannot find the file specified.

    ORA-00210: could not open the specified control file

    ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) the system cannot find the file specified.

    ORA - 205 marked during: ALTER DATABASE MOUNT...

    Fri Mar 07 00:34:46 2014

    ALTER DATABASE MOUNT

    Fri Mar 07 00:34:46 2014

    ORA-00210: could not open the specified control file

    ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) the system cannot find the file specified.

    ORA-00210: could not open the specified control file

    ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) the system cannot find the file specified.

    ORA - 205 marked during: ALTER DATABASE MOUNT...

    Fri Mar 07 00:45:51 2014

    change the database editing

    Fri Mar 07 00:45:51 2014

    ORA-00210: could not open the specified control file

    ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) the system cannot find the file specified.

    ORA-00210: could not open the specified control file

    ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) the system cannot find the file specified.

    ORA - 205 scored at the course: change the editing of the database...

    Fri Mar 07 00:48:13 2014

    change the database editing

    Fri Mar 07 00:48:13 2014

    ORA-00210: could not open the specified control file

    ORA-00202: control file: ' E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL'

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) the system cannot find the file specified.

    ORA-00210: could not open the specified control file

    ORA-00202: control file: ' E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL'

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) the system cannot find the file specified.

    ORA - 205 scored at the course: change the editing of the database...

    Fri Mar 07 00:52:34 2014

    Derives from detected time. Check the file path VKTM for more details.

    Fri Mar 07 00:53:46 2014

    Closure of proceedings (immediate)

    Closure of proceedings: in addition to logons disabled

    Stop background MMNL process

    MMON background process stop

    The high waters = 1 license

    All dispatchers/dispatchers and shared servers stop

    ALTER DATABASE CLOSE NORMAL

    ORA-1507 marked during: ALTER DATABASE CLOSE NORMAL...

    ARCH: Disabled archives due to the stop: 1089

    Stop process to archive

    Archiving is disabled

    ARCH: Disabled archives due to the stop: 1089

    Stop process to archive

    Archiving is disabled

    Fri Mar 07 00:53:49 2014

    Stop background VKTM process

    Fri Mar 07 00:53:51 2014

    Instance shutdown complete

    Fri Mar 07 00:54:01, 2014

    Setting the default value of the parameter parallel_max_servers

    320 to 285 because of the value of the process parameters (300)

    Help, please

    Thank you

    According to spfile.

    control_files = 'E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL01. CTL.

    control_files = 'E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\CONTROL02. CTL.

    You mentioned

    Davinapochon wrote:

    E:\APP\KMAHALINGAM\ORADATA\ORCL\CONTROL02. CTL file is there but there is no CONTROL01. CTL file.

    So little confused here.

    E:\APP\KMAHALINGAM\ORADATA\ORCL\--> must contain CONTROL01. CTL

    E:\APP\KMAHALINGAM\FLASH_RECOVERY_AREA\ORCL\--> must contain CONTROL02. CTL

    What is it now?

    Anand

  • ORA-12096: error in materialized view log

    Hi all


    I had created a display of fast refresh materialized. Log was also created.

    Now, I dropped the mv and newspapers.

    But now, every time I update or insert into the customer table I receive the error message.


    ORA-12096: error in materialized view log on the client
    ORA-00942: table or view does not exist

    There are entries in the DBA_MVIEW_LOGS for the customer table.

    Please suggest.

    Hello

    Which version of the database, you are on?
    And you have access to the Oracle Metalink/My Support?

    Found this, by the way:

    ORA-12096: error in materialized view log

    If problems occur when you try to access a log of a materialized view, the system issues an error ORA-12096 which is followed by the actual error. If the error ORA-12096 is accompanied by a message ORA-00942, the problem may be due to a reorganization in line which was only partially cancelled. In this case, you can remove the log file for manually materialized view (after checking that it is no longer necessary):

    DROP NEWSPAPER MATERIALIZED VIEWS

    ;

    Published by: hoek on July 29, 2009 14:15

  • DB not starting not due ORA-00205: error in the identification of 11GRAC control file

    Hello

    I have it configured in the OEL5 11 g RAC (11.2.0.1.0). When I tried to start the database using the command srvctl or by manually I get the below error. \

    RPRC-1079: failed to start of ora.rac.db resources

    ORA-00205: error in the identification of control files, see log alerts for more information

    CRS-2674: beginning of 'ora.rac.db', 'ractwo' failed

    CRS-2632: there is no more servers to try to place the "ora.rac.db" resource on which will achieve its investment policy

    ORA-00205: error in the identification of control files, see log alerts for more information

    CRS-2674: beginning of 'ora.rac.db', 'racone' failed

    The content of the alert below log.

    ORA-00210: could not open the specified control file

    ORA-00202: control file: "+ RACDG/rac/controlfiles/control02.ctl".

    ORA-17503: ksfdopn:2 could not open the file +RACDG/rac/controlfiles/control02.ctl

    ORA-15001: diskgroup 'RACDG' does not exist or is not mounted

    ORA-15055: unable to connect to the ASM instance

    ORA-27140: attach to post/wait installation failed

    ORA-27300: OS dependent operating system: invalid_egid failed with status: 1

    ORA-27301: OS Error Message: operation not permitted

    ORA-27302: an error occurred at: skgpwinit6

    ORA-27303: additional information: current startup egid = 500 (oinstall), egid = 503 (asmadmin)

    ORA-00210: could not open the specified control file

    ORA-00202: control file: "+ RACDG/rac/controlfiles/control01.ctl".

    ORA-17503: ksfdopn:2 could not open the file +RACDG/rac/controlfiles/control01.ctl

    ORA-15001: diskgroup 'RACDG' does not exist or is not mounted

    ORA-15055: unable to connect to the ASM instance

    ORA-27140: attach to post/wait installation failed

    ORA-27300: OS dependent operating system: invalid_egid failed with status: 1

    ORA-27301: OS Error Message: operation not permitted

    ORA-27302: an error occurred at: skgpwinit6

    ORA-27303: additional information: current startup egid = 500 (oinstall), egid = 503 (asmadmin)

    But my ASM instance is running and I am able to see the controlfiles.

    State Type sector Rebal to Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files name of the block

    EXTERN MOUNTED N 512 4096 1048576 20472 13772 0 13772 0 N RACDG.

    I don't know is there any problem of perission. Oracle cluster and DB is running as user 'oracle '.

    Nobody does face this problem before? Let me know where to check this error.

    Kind regards

    007

    Hello

    Check "the correct permission must be" - rwsr - s - x '.»»»

    Stop the CRS.
    Change the permissions of the file to GI_HOME/bin/oracle for "- rwsr - s - x":

    $su - grid
    $cd GI_HOME/bin
    $chmod 6751 oracle
    Oracle-l $ls

    Start the /CRS.

    Start your database.

    Thank you

    Sundar

  • upgrading startup ORA-00205: error in the identification of control files

    Hello
    I do a manual upgrade of 10.2.04 to 11.2.03.

    I installed 11.2.0.3.
    Ran utlu112i.sql
    Copied TNSNAMES and LISTENER.ora, init.ora of 10g of House to the respective directories in 11g.
    A commented all the dump_dest paramteres in init.ora 11g and added the diagnostic_dest parameter

    exports all varaiables as follows.

    Export ORACLE_HOME = / oracle/ora11203
    export PATH = $ORACLE_HOME/bin: $PATH
    export ORACLE_SID = OMIGTEST
    Export TNS_ADMIN = $ORACLE_HOME/network/admin
    export ORACLE_BASE = / oracle/ora11203/app/ora11203

    Now when I try to start DB of the unix session where all above variables are defined, I get after publication.
    SQL> startup upgrade
    ORACLE instance started.
    
    Total System Global Area 1636892672 bytes
    Fixed Size                  2183056 bytes
    Variable Size            1090519152 bytes
    Database Buffers          536870912 bytes
    Redo Buffers                7319552 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    
    Alert log says as below.
    
    ORACLE_BASE from environment = /oracle/ora11203/app/ora11203
    Thu Aug 23 15:03:36 2012
    ALTER DATABASE   MOUNT
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '/oracle/ora11203/dbs/cntrlOMIGTEST.dbf'
    ORA-27037: unable to obtain file status
    HPUX-ia64 Error: 2: No such file or directory
    Additional information: 3
    ORA-205 signalled during: ALTER DATABASE   MOUNT...
    In init.ora 11 g (which is copied from 10 g), I commented on our path of control file entry.

    Well want to help me because I do the upgrade for the first time.

    Thank you

    Published by: user10698496 on August 24, 2012 02:47

    Yes.

    BR,
    Pinela.

  • Get ORA-00942 error with the clause, but not when the user sys.

    Hello

    About 3 weeks ago we increased our memary to PGA_aggregate_target = 60 GB, SGA_target = 58 GB Oracle instance. About 1 week ago our cognos user started having errors ORA-00942 for these queries generated with clause, with the same authorization. i.e.

    with 'aBmtQuerySubject4' as
    (select "BANK_NOTE_ADI_INFO_T". ' ' PRINT_BATCH_ID ' 'PRINT_BATCH_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
    'BANK_NOTE_ADI_INFO_T '. ' ' RDP_ID ' 'RDP_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' FI_ID ' 'FI_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' DEPOSIT_NB ' 'DEPOSIT_NB '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_MACHINE_ID ' 'PROCESS_MACHINE_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' OUTPUT_STACKER_TYPE_CE ' 'OUTPUT_STACKER_TYPE_CE '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PARTITION_KEY ' 'PARTITION_KEY '.
    'BANK_NOTE_ADI_INFO_T '. ' ' LOAD_ID ' 'LOAD_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' SERIAL_NUMBER_ID ' 'SERIAL_NUMBER_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' SHIFT_NB ' 'SHIFT_NB '.
    'BANK_NOTE_ADI_INFO_T '. ' ' BANK_NOTE_COUNT_NB ' 'BANK_NOTE_COUNT_NB '.
    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    )
    'CountResultQuery5' as
    (select count ("aBmtQuerySubject4". "BANK_NOTE_COUNT_NB") 'C_1' "
    , count (1) 'C_2' of 'aBmtQuerySubject4 '.
    After having count (*) > 0)
    Select 'CountResultQuery5 '. "' C_2 ' 'Count1.
    of 'CountResultQuery5 '.
    ;


    with 'aBmtQuerySubject4' as
    (select "BANK_NOTE_ADI_INFO_T". ' ' LOAD_ID ' 'LOAD_ID '.
    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    )
    'CountResultQuery5' as
    (select count ("aBmtQuerySubject4". "LOAD_ID") 'C_1' "
    , count (1) 'C_2 '.
    of 'aBmtQuerySubject4' having count (*) > 0
    )
    Select 'CountResultQuery5 '. "' C_2 ' 'Count1' of 'CountResultQuery5 '.
    ;

    -output like:

    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
    *
    ERROR at line 3:
    ORA-00942: table or view does not exist


    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    *
    ERROR at line 3:
    ORA-00942: table or view does not exist

    Since 2 days ago, we get ORA-0403.

    One thing I noticed that the coguser can run above queries correctly after they are run by a user sys...

    Could you please help me on how I can resolve ORA-00942 error?

    Thank you very much, much in advance for all your help and your advice! :-)

    Jihong.

    "One thing I've noticed the coguser can run over queries correctly after they are run by a user sys... »

    Jihong,

    Do you mean that queries can be run successfully as a sys user, or as long as once a sys cognos user user has run the query at least once?

    Gerard

  • ORA-12545 error when the connection to the remote server

    Hello

    Env: Oracle 11 2 Client (11.2.0.1) on Oracle Linux 5.8 GR 64 bit

    DB server: Oracle 11 g 2 (11.2.0.3.6) on Oracle Linux 6.2 64bits

    I have installed Oracle 11 GR 2 client on a server and created the tnsnames.ora with required entry.

    When I try to connect to the databases on the server of remote database using the suite in two ways, one of them give me error "ORA-12545". Do not know why.

    [oracle@server ~] $ sqlplus scott/tiger@proddb01

    SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:24:58 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > exit

    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    [oracle@server ~] $ sqlplus

    SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:25:04 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Enter the user name: scott

    Enter the password:

    ERROR:

    ORA-12545: Connect failed because target host or object does not exist

    Enter the user name:

    Here's my env:

    [oracle@server ~] $ echo $ORACLE_SID

    PRODRD01

    [oracle@server ~] $ echo $ORACLE_HOME

    /opt/Oracle/app/product/11.2.0/Client_1

    [oracle@server ~] $

    Input TNS is:

    PRODRD01 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = server.whatever.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = PRODRD01)

    )

    )

    I tried to replace the host name and IP address, I still got the same error. The host name of the server database and IP entry does not exist in the file "/ etc/hosts. Could this be the cause? I can't edit the file "/ etc/hosts" and I couldn't convince the sys-admin to add the hostname of Server DB and IP entry to this file.

    Clues please?

    Best regards

    user130038 wrote:

    Hello

    Env: Oracle 11 2 Client (11.2.0.1) on Oracle Linux 5.8 GR 64 bit

    DB server: Oracle 11 g 2 (11.2.0.3.6) on Oracle Linux 6.2 64bits

    I have installed Oracle 11 GR 2 client on a server and created the tnsnames.ora with required entry.

    When I try to connect to the databases on the server of remote database using the suite in two ways, one of them give me error "ORA-12545". Do not know why.

    [oracle@server ~] $ sqlplus scott/tiger@proddb01

    SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:24:58 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > exit

    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    [oracle@server ~] $ sqlplus

    SQL * more: Production of release 11.2.0.1.0 game Apr 10 12:25:04 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Enter the user name: scott

    Enter the password:

    ERROR:

    ORA-12545: Connect failed because target host or object does not exist

    Enter the user name:

    Here's my env:

    [oracle@server ~] $ echo $ORACLE_SID

    PRODRD01

    [oracle@server ~] $ echo $ORACLE_HOME

    /opt/Oracle/app/product/11.2.0/Client_1

    [oracle@server ~] $

    Input TNS is:

    PRODRD01 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = server.whatever.com) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = PRODRD01)

    )

    )

    I tried to replace the host name and IP address, I still got the same error. The host name of the server database and IP entry does not exist in the file "/ etc/hosts. Could this be the cause? I can't edit the file "/ etc/hosts" and I couldn't convince the sys-admin to add the hostname of Server DB and IP entry to this file.

    Clues please?

    Best regards

    When '@proddb01' is not used, then sqlplus can only connect to a local database, & there is no local database on the client system

  • ORA-01502 error in the case of a unique index unusable and dml in bulk

    Hi all.

    The BP is 11.2.0.3 on a linux machine.

    I did a unique index unusable and issued a dml on the table.
    Howerver, oracle gave me the error ORA-01502.

    In order to avoid the ORA-01502 error, should I drop the unique index and bulk make dml and rebuild the index?

    Or is there another solution without recreating the unique index?
    create table hoho.abcde as
    select level col1 from dual connect by level <=1000 
    
    10:09:55 HOHO@PD1MGD>create unique index hoho.abcde_dx1 on hoho.abcde (col1);
    
    Index created.
    
    10:10:23 HOHO@PD1MGD>alter index hoho.abcde_dx1 unusable;
    
    Index altered.
    
    Elapsed: 00:00:00.03
    10:11:27 HOHO@PD1MGD>delete from hoho.abcde where rownum < 11;
    delete from hoho.abcde where rownum < 11
    *
    ERROR at line 1:
    ORA-01502: index 'HOHO.ABCDE_DX1' or partition of such index is in unusable state
    Thanks in advance.
    Best regards.
    Do I have to accept the unique index maintenance workload(undo generation/redo for undo generation)
    when doing bulk dml?
    

    I think so.

    The amount of data you load compared to existing data in the table?

    If say for example, you add 20%, and then to compare the retention of 20% adds data during the major part collect to create all of the index after insertion so
    you choose the drop/recreate the unique index

    Best regards

    Mohamed Houri
    www.hourim.WordPress.com

  • View materialized, ORA-12008: error in the path of refresh materialized view

    I want to refresh a materialized view, but I get an error ORA-12008.
    Does anyone have an idea? I can't find any errors in my update statement.
    CREATE MATERIALIZED VIEW scott.dummy_mv
      TABLESPACE test
      BUILD IMMEDIATE
      USING INDEX TABLESPACE idx_test
      REFRESH 
         START WITH sysdate 
         NEXT ROUND(SYSDATE)+5/24          
         WITH PRIMARY KEY
      ENABLE QUERY REWRITE
      AS
      SELECT KM.ID ID
              ,KM.USERNAME USERNAME
           ,KM.ABTID ABTID     
      FROM my_table KM
    /
    
    scott@orcl>desc dummy_mv
     Name                                      Null?    Typ
     ----------------------------------------- -------- ----------------------------
     ID                                        NOT NULL NUMBER(4)
     USERNAME                                  NOT NULL VARCHAR2(30)
     ABTID                                     NOT NULL NUMBER(4)
    
    scott@orcl>
    
    
    BEGIN 
      SYS.DBMS_JOB.REMOVE(6579);
    COMMIT;
    END;
    /
    
    DECLARE
      X NUMBER;
    BEGIN
      SYS.DBMS_JOB.SUBMIT
      ( job       => X 
       ,what      => 'dbms_refresh.refresh(''"scott"."dummy_mv"'');'
       ,next_date => to_date('07.01.2009 05:00:00','dd/mm/yyyy hh24:mi:ss')
       ,interval  => 'ROUND(SYSDATE)+5/24              '
       ,no_parse  => FALSE
      );
      SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    COMMIT;
    END;
    /
    
    scott@orcl>exec dbms_refresh.refresh('dummy_mv');
    BEGIN dbms_refresh.refresh('dummy_mv'); END;
    
    *
    FEHLER in Zeile 1:
    ORA-12008: error in materialized view refresh path
    ORA-00947: not enough values
    ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 820
    ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 877
    ORA-06512: in "SYS.DBMS_IREFRESH", Zeile 683
    ORA-06512: in "SYS.DBMS_REFRESH", Zeile 195
    ORA-06512: in Zeile 1
    
    scott@orcl>

    dealer says:
    I get the same error:

    scott@orcl>exec dbms_mview.refresh('dummy_mv','c');
    BEGIN dbms_mview.refresh('dummy_mv','c'); END;
    
    *
    FEHLER in Zeile 1:
    ORA-12008: error in materialized view refresh path
    ORA-00947: not enough values
    ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 820
    ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 877
    ORA-06512: in "SYS.DBMS_SNAPSHOT", Zeile 858
    ORA-06512: in Zeile 1
    

    I would first check "request" from the view of the DBA_SNAPSHOTS/DBA_MVIEWS dictionary information, if it reveals something obvious.

    But it looks more like an internal error when processing the update. You can get more information on the follow-up to the session error. "Alter session set sql_trace = true;" before running the update should be sufficient. Then unplug and check the trace file generated error using "tkprof" and check the output or by searching manually "err =" in the trace file.

    What 4 numbers of Oracle version do you use?

    Kind regards
    Randolf

    Oracle related blog stuff:
    http://Oracle-Randolf.blogspot.com/

    SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676 /.
    http://sourceforge.NET/projects/SQLT-pp/

  • ' RMAN: ORA-19502: error on the write file.

    Hi all

    I have an oracle 9.2.0.6, I take primary database backup, my DB is on Sun box and the data file are raw file systems...


    But while taking backup I get an error...


    I checked on the internet and I got to know that the error occurred because of the space as such catalogue is on win 2003 oracle db catalog House is having 20 GB of space, while I take backup H:\ here I'm not having more than 100 GB of space...

    Please help me solve this problem...
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ch1 channel at 05/11/2009 13:00:19
    ORA-19502: write error on file "H:\mainbackup\bk_inc0_65_1", blockno 269825 (blo
    cksize=8192)
    ORA-27063: skgfospo: number of bytes read/written is incorrect
    Additional information: 131072
    Additional information: 1048576

    The catalog database can be "everywhere". Logically, it makes sense that it is NOT on the same server as the database target.

    However, the server on the target database process is one that reads the database files. The server process must connect AS SYSDBA.
    See
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14192/setup003.htm#sthref211

    See MetaLink Note # 145843.1 which explains how an RMAN backup of a database on the TARGET computer can write to a drive mounted shared on the network. This is the TARGET database server that must be able to 'see' the shared drive. (The Note covers installation of Windows privileges).
    The RMAN Script must specify the mapping that the TARGET server uses for the drive shared as destination drive BackupSet. For example, a database on a Windows Server can write to a drive that is mapped from another Windows Server.

    For the database on the Solaris server to write to your disk in Windows, you must use NFS, such as Windows 'export' the reader and Solaris Server "monte" drive with a name of 'local' mapping (for example/MNT) and not a name of windows.

  • Connection error to the login server to view while adding the view composer

    Hello

    I added VM Vcenter server successfully to the server connection in my opinion. now, I'm trying to add server offline view composer to the login server setting. I get the error message

    Unable to connect to view the composer.

    Thanks in advance for any help

    Hi, could you please download the log files. Check the link mentioned below, it will help you.

    VMware View 5.2 Documentation Library

  • error in the extension of redo logs

    Dear friends,

    I just tried a few measures to extend some redologs and it worked.

    Applied to a different database and problems.

    Please guide me.

    alter database drop logfile Group 1;

    change the database
    Add logfile group 1 ('F:\DEV\REDO01.) LOG ') SIZE 20 M;

    error: ORA-00301: Error adding the log file ' F:\DEV\REDO01. NEWSPAPER "-could not create the file"
    ORA-27038: created file already exists
    OSD-04010: < create > option specified, the file already exists

    But the first line was a success.

    Please help me.

    Nith

    alter database add logfile group 1 ('F:\DEV\REDO01.) LOG ') SIZE 20 M REUSE;

  • meet the ORA-39000: specification of the bad dump file when using datapump

    Hello
    I am using datapump to export a schema (Meta_data only). However, I would like to be named after the date and time of export taken the dump file.

    When I use the following command - the job runs perfectly.
    expdp system@*** dumpfile = expdp-'date' + %m %%d Y_ hour %M %s ".dmp logfile EXP_DP = directory = expdp-'date' + %m %%d Y_ hour %M %s".log SCHEMAS = MARTMGR CONTENT = METADATA_ONLY


    However, I want to run the export using a parfile. But if use below parfile, I encounter the following errors.

    UserID=System@***
    DIRECTORY = EXP_DP
    SCHEMAS = TEST
    dumpfile = expdp-'date' + %m %%d Y_ hour %M %s "
    LOGFILE = MARTMGR.log
    CONTENT = METADATA_ONLY

    expdp parfile = martmgr.par

    Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
    With the partitioning option
    ORA-39001: invalid argument value
    ORA-39000: bad dump file specification
    ORA-39157: Error adding the file extension "expdp-'date' + %m %%d Y_ hour %M %s".
    ORA-07225: sldext: translation error, impossible to expand file name.
    Additional information: 7217



    How do I add the date and time of the dumpfile when you use a parfile.

    Thank you
    Rohit

    You can do this in a script

    setenv cur_date 'date' + %m %y %d "

    then, when you give parameters

    dumpfile = dumpfile_$ cur_date.dmp

  • error in the identification of control for 11g update files...

    No 64-bit RAC ASM OEL4 Oracle10gR2

    Hi all

    I try to update our data base to 11g and I get the following error when I try to start the database with the command START UPGRADE. I make a manual level and following the upgrade guide:


    SQL > startup pfile='/opt/app/oracle/product/11.1.0/db_1/dbs/initFPRCTEMP.ora upgrade ';
    ORACLE instance started.

    Total System Global Area 4275781632 bytes
    Bytes of size 2151248 fixed
    2617248944 variable size bytes
    1644167168 of database buffers bytes
    Redo buffers 12214272 bytes
    ORA-00205: error in the identification of control files, see log alerts for more information

    When I checked the alertlog I found the following:

    ORA-00210: could not open the specified control file
    ORA-00202: control file: "+ FLASH1/fprctemp/controlfile/ctrl02_fprctemp.ctl".
    * Ksfdopn:2-ORA-17503: could not open the file +FLASH1/fprctemp/controlfile/ctrl02_fprctemp.ctl*
    ORA-15001: diskgroup "FLASH1" does not exist or is not mounted
    ORA-15077: could not locate instance ASM serving a required diskgroup
    ORA-29701: unable to connect to the Cluster Manager
    ORA-00210: could not open the specified control file
    ORA-00202: control file: "+ DATA1/fprctemp/controlfile/ctrl01_fprctemp.ctl".
    * Ksfdopn:2-ORA-17503: could not open the file +DATA1/fprctemp/controlfile/ctrl01_fprctemp.ctl*
    ORA-15001: diskgroup 'DATA1' does not exist or is not mounted
    ORA-15077: could not locate instance ASM serving a required diskgroup
    ORA-29701: unable to connect to the Cluster Manager
    Thu Aug 28 14:54:49 2008
    Running the Checker found 2 new failures of persistent data
    ORA - 205 marked during: ALTER DATABASE MOUNT...


    What's weird, is that I checked and the ASM instance is running. I checked all the environment variables (PATH and new home of 11g ORACLE_HOME) and I also put the oratab entry to point to the new home of the Oracle, as indicated in the documentation. Here are my entries in the .bash_profile file and the oratab file.

    # .bash_profile

    # Get the aliases and functions
    If [~/.bashrc - f]; then
    . ~/.bashrc
    FI

    # Specific programs startup and user environment

    $PATH = path: $HOME/bin

    stty erase ^ H

    ORACLE_BASE = / opt/app/oracle
    ORA_HTTP_HOME=/opt/app/Oracle/product/10.2.0/http_1
    ORACLE_HOME=/opt/app/Oracle/product/11.1.0/Db_1
    ORACLE_ASM_HOME=/opt/app/Oracle/product/10.2.0/asm_1
    ORACLE_SID = FPRCTEMP
    ORA_NLS10=$ORACLE_BASE/product/10.2.0/Db_1/NLS/data
    TNS_ADMIN=$ORACLE_BASE/product/10.2.0/Db_1/network/admin
    LD_LIBRARY_PATH=$ORACLE_BASE/product/11.1.0/Db_1/lib:$ORACLE_BASE/product/10.2.0/http_1/lib
    TEMP = / tmp

    export ORA_HTTP_HOME
    export ORACLE_SID
    export ORACLE_BASE
    Export ORACLE_HOME
    export ORACLE_ASM_HOME
    export ORA_NLS10
    Export TNS_ADMIN
    export LD_LIBRARY_PATH
    Export TMP
    export of TEMP

    username not defined

    $PATH = path: $HOME/BIN: $ORACLE_HOME/bin: $ORACLE_HOME/OPatch: $ORA_HTTP_HOME/opmn/bin: $LD_LIBRARY_PATH

    export PATH
    umask 022
    username not defined


    the oratab file entry:

    *:/opt/app/Oracle/product/10.2.0/http_1:N
    +ASM:/opt/app/Oracle/product/10.2.0/asm_1:Y
    FPRCTEMP:/opt/app/Oracle/product/11.1.0/Db_1:Y


    Thanks to you all.

    HM... Please take a look at ML -Note: 337737.1 (I just mention the combinations with an 11 g database)-I noticed that you do not have a RAC installation but nevertheless you CSS running to your instance of the DSO.

    CRS... ASM............ DB... Certified
    ------------------------------------------------
    11.1___11.1___11.1___Y
    11.1.___10.2___11.1___Y
    11.1___10.1.0.3__11.1___Y

    If upgrading the ASM instance should first solve this problem. The upgrade of the ASM means: you stop your database running in ASM and upgrade ASM with the DBUA instance. It'll take a few minutes, because there is no dictionary database in ASM.

    Kind regards
    Mike

    Published by: Mike Dietrich on August 29, 2008 17:26

  • ORA-00205: error in identifying controlfile

    Hello everyone,

    I have spend 10.2.0.2 to 11.2.0.4, when I start my DB I ora-00205: error in identifying controlfile

    SQL > startup pfile = upgrade ' / DISK3/app/oracle/product/11.2.0/db1/dbs/initPROD.ora'

    ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated.

    ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated.

    ORA-25138: PLSQL_NATIVE_LIBRARY_DIR initialization parameter has been deprecated

    ORA-25138: PLSQL_NATIVE_LIBRARY_SUBDIR_COUNT initialization parameter has been deprecated

    ORA-32006: LOG_ARCHIVE_START initialization parameter has been deprecated.

    ORACLE instance started.

    Total System Global Area 2142679040 bytes

    Bytes of size 1365828 fixed

    486541500 variable size bytes

    1627389952 of database buffers bytes

    Redo buffers 27381760 bytes

    ORA-00205: error in the identification of control files, see log alerts for more information

    SQL > show parameter control_files;

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    control_files string DISK11/d01/oracle/PROD/db/apps_st/data/cntrl01.dbf,

    / DISK11/d01/oracle/PROD/db/apps_st/data/cntrl02.dbf,.

    /DISK11/D01/Oracle/prod/DB/apps_st/data/cntrl03.dbf

    any help

    What happened when you checked the log of alerts for more information? What did you find? These files exist? .dbf is a much more commonly associated with a data file - extension doesn't want not to say, he cannot be a control file, but that does not match a naming convention, I have never seen used.

Maybe you are looking for

  • The use of recovery with satellite Pro 300 disks?

    HelloI have a 300 satellite with recovery disc Pro, I want to give this to my daughter I copied all I need her and want to wipe it.would be very grateful if you could give me instructions step by step how use the recovery disc. Thank you

  • Agradecimiento photos

    No puedo did UN device don't unknow device cual el me marca Código 43, don't me permite instalar el software para mi telefono, is bringing todas las reparcion options me sugiere windows,.

  • Cisco ASA tunnel access list question

    We have created a site to IPSec tunnel. Initially, only two IP address were allowed access to the tunnel.  They ask now addresses.  My question is, if I use access-list extended inside_access_in permit ip any host 10.60.55.10, I also have to make a s

  • BlackBerry Smartphones starting applications

    Hello How can I configure my device to launch the twitter app at startup? Thank you

  • internal web server access to the content of the network using the public ip address

    Hi, I saw similar topics, but not a clear answer about it. I have a PIX 515e with two interfaces, a web server internal (ip 192.168.0.5) and internal users want to access the server by its (99.99.99.9) ie public ip address is not using DNS. Tried the