Full export

my database size is 86 Gb, i need to take full database export. before that how can i estimate the size of
export file. what is the size of export file based on my database size ,

If you use 10g's "expdp" it has command-line options "ESTIMATE" and "ESTIMATE ONLY"
See http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#sthref104
Unfortunately, the "STATISTICS" method in "ESTIMATE" would rely on valid table and index statistics. So if the last gather statistics is inaccurate or very stale, the estimate could be wrong.
Else if you are using "exp" or 9i or lower, a very rough approximation can be had by summing the sizes of different types of segments and excluding
a. INDEX
b. 'TYPE2 UNDO' and 'ROLLBACK'
segments. This does NOT account for rows that have been deleted as the blocks that contained those rows would still be "part" of the Table Segment and "inflating" the table segment size.
select segment_type, sum(bytes)/1048576 from dba_segments
group by segment_type
order by segment_type
/

Similar Messages

  • How to do a full export and exclude user specific tables

    Hi all,
    Is it possible to export all objects but one (or more) tables with expdp when doing a full export?
    This is what I've to in mind: (parfile)
    directory=expdp
    dumpfile=full.dmp
    logfile=full.elog
    full=y
    exclude=table:"IN('userA.table_A')"
    This par-file does not encounter any error messages but it doesn't exclude table_A in schema userA either.
    I guess that's because the the term userA is not interpreted as an owner.
    It's not a big deal to filter out a table when doing a schema export.
    I wonder whether it is at all possible do except a table from a full export. If so, I'd value your suggestions.
    Regards,
    Louis

    Louis,
    The exclude parameter in DataPump takes only the object name, not the schema name. So, if you only have one table called 'TableA', then you can just use:
    exclude=table:"IN('table_A')"
    If you have more than one table called 'table_A', then the exclude will exclude all of them. There is no way to specify user_1.table_a with an exclude parameter.
    Dean

  • 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!

  • Essbase Full Export generating erroneously large data files

    On 9.2.1. using BSO
    I have a 1 GB page file that routinely is exported for backups. generates 1 text file about 1.2 GB. using buffered i/o and rle compression.
    recently, the backup occurred as normal but generated 6 text files totaling 10GB.
    I did a maxl force restructure and the .ind and .pag files remained about the same as they were prior to the restructure.
    The restructure did seem to take much longer than normal..
    Any ideas?
    Thanks
    Jeff

    Is this an automated export, or do you go through the user prompts in EAS to create a backup. The size you provided (1.2G off a 1G page file) sounds like a lev0 export. Exports are always going to come out much larger due to the binary and compressed nature of the page files.
    This "feels" like it may have just been an extra/different option checked. The difference between Lev0/Input/Full exports and Columnar/Essbase can easily make jumps in storage space like that...especially changing to Columnar ("Export in column format") can cause a big bump in export sizes. If your member names are long, it causes an even bigger impact on the size of columnar export files.
    Also, I usually encourage Level0 exports, which is smaller and faster than "All Data". However, the default method is "All Data" which would also grow the resultant files, especially with many upper levels.
    On a different note, I would test out your choice of RLE compression. I've personally found very few cases where bitmap wasn't far and away the best choice.

  • 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

  • Full export - BU and workbooks

    Hi!
    How can I do a full export of the EUL which includes the business areas as well as the workbooks? We are migrating to a new box and I created the EUL with Disc Admin on the new box. But an export through the wizard (on the old box) only takes the BU metadata and not the workbooks. I know you can do it from the command line, but then you have to specify the workbook and we have 60! Any ideas?
    Kind Regards
    Marlene

    Hi Marlene
    You must be working on either 3.1 or 4.1 from where you cannot automatically export the workbooks. I do have a white paper though that might help a little.
    Email me on [email protected] and I will send it to you.
    Best wishes
    Michael

  • Full export and import

    Hi All,
    Kindly give me the document id or links for fully datbase export and import procedure, by the by I am doing full export and import in V 7.1 and the OS is OpenVMS.
    Satya.

    Hi sybrandb,
    For your information - I never asked him to CUT and PAST the steps, from my first post I was asking for the procedure for full exp and imp, and he gave me the 7.1 system administration pdf, which dosent talk anything about full export, you please read that PDF once.
    I was looking for the procedure and below are the metalink docs which give good information about the full export and import. Please go through this aswell.
    Note:15096.1
    Note:10767.1
    Note:61949.1
    Thanks,
    Satya.

  • 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

  • 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.

  • 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

  • Restore Designer from a FULL EXPORT

    Hi to all ....
    I have a FULL EXPORT of a database (9.2) where there was my Designer Repository my server crash and now I need to restore it in a new Oracle instance
    I try to import the repos_manager user and the user DES that we use for designer
    But not work ......
    Any Idea Help ???
    Thank's in advance

    The user DES (I assume the schema owner) has to be created with the correct privileges (in my script the user is D2K and you may also have to change the tablespaces):
    create user D2K
      default tablespace D2K_RAPID_GROW_D
      temporary tablespace TEMP
      profile DEFAULT
      quota unlimited on d2k_constant_grow_d
      quota unlimited on d2k_constant_grow_i
      quota unlimited on d2k_dependency_d
      quota unlimited on d2k_dependency_i
      quota unlimited on d2k_diagram_d
      quota unlimited on d2k_diagram_i
      quota unlimited on d2k_lob_d
      quota unlimited on d2k_rapid_grow_d
      quota unlimited on d2k_rapid_grow_i
      quota unlimited on d2k_system_meta_d
      quota unlimited on d2k_system_meta_i
      quota unlimited on d2k_temporary_d
      quota unlimited on d2k_temporary_i
      quota unlimited on d2k_version_d
      quota unlimited on d2k_version_i;
    -- Grant/Revoke role privileges
    grant ckr_d2k to D2K with admin option;
    grant ck_oracle_repos_owner to D2K;
    grant connect to D2K;
    grant dba to D2K;
    grant resource to D2K;
    -- Grant/Revoke system privileges
    grant create any synonym to D2K;
    grant drop any synonym to D2K;
    grant unlimited tablespace to D2K;

Maybe you are looking for

  • Convert text to Iso-8859-1

    Dear experts, Is there a function module or method available to convert text to the Iso-8859-1 character set? Or might it be possible to integrate it in OPEN DATASET TEXT MODE ENCODING WITH ? Only UTF-8 seems to be available. Thanks in advance!

  • Kodak photo cd's wont open

    A client of mine can open kodak photo cd images in I Photo but my version will not. I am archiving her work and need to open these files. Do you know how I can do this?

  • Dynamic change in contentPane in JApplet

    Hi all, I implemented an Swing application that sets the contentPane dynamically when an action is Permormed. e.g public void actionPerformed(ActionEvent e) { if (something){    frame.setContentPane(createXXContentPane()); else   frame.setContentPane

  • How to standardize volume on ipod?

    Different songs will often play at different volumes (whether they are from iTunes, vs burnt cds, etc) and I end up blowing out my eardrums momentarily until I can turn the volume down only to need to turn it up again on the next song....

  • Help with shared objects

    Is it possible to code shared objects in Actions Script 2?  If so, does anyone know of a good tutorial on how to do this?  I haven't had much luck in finding any thus far, but then again I haven't really had the time to do an indepth search yet.