How To Restore corrupted Oracle 10g Database

Hello Guys,
We have Oracle 10.2.0.3 database installed on Itanium server.
1. One day we found some packages got invalid & not compiling at all with error –
ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], [].
2. Then we successfully restored the database from old RMAN backup of previous date that caused this error.
3. After 2 days again we found the same error in alert_prd log -
ORA-00600: internal error code, arguments: [ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], []
ORA-06512: at "SYS.DBMS_STATS", line 19089
4. Then for testing we exported database using exp command & found 3 tables are not exporting because of data block corruption issue.
5. Then we truncated the data from all 3 tables and then able to export successfully.
6. After all this we manually run SYS.DMS_STATS job but found same error logged in prd_alert log.
This looks like, still database block corruption issue is there & we are unable to cure it 100%
This is a production system & in very critical state now.
Please looking for a help from all of you expert guys to resolve this issue.
Thanks in advance,
~Amol

Hello;
I don't believe you have an issue that RMAN can solve. Since you have an ORA-600 I would use Oracle support.
There's an Oracle MOS doc on this :
ORA-600 [6008] Generated Due To Underlying ORA-01410 [ID 743661.1]
It's an exact match of your version and line number.
Best Regards
mseberg

Similar Messages

  • How to restore the oracle 10g database

    Hi all,
    I am very new to oracle. I have experience in mssql and mysql previously.
    Now we have a oracle application to work . I have an oracle database backup (mydata.bak) taken it from my client's oracle database 10g enterprise edition. Now I want to restore the .bak file at my place . I had installed oracle 10g enterprise edition. After that I had created a datbase called praveen by selecting archivelogmode. The database had created . I am able to login through enterprise manager for this praveen database instance.
    Now I want to restore the backup file mydata.bak file into praveen database. May I know how to proceed further?
    Please anybody help me out?
    And basically what is the backup file format in oracle . As I know for mysql it is .sql and for MSsql it is .bak.
    Plz buddies anybody help me out. It is very urgent

    Hi..
    Actually one of the employee related to my client had given me the backup file (mydata.bak). I don't know exactly which type it is?Can't you contact the concerned person at the client side.
    May I know what is the difference between rman and cold backup?In cold backup the database is first cleanly shutdown, and then copies of all the datafiles of the database are taken(all of them in consistent stage).
    RMAN backup is used more where you need to take the backup while the database is up and running.If the database is in ARCHIVELOG mode, then the RMAN backup can be taken while database is in open mode and if the database is in NOARCHIVELOG mode, then in mount stage.
    [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/part1.htm]
    [http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/part4.htm#BRADV44444]
    Can I start restore by assuming the given backup file as cold and if is not possible by assuming cold backup? Better confirm and then start.
    Anand

  • How  to get the oracle 10g database backup.

    Hi,
    i have installed oracle 10g.i need to get the back up of db.
    i have search so many sites.i didn't get much information.
    some guys tells we go to installed directory in that run"RAMNS".
    i am following in the process.after run the rams which commands
    i have to used to get the db back up.
    C:\Oracle\app\oracle\product\10.2.0\server\BIN\RAMNS
    RAMNS>...(here is the prob which commands i have to used)
    i have seen another way solution is you can use "imp" and "exp" present in BIN to take back up.(how to follow this)
    please help me,

    Would suggest you read the docs on backup, restore. if you cannot restore you db, you are in trouble. read it and understand it well.
    Summary:
    For 10g, you have rman, imp/exp and datapump import/export (replaces imp/exp).
    For very simple backups where you have windows you can shut down, run a cold backup. shutdown the database, copy the database files, and startup. i also take copies of the current pfile and anything else important to restore the database with. we copy the files to a dedicated backup file system, which go to tap, e.
    That will give you a simple option to restore.
    For prod databases, you typically want archive mode on which means you can run hot or online backups. just remember you have to have the archive logs generated during the hot backup. you now also have the ability to do a point in time restore.
    Exp or datapump exp can be used for metadata exports, full exports or partial (schema, table, etc) as needed. i typically run a cold or hot plus an export for redundacy and restore options, but db size will change how you back things up.
    You can find plenty of scripts to automate these. just understand how the scripts work and understand the process itself. if not, you will have trouble restoring when it is needed the most.
    Rman is also a good option with the latest releases.

  • How to restore an Oracle XE Database without online logs and SPFILE?

    Hi there,
    My laptop was crashed last week and I was able to get only current datafiles without two online logs files and SPFILEXE.ORA from my old hard drive. I've installed with the same version of Oracle Database 10g Express Edition Release 10.2.0.1.0* software on Windows XP Pro.
    I have DATAFILEs from my old db instance XE which have my thesis data.
    *'C:\ORACLEXE\ORADATA\XE\SYSTEM.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\UNDO.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\SYSAUX.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\USERS.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\TEMP.DBF',*
    *'C:\ORACLEXE\ORADATA\XE\USERS.DBF'*
    Even though I am not 100% percent sure about If I've set the NOARCHIVELOG mode previously but neither I have the redo log files are backed up i.e. two redo log files are in C:\oraclexe\app\oracle\flash_recovery_area\XE\ONLINELOG nor have SPFILE<<SID>>.ORA. Thus, this is not really typical "+Cold backup+" when you stop the database and zip up all those 9 files (in NOARCHIVELOG mode).
    I've tried the RMAN utility but it seems it requires redo log files too.
    I wonder if I can restore somehow by copying all 6 datafiles to the same folder 'C:\ORACLEXE\ORADATA\XE\' or not. If so, how can I do so?
    Will appreciate any advice.
    Thanks in advance,

    Recovering an SPfile is trivial if you have the alert log, locate the last startup- there will be a section with all the non-default parameters. Copy/paste those items to create a pfile, use it for a startup mount, check the catalog views to see if recovery is needed. Without the online redo logs it will probably need an incomplete recovery.
    So in the old alertlog, [drive:]\oraclexe\app\oracle\admin\xe\bdump\alert_xe.log, grab the lines after "System parameters with non-default values:" its maybe 15 or 20 items for an "out of the box" XE install, save those to a file someplace like [drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora, fire up sqlplus and connect as sysdba, startup with the pfile ...
    $ sqlplus /nolog
    > connect /as sysdba;
    startup mount pfile='[drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora';
    If the database makes it to mount mode, check the recovery view ...
    select * from v$recover_file;
    If that view is clean, open 'er up should be good to go ... and create a new spfile:
    alter database open;
    create spfile from pfile='[drive:]\oraclexe\app\oracle\admin\xe\init\initXE.ora';
    If the instance was in archivelog mode and the archive destination wasn't specified it uses flash_recovery_area for storing archivelog files, check if there are any files in the flash_recovery_area/XE/ARCHIVELOG/[yyyy-mm-dd] (?) directories. Or when connected as sysdba a command will tell you if archivelog mode is enabled:
    archive log list;

  • Export and import Oracle 10G database

    Hello all
    Can anyone tell me once for all how can i backup oracle 10G database and restore it in other computer (export and import)
    thanks alot
    Ron

    Do you can access to metalink?
    If not, I copy an paste this doc's....
    Doc ID: Note:10767.1
    Subject: How to perform FULL System Export/Imports
    Type: BULLETIN
    Status: PUBLISHED
    Content Type: TEXT/X-HTML
    Creation Date: 18-APR-1994
    Last Revision Date: 30-AUG-2002
    Purpose
    This article highlights some important points to consider when performing
    a Full System Export and Import.
    Scope and Application
    It is intended to assist users performing FULL System Exports and Imports.
    A Full System Export and Import is a useful way to replicate or clean up
    a database. Please note the following guidelines when performing a Full
    System Export and Import:
    1. When performing the import, ensure you are pointing at the correct
    instance. Always check values for the SID and two task driver before
    proceeding.
    *Note:   On Unix systems, just entering a sub-shell, such as using
    C-shell, can change the database that the import would work
    against.
    2. When possible, it is advisable to take a physical copy of the
    exported database and the database you intend to import into before
    starting the import. This ensures any mistakes are reversible.
    3. NEVER run a FULL SYSTEM IMPORT on a machine that has more than one
    database UNLESS you are 100% sure all tablespaces have been
    pre-created. A full import will create any undefined tablespaces
    using the same datafile names as the exported database. There are
    situations where this is very dangerous:
    -> If the datafiles belong to ANY other database, they will be
    CORRUPTED. This is especially true if the exported database is
    on the same machine, because its datafiles will be re-used by
    the database you are importing into.
    -> If the datafiles have names that clash with existing operating
    system files.
    4. When exporting, it is advisable to also produce a report showing
    information you may need before / after the import:
    -> List the tablespaces and datafiles
    -> List the rollback segments
    -> List a count, by user, of each object type such as tables,
    indexes, etc.
    This enables you to ensure that tablespaces have been pre-created
    and to check the success of the import after it is complete.
    5. If you are creating a completely new database from an export, remember
    to create an extra rollback segment in SYSTEM, and make this available
    in the init.ora file before proceeding with the import.
    6. There are some versions of export that do not retain sequence numbers
    correctly. It is advisable to select next_value for each sequence
    after the export so that these can be checked after import.
    Following these guidelines will help you to avoid major problems.
    Doc ID: Note:174226.1
    Subject: How To Copy an Oracle Database To Another Machine
    Type: HOWTO
    Status: PUBLISHED
    Content Type: TEXT/X-HTML
    Creation Date: 12-OCT-2001
    Last Revision Date: 01-OCT-2003
    goal: How to copy an Oracle database to another machine
    fact: Oracle Server - Enterprise Edition
    fix:
    Pre-requisites: The copy is between 2 machines, both have to be on the same OS
    and have to have exactly the same database version installed.
    1. Make sure the database you want to copy was closed with a SHUTDOWN IMMEDIATE,
    SHUTDOWN NORMAL or SHUTDOWN TRANSACTIONAL.
    2. Copy init.ora and control files to create instance and be able to go in
    mount mode. Check the init.ora for the locations where the controlfiles have
    to be, if those locations are not valid on the machine put the control files on
    different places and adjust the init.ora accordingly.
    3.a. Copy the datafiles (all of them).
    b. Copy the redo-logfiles (all of them).
    4.a. (Unix only) Set the environment variables:
    ORACLE_SID - set to the database name you wish to create
    ORACLE_HOME - set to full pathname of the Oracle system home directory
    PATH - needs to include $ORACLE_HOME/bin
    b. (NT/2000 only) Do 'set ORACLE_SID=<SID>'
    Use oradim to create the service for the instance. For more information
    on oradim please refer to (the part that refers to creating a new instance):
    Note:68720.1 Creating a new 7.3, 8.0, 8.1 Instance/Database
    5. Use servermanager (check the name to use for your version of oracle) or
    sqlplus (version 9i and above) to startup the database in mount mode.
    Do
    CONNECT INTERNAL/<PASSWORD>
    then
    STARTUP MOUNT
    Then do a rename of the copied datafiles if they are not in the same path as on
    the other machine. For all the files that are in the result of the query:
    SELECT NAME FROM V$DATAFILE;
    do
    ALTER DATABASE RENAME FILE '<oldfullpath>\<filename>' to <
    newfullpath>\<filename>';
    6. Query the datadictionary for the old location of the redolog files using:
    SELECT MEMBER FROM V$LOGFILE;
    If the new place is not the same as the old do:
    ALTER DATABASE RENAME FILE '<oldfullpath>\<redologfilename>' to &
    lt;newfullpath>\<redologfilename>';
    7. Now open the database:
    ALTER DATBASE OPEN;
    ******************************************************************

  • Language Handling in Oracle 10g Database

    I want to know that how language works in oracle 10g database at micro level.Actually what happen when we insert any record into database and how database handle it.
    from insertion to storage and displaying any stored record...what exaclty happens?
    how oracle 10g handle it?

    That would be big long session.
    You can start from following link,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/toc.htm

  • How to install Procedural Option in Oracle 10g Database express edition

    When i try execute exec send_mail shows error ORA-00900: invalid SQL statement.
    Error code shows "This error can occur if the Procedural Option is not installed "
    How to install Procedural Option in Oracle 10g express edition
    I'm using Oracle 10g Database express edition. Let me know how to run a procedure.

    I'm not sure of the meaning of ORA-00900 for Oracle XE but I think that PL/SQL is already installed by default according to the XE features list.
    See the Oracle® Database Express Edition 2 Day Developer Guide about procedure call.

  • How to find encrypted columns in oracle 10g database

    Hi,
    How to find encrypted columns in oracle 10g database? We can see using view dba_encrypted_columns or all_encrypted_columns .
    my question is apart from this is there anyother views or tables?
    Thanks..

    user602872 wrote:
    Hi,
    How to find encrypted columns in oracle 10g database? We can see using view dba_encrypted_columns or all_encrypted_columns .
    my question is apart from this is there anyother views or tables?Hmm not which I could find,
    SQL> select * from dict where lower(table_name) like '%encrypted%';
    TABLE_NAME
    COMMENTS
    DBA_ENCRYPTED_COLUMNS
    Encryption information on columns in the database
    ALL_ENCRYPTED_COLUMNS
    Encryption information on all accessible columns
    USER_ENCRYPTED_COLUMNS
    Encryption information on columns of tables owned by the user
    SQL>HTH
    Aman....

  • How to setup management server in oracle 10g database

    guys,
    i've installed oracle 10g database into my machine. but i don know how to setup the management server (for scheduling owb10g process flows). unlike 9idb, we have an option emca to setup the management server. if anyone of u knows abt it, please help me. do i need to install the grid control just to have the scheduling mechanism? please advice.

    Well, it depends heavily on what operating system you're using, what mail server you're trying to install, your network topology, etc. Realistically, this is a question that is probably better asked in a forum for whatever mail server you're trying to install...
    Justin

  • How to store photo images and thumbimpressions in oracle 10g database

    Hi all
    I have an web application running in Oracle 10g rel 1 database server in RHEL3. It has application server with forms and j2ee component as middle tier. I need to store centrally photo images and thumb impressions and use it in our application without any overhead on retrieval and performance of web application. what will be optimized method of storage of photo and thumb impressions. Awaiting your valuable suggestions.
    Regards
    Vijay Kumar

    Hi Vijay,
    How to store photo images and thumbimpressions in oracle 10g database I have working code here for storing photos in Oracle tables that you may find useful:
    http://www.dba-oracle.com/t_storing_insert_photo_pictures_tables.htm
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

  • Restore and recover Oracle 10g database from tape.

    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.

    853153 wrote:
    I have a very basic question for restore and recover Oracle 10g database. Our envirnment settings are:
    Oracle 10g on Unix, daily database and archivelog backup to Vista NetBackup server. Retention policy is 2. Old backup files are copied from NetBackup server to the tape for record keeping.
    I want to restore a database to a point in time. Because our retention policy is setup to 2. The backup files I need have been copied to the tape. So I should ask SYSTEM ADMIN to copy the backup files back to NetBackup server disk or I can ask him to copy backup files to the Unix server that host my Oracle 10g database. Then I can use Rman to do restore and recover. Is this doable? I know normal procedure is to copy backup files I need back to NetBackup server disk, not directly back to database server. Please put your comments here as early as better. I do appreciate your kind help.For sure it is double work, To copy backup files on UNIX host.
    Are you using catalog or nocatalog?
    If the backup information is out of retention, Catalog them again also in netbackup.
    So that you can able to restore database directly without copying those files to host.

  • How to import Oracle 8i database objects into an Oracle 10g database ?

    Hi all,
    We plan to use Oracle 10g , but untill now we use Oracle 8i 8.1.7.4.1 .
    I want to know how to import all of our Oracle 8i objects stuff to the new Oracle 10g database ; and should I create tablespaces or can I import simply the Oracle 8i tablespaces.
    Thank you very much indeed

    If you use 1 database schema for your application , export the schema only
    for example
    export NLS_LANG env before
    export hr/hr file=hr.dmp log=hr.dmp
    On 10g
    ======
    create the user,tablespaces etc
    import the user
    run the utlrp.sql
    you are ready
    export NLS_LANG env before
    import system/password file=hr.dmp log=hr.dmp fromuser=hr touser=hr

  • How to install Oracle 10g Database (Silent Mode) on Ms. Windows

    Hello,
    I need to find out how to run a silent mode installation for Oracle 10g Database. I could perform such an installation for Oracle EX because I could found the installation guidelines.
    I need some document to guide me from scratch, how to write response files, etc.
    Thanks in advance!!

    Hi,
    this would help;
    http://tinyurl.com/ybzvg4v

  • How to configure Oracle Dataguard for Oracle 10g database

    Hi Friends,
    I would like to configuer Oracle Dataguard for my Oracle 10g Database.
    Please provide me the configuration document.(step by step guide)
    Regards,
    DB

    Hi
    Go throw below link. This would be help to configure ODG..,
    http://blogs.oracle.com/AlejandroVargas/2007/09/data_guard_physical_standby_im.html
    http://blogs.oracle.com/AlejandroVargas/2007/10/data_guard_broker_observer_and.html
    Thanks,
    Mayilselvan.S

  • How the media files are stored in Oracle 10g database

    I guess they have introduced new datatypes to handle multimedia objects( audio file, video file, images, etc etc). Can anyone tell which is the data type which is used to handle the media files in Oracle 10g database.
    thanks,
    shekar.

    Check this out.
    http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10840/mm_uses.htm#sthref433

Maybe you are looking for