expdp, impdp - redo generation?

Friends...

Oracle 11 g 2 SE

OS: Linux

I had tried to search in the documentation, but could not find an answer.

I'm dropping some tables but prior to export for backup, db is in archivelog mode.

Before you delete tables, trying to find if expdp job generates a lot of repeat or not given that the file system have 20 GB of free space.

Issue.

1. If I'm the scene expdp some tables with size 80 GB (size.. indexes on table not included), does expdp will generate a similar amount of redo or it will generate a lot of repeat?

2 impdp job also generate a lot of repeat or only during the creation of index in impdp?

Thank you

Mike

Export do NOT generate all over again. It's just dumping data in binary files. Very little again just to keep the export data table, rocking but very very minimal. IF I had to guess not more than 1 MB.

Import generates recovery logs. Imports perform "Insert" statement behind the scenes and it does not generate a lot of newspapers of recovery. You can use sqlfile to create the definition of the index and to run manually with NOLOGGING which will reduce some redo. something like

exclude the user/password Impdp = index - this will import everything except the index.

Impdp username/password include sqlfile = index.sql index = - this will create a file named index.sql that will contain all the instructions for the index create

Tags: Database

Similar Questions

  • expdp/impdp method in the database upgrade from 11.2.0.4 to 12.1.0.2 an error in logic of "command line"?

    Hi DBA:

    We are evaluating different methods of upgrading 11 GR 2 DB to 12 c (12.1.0.2) this year, it is very important for us to use the right method.  It was reported that when DB version was 9i and has been updated to 11g, there were some order of tables 'line' was wrong when execute SELECT statements in application (Java application) - at the moment I didn't if it is ' select * from... "or any specific part with a"where"clause, and what type of data was wrong (maybe sequence CLOB data, etc.).

    I think I know, ' exp/imp', "expdp/impdp" logical backup of DB methods.  Therefore, Oracle automatically import data and fix it in each table.  If no error in impdp connects after it's over, should not be any mistake, right?

    If the use of the method of 'creates a new data + expdp/impdp basis for schemas user' 11g 12 c port data, questions:

    1. this method will lead to erroneous sequence data when ordering?  If so, how to re - generate the sequence number?

    2. this method can bring CLOB, BLOB data and without any errors?  If error, how to detect and repair?

    I use the same method in the 10.2.0.5 to 11g port data, no problem.

    I'll keep this thread posted after getting more information from application.

    Thank you very much!

    Dania

    INSERT... SELECT, CREATE TABLE in the SELECT and Export-Import will all "re-organize" the table by assigning new blocks.

    In place--update (using DBUA or command line) don't re-create the user tables (although it DOES not rebuild the data dictionary tables).  Therefore, does not change the physical location of lines for user tables.  However, there is no guarantee that a further reason for INSERT, DELETE, UPDATE instructions does not change the physical location of ranks.  Nor is it a guarantee that a SELECT statement will return always stored in the same order unless an ORDER BY is specified explicitly.

    If you export the data while it is still used, you don't avoid update sequences in the source database.  Usually results in a mismatching number sequence between the source database and the new database (imported). In fact, even the numbers may be different, unless you use CONSISTENT or FLASHBACK_SCN.  (These two options in exp / expdp do NOT prevent update sequences).   The right way to manage sequences is to rebuild or increase them in data imported with the values in the data source, once the import is complete.

    Hemant K Collette

  • problem in expdp/impdp

    Hi, I'm currently expdp/impdp but every time the same mistakes. OS win Server 03 on ORACLE 10 g.

    errors:

    C:\Documents and Settings\Administrateur > impdp rΘpertoire "/ as sysdba" = "data_pump_dir" dumpfile = logfile = scott.log'scott.dmp ' '

    Import: Release 10.2.0.3.0 - Production on Tuesday, March 25, 2014 10:43:18

    Copyright (c) 2003, 2005, Oracle.  All rights reserved.

    Connected to: Oracle Database 10 g Enterprise Edition Release 10.2.0.3.0 - Production

    With partitioning, OLAP and Data Mining options

    ORA-31626: there is no job

    ORA-04063: package body 'SYS. DBMS_INTERNAL_LOGSTDBY"contains errors

    ORA-06508: PL/SQL: called program unit is not found: 'SYS. "DBMS_INTERNAL_LOGSTDBY '

    ORA-06512: at "SYS." "KUPV$ FT", line 834

    ORA-04063: package body 'SYS. DBMS_INTERNAL_LOGSTDBY"contains errors

    ORA-06508: PL/SQL: called program unit is not found: 'SYS. DBMS_INTERNAL_LOGSTDBY ".

    SQL > alter the body of package DBMS_INTERNAL_LOGSTDBY compilation;

    WARNING: The bodies of Package modified with compilation errors.

    SQL > show error

    PACKAGE BODY DBMS_INTERNAL_LOGSTDBY errors:

    LINE/COL ERROR

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

    2563/4 PL/SQL: statement ignored

    2563/20 PL/SQL: ORA-00942: table or view does not exist

    2625/3 PL/SQL: statement ignored

    2625/19 PL/SQL: ORA-00942: table or view does not exist

    2809/2 PL/SQL: statement ignored

    2809/13 PL/SQL: ORA-00942: table or view does not exist

    HELP ME PLEASE

    Since you're using Oracle 10 g version...

    Check if you have columns that contain "TEMESTAMP (6) ' data by using this query type:"

    Select dba_tab_columns owner, table_name, column_name data_type where column_name = 'TIMESTAMP' and data_type like '% TIMESTAMP ';

    If the previous query lists for you a list of tables, you must do the following for each table:

    ALTER table system.table_name change (date timestamp);

    Then recompile the package "DBMS_INTERNAL_LOGSTDBY" again.

    I hope this helps.

    Kind regards

  • Accelerate exp/imp or expdp/impdp

    Hello

    Is it possible to speed up and exp/imp or expdp/impdp that already works? Is is possible to speed up a run RMAN backup or restore RMAN process?

    Kind regards

    007

    To accelerate a datapump export market and import you can attach to employment and increase the level of parallelism... impdp attach = job

    I don't know any way to speed up a running RMAN backup.

    To expedite an RMAN restore, you can kill the restoration and re - run using several channels.  The restoration should take up where he left off and can run faster with many channels.  It is relevant only if you have several items from backup.

  • expdp/impdp: constraints in the child-Parent relationship

    Hello

    I have a table parent1 and child1, child2 and chld3 tables have foreign key created on this parent1.

    Now, I want to do a delete on parent1. But as the number of records is very high on parent1, we go with expdp / impdp with option querry.

    I took the expdp parent1 level query. Now I dropped parent1 with option of cascade constraints and all foreign keys created by child1, 2 and 3 that parent1 references are automatically deleted.

    Now, if I have the impdp to the query of fire level dump file, are these foreign key constraints will be created automatically on child1, 2 and 3 or I need to manually recreate it?

    Kind regards

    ANU

    Hello
    The CF will not be in the dumpfile - see the code example below where I generate a sqlfile following pretty much the process that you would have done. This is because FK belongs to the DDL for the child table not the parent.

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning option
    
    OPS$ORACLE@EMZA3>create table a (col1 number);
    
    Table created.
    
    OPS$ORACLE@EMZA3>alter table a add primary key (col1);
    
    Table altered.
    
    OPS$ORACLE@EMZA3>create table b (col1 number);
    
    Table created.
    
    OPS$ORACLE@EMZA3>alter table b add constraint x foreign key (col1) references a(col1);
    
    Table altered.
    
    OPS$ORACLE@EMZA3>
    
    EMZA3:[/oracle/11.2.0.1.2.DB/bin]# expdp / include=TABLE:\"=\'A\'\"
    
    Export: Release 11.2.0.3.0 - Production on Fri May 17 15:45:50 2013
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning option
    Starting "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04":  /******** include=TABLE:"='A'"
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 0 KB
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    . . exported "OPS$ORACLE"."A"                                0 KB       0 rows
    Master table "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04" successfully loaded/unloaded
    ******************************************************************************
    Dump file set for OPS$ORACLE.SYS_EXPORT_SCHEMA_04 is:
      /oracle/11.2.0.3.0.DB/rdbms/log/expdat.dmp
    Job "OPS$ORACLE"."SYS_EXPORT_SCHEMA_04" successfully completed at 15:45:58
    
    Import: Release 11.2.0.3.0 - Production on Fri May 17 15:46:16 2013
    
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning option
    Master table "OPS$ORACLE"."SYS_SQL_FILE_FULL_01" successfully loaded/unloaded
    Starting "OPS$ORACLE"."SYS_SQL_FILE_FULL_01":  /******** sqlfile=a.sql
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Job "OPS$ORACLE"."SYS_SQL_FILE_FULL_01" successfully completed at 15:46:17
    
    -- CONNECT OPS$ORACLE
    ALTER SESSION SET EVENTS '10150 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '10904 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '25475 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '10407 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '10851 TRACE NAME CONTEXT FOREVER, LEVEL 1';
    ALTER SESSION SET EVENTS '22830 TRACE NAME CONTEXT FOREVER, LEVEL 192 ';
    -- new object type path: SCHEMA_EXPORT/TABLE/TABLE
    CREATE TABLE "OPS$ORACLE"."A"
       (    "COL1" NUMBER
       ) SEGMENT CREATION IMMEDIATE
      PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
     NOCOMPRESS LOGGING
      STORAGE(INITIAL 16384 NEXT 16384 MINEXTENTS 1 MAXEXTENTS 505
      PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "SYSTEM" ;
    -- new object type path: SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    ALTER TABLE "OPS$ORACLE"."A" ADD PRIMARY KEY ("COL1")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255
      STORAGE(INITIAL 16384 NEXT 16384 MINEXTENTS 1 MAXEXTENTS 505
      PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1
      BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
      TABLESPACE "SYSTEM"  ENABLE;
    -- new object type path: SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    DECLARE I_N VARCHAR2(60);
      I_O VARCHAR2(60);
      NV VARCHAR2(1);
      c DBMS_METADATA.T_VAR_COLL;
      df varchar2(21) := 'YYYY-MM-DD:HH24:MI:SS';
     stmt varchar2(300) := ' INSERT INTO "SYS"."IMPDP_STATS" (type,version,flags,c1,c2,c3,c5,n1,n2,n3,n4,n5,n6,n7,n8,n9,n10,n11,n12,d1,cl1) VALUES (''I'',6,:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,NULL,:14,:15,NULL,:16,:17)';
    BEGIN
      DELETE FROM "SYS"."IMPDP_STATS";
      c(1) := 'COL1';
    
      DBMS_METADATA.GET_STAT_INDNAME('OPS$ORACLE','A',c,1,i_o,i_n);
      EXECUTE IMMEDIATE stmt USING 0,I_N,NV,NV,I_O,0,0,0,0,0,0,0,0,NV,NV,TO_DATE('2013-05-17 15:43:24',df),NV;
    
      DBMS_STATS.IMPORT_INDEX_STATS('"' || i_o || '"','"' || i_n || '"',NULL,'"IMPDP_STATS"',NULL,'"SYS"');
      DELETE FROM "SYS"."IMPDP_STATS";
    END;
    /
    

    Kind regards
    Harry

    http://dbaharrison.blogspot.com/

  • expdp, impdp Grid 11.2 and ACFS

    Version of the grid: 11.2.0.3
    OS: Red Hat Enterprise Linux 5.4

    A few months, our cluster of CARS, while taking a backup expdp in a local Linux file system, I got some errors. Remember the error code or the script now that I had too much work this day. The problem was solved when we used a location of file system ACFS as the directory for expdp object.

    Today, in the same cluster RAC, to reproduce that issue, I tested it with an expdp backup in a local Linux format
    file system (/ home/oracle/pumpDir) and the expdp finished without any problems.

    Someone at - it all met problems with expdp, impdp in environment RAC cluster in reason to use a local Linux file system?

    The error would be more probably "file not found".

    expdp/impdp (datapump) will begin in several parallel processes on the cluster. If all nodes cannot find the 'local' directory, you will get the above error.

    Bottom line, the parallel processes expdp may or may not be on a single node, so the 'directory' MUST be accessible across the cluster.

  • Expdp/impdp can be used to upgrade the database (instead of DBUA) R12

    Hi all

    (1) could as possible to convert the database to UTF8 value as part of the database
    upgrading process within the update Rel12? Any suggestion on how to do it? Any doc doc/procedure?

    (2) according to Rel 12 guide upgrade applications, I can follow "interoperability Notes: Oracle Applications 11i.
    with Oracle Database 11 g 2"doc to update my database. But this doc suggested using DBUA.
    Can I use expdp/impdp instead so I can convert the character at a time? All documentation
    that I can follow to use expdp/impdp to do the upgrade?

    (3) are there measures to specify/extra for Rel12 if I want to convert the characters of the base
    the value UTF8?

    Thanks in advance!

    (1) could as possible to convert the database to UTF8 value as part of the database
    upgrading process within the update Rel12? Any suggestion on how to do it? Any doc doc/procedure?

    I do not. You must upgrade, and then convert the characters or convert then upgrade - you can save an SR to confirm this with the support of the Oracle.

    (2) according to Rel 12 guide upgrade applications, I can follow "interoperability Notes: Oracle Applications 11i.
    with Oracle Database 11 g 2"doc to update my database. But this doc suggested using DBUA.
    Can I use expdp/impdp instead so I can convert the character at a time? All documentation
    that I can follow to use expdp/impdp to do the upgrade?

    Only DBUA is the way supported in Oracle EBS instance level. Please see this similar thread - Oracle EBS 11i Database Upgrade to 11 GR 2 - Upgrade method Support Manual is?

    (3) are there measures to specify/extra for Rel12 if I want to convert the characters of the base
    the value UTF8?

    Please see the documentation referenced in this thread - ADADMIN convert character set CUSTOM_TOP

    Thank you
    Hussein

  • IMP/exp expdp/impdp vs

    Hi all;
    which is better in performance the traditional exp/imp or expdp/impdp?

    Hello

    Oracle Data Pump is a more recent, rapid and flexible alternative to utilities 'exp' and 'imp' used in previous versions of Oracle. In addition to export and import of basic feature data pump provides a PL/SQL API and support for external tables

    If Oracle is recommended for all 10g databases and more use of Data Pump and pre 10g use old exp/imp :)

  • migration by expdp/impdp db to AIX and Linux. Impdp errors, help.

    Hi, I did complete expdp (11 GR 1 material) and complete impdp (11 GR 2) migrate db from aix to linux.

    I have the following questions in mind:
    (1) I checked the imp papers and found a lot of mistakes. I think that most can be ignored, but I just want to be double sure before that I release the new db migrated for use. Is there a better way to avoid these mistakes?


    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" MVIEW$ _ADVSEQ_GENERIC ' already exists
    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" MVIEW$ _ADVSEQ_ID ' already exists
    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" REPCAT$ _EXCEPTIONS_S ' already exists
    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" REPCAT$ _FLAVORS_S ' already exists
    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" REPCAT$ _FLAVOR_NAME_S ' already exists
    ORA-31684: SEQUENCE object type: 'SYSTEM '. "" REPCAT$ _REFRESH_TEMPLATES_S ' already exists
    ......
    Table 'SYSTEM '. "" REPCAT$ _AUDIT_COLUMN "exists. Data will be added to the existing
    table but all dependent metadata will be ignored because the table_exists_action a
    ppend
    Table 'SYSTEM '. "" REPCAT$ _FLAVOR_OBJECTS "exists. Data will be added to the existin
    Table g but all dependent metadata will be ignored due to table_exists_action of
    Add
    Table 'SYSTEM '. "" REPCAT$ _TEMPLATE_STATUS "exists. Data will be added to existi
    ng table but all dependent metadata will be ignored due to table_exists_action o
    f add
    .......
    Treatment of type of object DATABASE_EXPORT/SCHEMA/VIEW/SCHOLARSHIP/OWNER_GRANT/OBJECT_GRAN
    T
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_WORKLOAD ' already exists
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_FILTER ' already exists
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_LOG ' already exists
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_FILTERINSTANCE ' already exists
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_RECOMMENDATIONS ' already exists
    ORA-39111: Object Type dependent OBJECT_GRANT: 'SYSTEM' ignored, base object type
    VIEW: 'SYSTEM '. "' MVIEW_EVALUATIONS ' already exists
    ...............

    . . imported 'SYSTEM '. "" REPCAT$ _TEMPLATE_REFGROUPS ' 5,015 KB 0 rows
    . . imported 'SYSTEM '. "" REPCAT$ _TEMPLATE_SITES ' 5,359 KB 0 rows
    ORA-31693: Data Table object 'SYSTEM '. "" REPCAT$ _TEMPLATE_STATUS ' failed to load/u
    nLoad and being ignored because of the error:
    ORA-00001: unique constraint (SYSTEM. REPCAT$ _TEMPLATE_STATUS_PK) violated
    . . imported 'SYSTEM '. "" REPCAT$ _TEMPLATE_TARGETS ' 4,937 KB 0 rows
    ORA-31693: Data Table object 'SYSTEM '. "" REPCAT$ _TEMPLATE_TYPES ' failed to load/United Nations
    load and being ignored because of the error:
    ORA-00001: unique constraint (SYSTEM. REPCAT$ _TEMPLATE_TYPES_PK) violated
    . . imported 'SYSTEM '. "" REPCAT$ _USER_AUTHORIZATIONS ' 4,773 KB 0 rows
    . . imported 'SYSTEM '. "' SQLPLUS_PRODUCT_PROFILE ' 5,140 KB 0 rows
    . . imported 'SYSTEM '. "' TOAD_PLAN_SQL ' 4,859 KB 0 rows


    (2) in addition, I've seen a few new users 11 GR 2 is not in 11R1, I should not worry update these users, right?

    Thank you in advance.

    You receive the ORA-31684: SEQUENCE object type: 'SYSTEM '. "" MVIEW$ _ADVSEQ_GENERIC "already exists, because the SYSTEM object already exists. You can ignore this error.

    You can also view links below

    Cross platform Transportable Tablespace with RMAN
    http://www.oracleracexpert.com/2009/08/transportable-tablespace-export-import.html

    Import/export transportable tablespace on the same endian platforms
    http://www.oracleracexpert.com/2009/10/cross-platform-transportable-tablespace.html

    Hope this helps,

    Concerning
    http://www.oracleracexpert.com
    Block of Corruption and recovery
    http://www.oracleracexpert.com/2009/08/block-corruption-and-recovery.html]
    Redo log corruption and recovery
    http://www.oracleracexpert.com/2009/08/redo-log-corruption-and-recovery.html]

  • expdp, impdp in 12 c and 10g

    Hi all

    We have oracle 10g release 2 on windows environment. We want to take backup of this database using expdp and import it into oracle 12 c using impdp.

    How to do this?

    I use the following approach

    on 10g database (production):

    expdp complete system/password@orcl directory = y = TEST_DIR dumpfile = fulldb_12_jan_2016.dmp logfile = fulldb_12_jan_2016.log

    on 12 c database (test):

    Impdp complete system/password@orcl directory = y = TEST_DIR dumpfile = fulldb_12_jan_2016.dmp logfile = fulldb_12_jan_2016.log

    the problem is that we need to create storage space and data files. I already create their production before the impdp command.

    second problem is that the user schemas have quota on the tablespace. So I have to create users as well before the impdp? I don't know some of the passwords of the user schema.

    Please guide me

    Thank you.

    Hello

    Since you are doing the full expdp, users and tablesapces will be created for you.

    So no need to creaet them pre.

    Concerning tablespaces, impdp will try to create storage space with the same data files (eg - same location of files).

    So, if you do not have same directory on the destination structure it will fail.

    If the file structure is different you can pre create tablespaces and remap the data files using remap_datafile.

    Users will be created with the same passwords on the destination. It is so no worries.

  • How replicates all records from one table to another table without using expdp, impdp

    Hi I have two database in a database, that I have a table called t1 and another base data, I have the second table .so, my first table have records, that I need to transfer all records second T2 without use of expdp and impdp in every 5 min... what I do

    ??

    The best solution for this scenario is to use Oracle Golden Gate

    However, it requires a license, and you must pay for it.

    If this is not possible, you can create a job scheduler that uses a link DB in order to reproduce the recordings of the target database, but it will take the entire table to the target database and then INSERT AS SELECT truncate the data of the entire table every time that the job is running (because you can't follow only the records that have been changed or modified).

    In addition, read here on the replication of data using materialized views.

  • Redo generation for Direct path Inserts

    Hello, I'm trying to understand some test results confused I see this morning on the generation of redo direct path for the pads. Based on my understanding of Tom to ask several discussions directly inserts path on a set of data to force the record should generate much less remake a traditional insert because the insertion of the direct route does not generate as much cancel which in turn should generate less do on cancellation.

    https://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:5280714813869

    Of course, always connect the actual inserted rows but I expected to the remake was less because less cancel has been generated. Instead the roll forward is actually bigger and I don't know why.

    Here's a test case to prove my example.

    set autotrace traceonly;
    create table test_redo as select * from all_tables where 1=0;
    insert into test_redo select * from all_tables;
    rollback;
    insert /*+ append */ into test_redo select * from all_tables;
    rollback;
    

    Stats without Append Hint
    
    Statistics
    ----------------------------------------------------------
            387  recursive calls
           1275  db block gets
          19604  consistent gets
              9  physical reads
        2409204  redo size
            501  bytes sent via SQL*Net to client
            897  bytes received via SQL*Net from client
              4  SQL*Net roundtrips to/from client
              4  sorts (memory)
              0  sorts (disk)
           9031  rows processed
    
    Stats with Append Hint
    
    Statistics
    ----------------------------------------------------------
             59  recursive calls
            162  db block gets
          18675  consistent gets
              0  physical reads
        2596904  redo size
            490  bytes sent via SQL*Net to client
            911  bytes received via SQL*Net from client
              4  SQL*Net roundtrips to/from client
              2  sorts (memory)
              0  sorts (disk)
           9031  rows processed
    

    Any ideas on what I'm missing?

    Thank you

    The / * + append * / copies all blocks Oracle in roll forward, with a little extra for recording etc. headers.

    The standard insert creates change descriptions which save odd odd little bits of space and adds little bits of information links (as well as some redo to describe a very small amount to cancel)...

    The difference between the two has always been pretty low (assuming that you are running in archivelog mode, or force logging) on a right append.  It is possible that curious little details of efficiencies in future versions of the average of the Oracle that the standard Insert wins a place a bit more efficient - it used to be the other way around in earlier versions.

    Concerning

    Jonathan Lewis

  • Database 11g expdp, impdp in a 10g database for

    Hello

    I would like to export an Oracle 11 g server to import it into an oracle database 10 g, which method is correct:

    1 - expdp (binary 10g)

    2 - expdp (binary 11 g) using the VERSION = 10.2 setting

    Thank you

    second method, you must specify the parameter version = 10.2 while using the commands the expdp and impdp.

    Please refer to this nice blog post: http://dbaoracledba.blogspot.com/2012/07/version-parameter-in-oracle-expdp-and.html

    Kind regards

  • EXPDP/IMPDP

    Hi all

    How do I create a sqlfile using impdp so to run it so that the procedures will be replaced by the more recent source expdp database.

    But the sqlfile a bug that include spaces in the sql statements, the cause of the error.

    For example:

    ALTER PROCEDURE "BATCH". "" SP_COUNT_DLS_DRCR ".

    COMPILE

    PLSQL_OPTIMIZE_LEVEL = 2

    PLSQL_CODE_TYPE = INTERPRETER

    PLSQL_DEBUG = FALSE PLSCOPE_SETTINGS = ' IDENTIFIERS: NO

    "REUSE THE TIMESTAMP SETTINGS ' 2014-01-10 10:12:26.

    /

    It has a space before RE-USE, where the script error on RE-USE statement

    Tricks treats on this subject?

    Thank you very much

    Hello

    Yep - thought I'm sorry that you had made only empty lines and that was the problem :-)

    The empty sqlfile option just what import tries to run text - so it just remains to create instead of replace.

    What you have to do is change the file and do a global replace of 'CREATE' with 'CREATE or REPLACE '...

    Still don't know why oracle did not add this as an option - it is one of the main things missing impdp - perhaps there is a technical reason why they do not want to implement?

    See you soon,.

    Rich

  • expdp/impdp metadata in clear text

    11.2.0.1 done a quick search on the Forum and on google and can't find what I'm looking for.

    Ran the following:
    expdp full=y content=metadata_only dumpfile=exp_full_metadata.dmp logfile=exp_full_metadata.log exclude=table exclude=index 
    Now, I want to enter the metadata in a kind of plain text file, so I can look at and copy sections. With IMP we could simply display the ddl on the screen and not import-is there a similar means to do this with IMPDP?

    for example we had with Imp: import settings 'Show': http://docs.oracle.com/cd/B10500_01/server.920/a96652/ch02.htm#1014036
    See the FACILITY*.
    Default: n
    When SHOW = y, the content of the export file is listed on the screen and not imported. The SQL statements contained in the export are displayed in the order in which to import run them.
    The SHOW parameter can be used only with the FULL = y

    Hello

    SQLFILE=file.sql
    

    is what you need

    DataPump it is also likely that the transformations you want to do can also be done from the command line rather than having to manipulate a text file - how you really want to change?

    See you soon,.
    Harry

    http://dbaharrison.blogspot.com

Maybe you are looking for

  • Equium A100-060 touchpad does not work with Vista SP1

    Hi, my touchpad doesen't works under Vista with SP1. If I use Vista or any other operating system that the touchpad works without any problem.The driver on Vista Sp1 is the latest available. How can I solve this?

  • Send an order via UDP bytes

    I hope you'll forgive the newbie question, but my education is in aerospace engineering computer... I have a verified specification document that tells me that for a source of data to start to transmit control data, I need to send it the following co

  • System table sparkles

    Hi guys! Just an easy question that you probably know how to fix, but for me it gives me head I was just this very simple example based on my big program. I empty a 2D array, put something in the table and displays in a system using the registry tabl

  • Ubuntu and Windows 7

    I've seen a lot of suggestion on installing Ubuntu alongside Windows 7, but my PC was unable to perform this task. Normally, Ubuntu will start copying the files directly just after, we entered our new password, but my PC won't! He asks me to restart

  • The right side of my screen is black, but I can see everything

    Hello dear community,I would ask anyone here who has some knowledge about windows 7.i have a HP Compaq laptop and since I had it has this weird black space on the right end of the screen. I can see everything on the screen, including the time and the