Database Full Export

Hi,
I want to get full export of oracle9i db with no ARCHIVELOG mode.
What is the best approach to get full export?
Shall I get hot backup or cold backup? If I want to get cold backup should I shut the db down or only mount it? Do I need the take tablespaces to backup mode?
Thanx for replying

Hi,
I would strongly recommend not implement such stupid stretegy.you were asking that if you were able to fully recover your table db.i would say no.the reason is if you export your full database in the morning 10 then you would only have a copy your database till 10 what if your database receive severl dml and ddl.what would you do if your db crash evening 5?dear you loose all the data between 10 to till 5.for exapmle your employee table has 1000 records in it and between 10 to 5 youe db recieves 500 records and commit all those records what would you do if your senior's want to generate report based on those 500 records which were added to your db.so although i would say that you can exp your db that is good way to keep up your static version of database so if the user accidently delete one table then you can get your table back without hurting your database backups.
anyways i would say always
1.use rman because it doed all the book-keeping,take less space,smart enough to know which your backups location and disk.
2.always run your db in archive log mode (other wise you going to loose your db)
thanks
Alok Kumar.

Similar Messages

  • Is there a way to include the sys.aud$ table in a full database dp export?

    I am doing an export using the following parfile information:
    userid=/
    directory=datapump_nightly_export
    dumpfile=test_expdp.dmp
    logfile=test_expdp.log
    full=y
    content=all
    However when I run this I do not see the sys.aud$ in the log file. I know I can do a seperate export to specifically get the sys.aud$ table but is there any way to include it in with my full export?
    Thanks in advance for any suggestion.

    here's more background infomation... I have some audits setup on my database for one of my users. Every quarter I have an automated job that runs that creates a usage/statics report for this person using data in aud$. at the end of the job I export the aud$ table and truncate it. However last quarter I found that there was a mistake in my report and my export did not run properly thus my audit data was gone. i also have full datapump exports that run daily but found that aud$ was not there. so that is why I thought I'd like to include sys.aud$ in the full datapump exports.
    i understand why other sys tables would be left out of a full export but aud$ data cannot be reproduced so to me it makes sense to include it in a full export.
    don't worry, we run our true backups using rman which is eventually how I got the aud$ data back by creating a copy of my database up until the time of the truncate. however this was quite time consuming.

  • 9i full export for a large database

    Hi Dear All,
    My organization is going to make one database read only. so requested to take a full export backup of the same which grew upto 600GB. I want to take it into splits of 2gb. what parameters shall I use.
    Prepared the parfile like:
    FILE=/exp/prod/exp01.dmp,/exp/prod/exp02.dmp,/exp/prod/exp03.dmp
    FILESIZE=2G
    Pls suggest me can I proceed with above parameters and what should be the parameter file for importing+* the same.
    Thanks in Advance
    Phani Kumar

    Hello,
    can I proceed with above parameters and what should be the parameter file for importing the same.With the Original Export/Import you may use the FILE and FILESIZE parameters so as to split the Dump into several dump files, and also to Import from several dump files:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch02.htm#1005411
    For instance, you may use something like this:
    FILE=<dumpfile1>.dmp,<dumpfile2>.dmp,<dumpfile3>.dmp
    FILESIZE=2GIn this example the Size of each Dump Files is limited to 2 GB.
    NB: Use the same setting for FILE and FILESIZE for the Export and the Import.
    how can I user mknod option in aix box with oracle9i for taking 600gb of databaseAbout mknod you may read the following Note of My Oracle Support:
    Large File Issues (2Gb+) when Using Export (EXP-2 EXP-15), Import (IMP-2 IMP-21), or SQL*Loader [ID 30528.1]See the chapter *3. Export and Import with a compressed dump file* and chapter *4. Export and Import to multiple files*.
    Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Jun 2, 2011 10:06 AM

  • How can recover database using only Full Export ?

    Hi,
    I have one query , i have only Full export is given database , after full export sucessfully
    database Crash by mistacally, how can recover it, i have only export is given no backup is taken (RMAN,COLD or HOT) statergy is use , How can recover it.

    You need to recreate the database from scratch as imp requires a working database.
    You could already do this by transforming the results from
    'alter database backup controlfile to trace', a trace file containing a 'create controlfile' statement, into a 'create database' script.
    After that step you apply your import. Everything after that import is lost forever.
    One would ask for a sanity check of management and personell of a company, which has no backup strategy in place.
    Sybrand Bakker
    Senior Oracle DBA

  • Some objects in sys schema not imported usinf full database import/export.

    Hello All,
    We need to migrate database from one server to new server using same database version 11g Release 2 (11.2.0.1.0). We have some production objects in sys schema. We took full export using full=y and then import on new server using full=y. Other objects belonging to different tablespaces and users has successfully imported but production objects i.e table in sys schema not import.
    We used following commands for export and import:
    # exp system file=/u01/backup/orcl_full_exp.dmp log=/u01/backup/orcl_full_exp.log full=y statistics=none
    # imp system file=/u01/backup/orcl_full_exp.dmp log=/u01/backup/orcl_full_imp.log full=y ignore=y
    Kind Regards,
    Sharjeel

    Hi,
    First of all it is not good practice to keep user object in the sys schema
    second you are useing version 11gr2 what not you go for datapump export/import method.
    third, did you get any error in import, what is the error

  • Performance for full export database.

    Hi,
    Is it possibe to estimate or measure how much time needs to export the whole database?
    Should I use the parameter "direct=y" to speed up the export process?
    Thanks very much.
    Frank

    Hi,
    I tried the export in the database server, but the error is encountered.
    Is it because the user(system) is different from owner(ds_ap_dwh)?
    Anyone can advise me? thanks alot.
    Frank.
    C:\>exp system/manager owner=ds_ap_dwh direct=y file=g:\oracle\export\ds_ap_dwh.d
    mp log=g:\oracle\export\ds_ap_dwh.log
    Export: Release 9.2.0.1.0 - Production on Tue May 29 23:48:36 2007
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Release 9.2.0.1.0 - Production
    JServer Release 9.2.0.1.0 - Production
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user DS_AP_DWH
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user DS_AP_DWH
    About to export DS_AP_DWH's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00056: ORACLE error 24324 encountered
    ORA-24324: service handle not initialized
    EXP-00000: Export terminated unsuccessfully

  • Error on Full Export - missing SYS.DBMS_REPUTIL

    Hi,
    I´m trying to make a full export of my database (8.1.7.0) and I´m getting the folowwing error when it´s almost finishing:
    . exporting posttables actions
    EXP-00008: ORACLE error 6550 encountered
    ORA-06550: line 1, column 18:
    PLS-00201: identifier 'SYS.DBMS_REPUTIL' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 1118
    ORA-06512: at "SYS.DBMS_SQL", line 316
    ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 84
    ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 135
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    What can be wrong ?
    Thanks in advance.

    i think the error is in the pl/sql block
    i mean its a compilation error

  • Full Export/Import Errors with Queue tables and ApEx

    I'm trying to take a full export of an existing database in order to build an identical copy in another database instance, but the import is failing each time and causing problems with queue tables and Apex tables.
    I have used both the export utility and Data Pump (both with partial and full exports) and the same problems are occurring.
    After import, queue tables in my schema are unstable. They cannot be dropped using the queue admin packages as they throw ORA-24002: QUEUE_TABLE <table> does not exist exceptions. Trying to drop the tables causes the ORA-24005: must use DBMS_AQADM.DROP_QUEUE_TABLE to drop queue tables error
    As a result, the schema cannot be dropped at all unless manual data dictionary clean up steps (as per metalink) are done.
    The Apex import fails when creating foreign keys to WWV_FLOW_FILE_OBJECTS$PART. It creates the table ok, but for some reason the characters after the $ are missing so the referencing tables try to refer to WWV_FLOW_FILE_OBJECTS$ only.
    I am exporting from Enterprise Edition 10.2.0.1 and importing into Standard edition 10.2.0.1, but we are not using any of the features not available in standard, and I doubt this would cause the issues I'm getting.
    Can anyone offer any advice on how I can resolve these problems so a full import will work reliably?

    Thanks for the lead!
    After digging around MetaLink some more, it sounds like I'm running into Bug 5875568 (MetaLink Note:5875568.8) which is in fact related to the multibyte character set. The bug is fixed in the server patch set 10.2.0.4 or release 11.1.0.6.

  • Import of Table data only from Full export Dump

    I want to import data inot specified tables of a databse only. Is it possible to do this from a dump file which is the full export of the another database. The database i want to import into is the mirror of the database whose export dump i want to use. Let me know if this is possible and if yes then how i could do this.
    Thanking in advance.

    Please check the following link for full instructions:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/part1.htm#435787
    If on another release, the same documentation is available for it on OTN as well.
    Thanks!

  • Missing grant with full export/full import.

    We have the following problem which is unexplained:
    Using Oracle 9.0.1.4 we full export a database and we import it in full mode in another database which is also running Oracle 9.0.1.4. The database has 1 application schema which owns a lot of PL/SQL object packages and triggers.
    In the source database, all objects are valid and schema owner has SELECT privileges on V$SESSION and execute permission on DBMS_ALERT and DBMS_PIPE.
    I cannot tell you if these privileges have been granted directly or with a role.
    In the target database, package bodys and triggers using V$SESSION and DBMS_ALERT/DBMS_PIPE are invalid because schema owner has not the corresponding privileges.
    Schema owner already existed in the target database. Is it normal than the corresponding privileges have not been imported ?
    I cannot give you the exp/imp command lines but I'm sure full export/full import have been run (I've checked the import log).
    Thanks.
    Message was edited by:
    Pierre Forstmann

    See MetaLink Note:97902.1
    When performing a full export of a database, both objects belonging to SYS and object privileges on SYS's objects (e.g. admin views such as DBA_SEGMENTS, etc.) are not exported.
    To generate the missing privileges you can use the follwing script
    Connect to the original database (the one full export was done from) as SYSTEM using sqlplus and run this script:
    set hea off
    set pagesize 0
    set feedback off
    spool objs_upg.sql
    select 'grant '||privilege||' on '||owner||'.'||
    table_name||' to '||grantee||' '||
    decode(grantable,'YES','WITH Grant option')||';'
    from dba_tab_privs
    where owner = 'SYS'
    select 'grant '||privilege||' ('||column_name||') '||
    ' on '||owner||'.'||table_name||' to '||grantee||' '||
    decode(grantable,'YES','WITH Grant option')||';'
    from dba_col_privs
    where owner = 'SYS'
    spool off

  • Oracle 8i full export fails (ORA-00904)

    Hello Guru's.
    I encounter this problem when i try a full export.
    Database version is 8.1.7.4 and the export utility is also 8.1.7.4
    When i try exporting it generates a ORA-00904 error. I traced on this error and see the following:
    *** SESSION ID:(8.57) 2007-03-21 10:33:53.738
    *** 2007-03-21 10:33:53.738
    ksedmp: internal or fatal error
    ORA-00904: invalid column name
    Current SQL statement for this session:
    SELECT GRANTOR, GRANTORID, GRANTEE, PRIV, WGO, ISDIR, TYPE FROM SYS.EXU8GRN WHERE OBJID = :1 ORDER BY WGO DESC, SEQUENCE
    I checked the compatible parameter:
    (compatible string 8.1.7)
    Any reply greatly appreciated.

    Yeah, well, maybe running catexp.sql will solve that .....
    And it did.
    But more stuff is coming up, proberly when i try to import this thingie into Oracle 10g.
    Thanks, and reply!

  • Issue Migrating Character Data Using a Full Export and Import

    Hi There;
    I have a database in my local machine that doesn't support Turkish characters. My NLS_CHARACTERSET is WE8ISO8859P1, It must be changed to WE8ISO8859P9 , since it supports full Turkish characters. I would like to migrate character data using a full export and import and my strategy is as follows:
    1- create a full export to a location in network,
    2- create a new database in local machine that it's NLS_CHARACTERSET is WE8ISO8859P9 (I would like to change NLS_LANGUAGE and NLS_TERRITORY by the way)
    3- and implement full import to newly created database.
    I 've implemented first step, but I couldn't implement the second step. I 've created the second step by using toad editor by clicking Create -> New Database but I can not connect the new database. I must connect new database in order to perform full import. How can I do this?
    Thanks in advance.
    Technical Details
    NLS_LANGUAGE.....................AMERICAN
    NLS_TERRITORY.....................AMERICA
    NLS_CURRENCY.....................$
    NLS_ISO_CURRENCY..............AMERICA
    NLS_NUMERIC_CHARACTERS    .,
    NLS_CHARACTERSET.............WE8ISO8859P1
    NLS_CALENDAR.....................GREGORIAN
    NLS_DATE_FORMAT................DD-MON-RR
    NLS_DATE_LANGUAGE...........AMERICAN
    NLS_SORT...............................BINARY
    NLS_TIME_FORMAT.................HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT......DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT............HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT..DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY............ $
    NLS_COMP...............................BINARY
    NLS_LENGTH_SEMANTICS.......BYTE
    NLS_NCHAR_CONV_EXCP........FALSE
    NLS_NCHAR_CHARACTERSET...AL16UTF16
    NLS_RDBMS_VERSION............10.2.0.1.0

    First, if your applications run on Windows, do not use WE8ISO8859P9. Use TR8MSWIN1254.
    Second, if you create a new database, the database is not necessarily immediately accessible to outer world. I do not know Toad and I have no idea if it performs all necessary steps required for the new database to be visible.  For example, in the Toad itself, I assume you should create a new connection that references the new SID of the newly created database and use this new connection to connect. However, connections without a connection string use the ORACLE_SID setting in Registry to tell connecting applications which instance (database) to use.  To change the database accessed with an empty connection string you need to modify Registry (unless Toad has an option to do this for you). If you want to connect without changing Registry, you need a connect string. This requires setting up Oracle Listener to serve the new database (unless default configuration is used and the database registers itself with the default listener). It also requires changing tnsnames.ora file to create an alias for the new database. Net Manager and/or Net Configuration Assistant can help you with this.
    I wonder if Database Configuration Assistant would not be a better tool to create new Oracle databases.
    Thanks,
    Sergiusz

  • Database full compile while doing schema import using impdp

    hi,
    oracle 10g
    Database full compile while doing schema import using impdp..
    what is happening here..
    regards,
    Deepak

    My scenario
    I need to import the particular schema from the full export dump. which has taken by using expdp. while importing i am using remap_schema for a single schema.
    But it try to import the full dump and compile all the schema objects.
    regards,
    Deepak

  • Full export error (ORA-01031) (Oracle 8.1.7)

    Hello all,
    Please provide any hint/help on the following.
    My environment is: Windows 2000 Professional, Oracle 8i rel. 3 (8.1.7) Enterprise Ed.
    I use "Administrator" account which is part of ORA_DBA group.
    Please note that Security properties of the folder "F:\oracle\oradata\oraavl", where the database files are located, is set for Administrator user, System group, ORA_DBA group to have full control.
    I'm trying to do a full export using these commands:
    F:\>set ORACLE_SID=oraavl
    F:\>set BACKUP_DIR=F:\oracle\backup
    F:\>exp 'sys/avlman as sysdba' full=yes file=%BACKUP_DIR%\%ORACLE_SID%.dmp
    The error I get is:
    . . exporting table VEHICLES 1 rows exported
    . . exporting table VEHICLE_CREWS 0 rows exported
    . exporting referential integrity constraints
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    EXP-00084: Unexpected DbmsJava error -1031 at step 6661
    EXP-00008: ORACLE error 1031 encountered
    ORA-01031: insufficient privileges
    EXP-00000: Export terminated unsuccessfully
    Thanks in advance.
    --Nikos

    Run the export as the SYS user instead of connecting with the "as sysdba" in your connect string. This is a bug and related directly to the Java. It would take too long to explain the details and I'm not sure if it even matters to you because I'm sure all you want is to export your data and move on.
    EC

  • Are there performancebenefits to reorganizing database-using export/import?

    I have a production database using Oracle 9.2.0.5, which has been running for last 3 years since it was upgraded from 8.1.7. At that time we had done full export of 8.1.7 database and then created 9.2. instance and then imported all the application schemas.
    Load on our database has been increasing and there are constant pressures from management to improve performance. We have looked at indexes many times, have lots of memory for SGA and have tuned various init.ora parameters. Being a third party packages, we cannot rewrite queries.
    Application is a mix of OLTP and reporting, it is definitely more read than write.
    Are there any benefits to reorganize database using export/import, i.e., we will do a full export of existing database and then delete all objects from application schemas and do schema imports. We will run the dbms_Stats again to recomputed statistics. Of course, we will test all of that in a test environment before making change sin production.
    I have heard different views on reorganization. Some people say it is useless, some people say it can improve performance since data will be placed homely in fewer blocks.
    Appreciate your feedback.

    Hi,
    Oracle gave us reorg utilities (dbms_redefinition) because Oracle does not do real-time reorganization for performamnce reasons.
    In some applications, reorgs are critical to high-performance, while in others, it may make no difference.
    Remember, a reorg simply puts the indexes and tables into their "optimal" pristine state.
    The most striking benefit of table reorgs is when a "sparse" table experiences lots of full scans. After the reorg, response time can be cut in half.
    Also, in cases where related rows are queried together, a reorg with row-resequencing (like 10g sorted hash clusters) make a bif difference:
    http://www.dba-oracle.com/t_table_row_resequencing.htm
    But like I said, it depends on many factors . . .
    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

Maybe you are looking for