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

Similar Messages

  • How to export full dump and metadata of particular table

    let us consider mytest schema is having 6 tables
    tname tabtype
    myt table
    myaxpertlog table
    abb table
    ccc table
    ddd table
    xxx table
    now from this schema i want full dump and also from myaxpertlog table i required metadata only not records.
    c:> export mytest/log file=20130409mytest0904pm.dmp tables=(myaxpertlog) rows=n
    if i tried i am get only one table but it does have records.
    Not like this.

    Hello,
    I follow a smart way to do this:
    1-Create a parfile then put the conditions in.
    2-put in this parfile the conditions
    directory=DPUMP_DIR
    dumpfile=dumpfilename.dmp
    logfile=logfilename.log
    schemas=yourschema
    query=Yourschema.myaxpertlog:"where 1=2"In this example you will get all the tables you want with data inside the schema name you provided.
    The table myaxpertlog will come with metadata only because the condition 1=2 will never occur.
    Please note that this condition will apply only if you want to export those tables from the same schema.Kind Regards
    Mohamed ElAzab
    http://mohamedelazab.blogspot.com/

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

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

  • How do you add full folders and not just individual files in the new itunes?

    How do you add full folders and not just individual files in new itunes? i just reformatted my HD and went to add all my music and it's only letting me add files not folders!?!?

    "Add Folder to Library" is still in the file menu, but you might need to bring up the menu bar to see the file menu.
    If you're using 11.0.x, click on the wee boxy icon up in the top-left corner of your iTunes to see the "Show Menu Bar" control, as per the following screenshot:

  • How to find block free space  and PCTUSED FOR THE TABLE

    HI all,
    Due to performance issues for my database , my management ask me to reset the PCTUSED and PCTFREE values , and my doubt is
    1)How to find the current PCTUSED and PCTFREE values.
    2)How to find block free space and PCTUSED FOR THE TABLE.
    Please help me out regarding this.
    Regards,
    Vamsi.

    1)version is 10.2.0.4
    2)output of query
    tablespace extent_management allocation_type segment_space_management
    SYSTEM     LOCAL     SYSTEM     MANUAL
    UNDOTBS1     LOCAL     SYSTEM     MANUAL
    SYSAUX     LOCAL     SYSTEM     AUTO
    TEMP     LOCAL     UNIFORM     MANUAL
    USERS     LOCAL     SYSTEM     AUTO
    UNDOTBS2     LOCAL     SYSTEM     MANUAL
    INS     LOCAL     SYSTEM     AUTO
    CONFTBS     LOCAL     SYSTEM     AUTO
    REINS     LOCAL     SYSTEM     AUTO
    ANALYST     LOCAL     SYSTEM     AUTO
    BI     LOCAL     SYSTEM     AUTO
    INTRFC     LOCAL     SYSTEM     AUTO
    COGNOS     LOCAL     SYSTEM     AUTO
    TS_INDX     LOCAL     SYSTEM     AUTO
    TS_CHOLAWEB     LOCAL     SYSTEM     AUTO
    TS_DASBOARD     LOCAL     SYSTEM     AUTO

  • How can I get list of columns used of specific table in all stored procedure?

    How can I get used column list of a specific table in among all stored procedure?
    Suppose that,
    I have a table(VendorMaster) which has 100 columns just I want to know how many columns used in among all stored procedure.

    We have solved by below query...
    IF OBJECT_ID('tempdb.dbo.#SPDependencyDetails') IS NOT NULL
    DROP TABLE #SPDependencyDetails
    CREATE TABLE #SPDependencyDetails
     Or_Object_Database NVARCHAR(128)
    ,Or_Object_Name NVARCHAR(128)
    ,Ref_Database_Name NVARCHAR(128)
    ,Ref_Schema_Name NVARCHAR(128)
    ,Ref_Object_Name NVARCHAR(128)
    ,Ref_Column_Name NVARCHAR(128)
    ,Is_Selected BIT
    ,Is_Updated BIT
    ,Is_Select_All BIT
    ,Is_All_Columns_Found BIT
    DECLARE @database_name VARCHAR(100)
    DECLARE database_cursor CURSOR
    FOR
    SELECT name
        FROM sys.databases
        WHERE database_id =8
    OPEN database_cursor
    FETCH NEXT FROM database_cursor
    INTO @database_name
    WHILE @@FETCH_STATUS = 0 --Outer Loop begin
    BEGIN
        DECLARE  @WholeLotofSQL NVARCHAR(MAX) =       '
        DECLARE @object_name VARCHAR(150)
        ,@sqlstatement NVARCHAR(2500)
        DECLARE object_cursor CURSOR --Inner cursor, iterates list of objects that match type
        FOR
            SELECT name
                FROM '+@database_name+'.sys.objects AS o
                WHERE o.type = ''P'' --Change Object type to find dependencies of Functions, Views and etc.
                ORDER BY 1    
        OPEN object_cursor
        FETCH NEXT FROM object_cursor INTO @object_name
        WHILE @@FETCH_STATUS = 0  --Inner Loop Begin
            BEGIN
                SET @sqlstatement = ''USE '+@database_name+';
                                    INSERT INTO #SPDependencyDetails
                                    SELECT DB_NAME() AS Or_Object_Database
                                            ,'''''' + @object_name + '''''' AS Or_Object_Name
                                            ,CASE WHEN referenced_database_name IS NULL THEN DB_NAME()
                                                    ELSE referenced_database_name
                                            END AS Ref_Database_Name
                                            ,referenced_schema_name AS Ref_Schema_Name
                                            ,referenced_entity_name AS Ref_Object_Name
                                            ,referenced_minor_name AS Ref_Column_Name
                                            ,is_selected
                                            ,is_updated
                                            ,is_select_all
                                            ,is_all_columns_found
                                        FROM sys.dm_sql_referenced_entities(''''dbo.'' + @object_name + '''''', ''''OBJECT'''');''
                EXEC sys.sp_executesql @sqlstatement
                FETCH NEXT FROM object_cursor INTO @object_name
            END      
        CLOSE object_cursor
        DEALLOCATE object_cursor'
        EXEC sys.sp_executesql @WholeLotofSQL
        FETCH NEXT FROM database_cursor INTO @database_name
    END
    CLOSE database_cursor;
    DEALLOCATE database_cursor;
    SELECT Or_Object_Database as 'Database'
    ,Or_Object_Name as 'Procedure'
    ,Ref_Object_Name as 'Table'
    ,Ref_Column_Name as 'Column'
    FROM #SPDependencyDetails

  • How do I set a BG Image for a specific Table Cell?

    Hello...
    How do I set a Background Image for a specific table cell
    without it affecting the main page background image?
    thanks
    J

    Use CSS -
    td.special { background-image:url(foo.gif); }
    will style this table cell only -
    <td class="special">
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "JSloanSDRE" <[email protected]> wrote in
    message
    news:g2dl7n$pf5$[email protected]..
    > Hello...
    >
    > How do I set a Background Image for a specific table
    cell without it
    > affecting the main page background image?
    >
    > thanks
    > J

  • Questions on full export and import

    I have a 9.2.0.5 database on Unix.
    The database have over 400 schemas. I am planning to migrate to 10g.
    This is the steps are am planning to take:
    1. create a 10g database.
    2. full export the database from my 9i database to exp.dmp.
    3. full import the exp.emp to 10g database.
    My question is if I use full import, does this impact the existing sys, system and other existing objects that already in the 10g database? What's the import parameter list should I use? Does my full import will import everything? Is there anything that I need to pre-create before do the full import?
    Thanks a lot!

    I did a full import as many of you suggested. I got many errors like this. Do you think those errors matters?
    What should I do to avoid those errors.
    Thanks a lot!
    IMP-00003: ORACLE error 23327 encountered
    ORA-23327: imported deferred rpc data does not match GLOBAL NAME of importing db
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_DEFER_IMPORT_INTERNAL", line 30
    ORA-06512: at line 1
    . . importing table "DEF$_AQCALL" 0 rows imported
    IMP-00017: following statement failed with ORACLE error 23327:
    "BEGIN SYS.DBMS_DEFER_IMPORT_INTERNAL.QUEUE_IMPORT_CHECK('APST.APS.ANL.GOV"
    "','SVR4-be-64bit-8.1.0'); END;"
    IMP-00003: ORACLE error 23327 encountered
    ORA-23327: imported deferred rpc data does not match GLOBAL NAME of importing db
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_DEFER_IMPORT_INTERNAL", line 30
    ORA-06512: at line 1
    . . importing table "DEF$_AQERROR" 0 rows imported
    . . importing table "DEF$_CALL" 0 rows imported
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (SYSTEM.REPCAT$_AUDIT_ATTRIBUTE_PK) violated
    Column 1 TIMESTAMP
    Column 2 3
    Column 3
    Column 4 SYSDATE
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (SYSTEM.REPCAT$_AUDIT_ATTRIBUTE_PK) violated
    IMP-00019: row rejected due to ORACLE error 1
    IMP-00003: ORACLE error 1 encountered
    ORA-00001: unique constraint (OLAPSYS.CWM$CLASSIFICATION_PK) violated
    Column 1 36
    Column 2 Descending
    ORA-02291: integrity constraint (SYSMAN.ESM_COLLECTION0) violated - parent key not found
    Column 1 262B6785DA5C56ADE04400144F2498E0
    Column 2 port
    Column 3 3816

  • How to differentiate which is exporting and importing parameters when calling dynamically using CL_ABAP_OBJECTDESCR

    Hello All,
    First of all sorry for posting the question in general abap queries, since somehow I am not able to post in ABAP objects discussions.
    My requirement is
    Step 1 :  To get table name as input  and dynamically derive all fields which is going to be passed as parameters for a method
    I did this using  cl_abap_typedescr class
    Step 2:  Then Pass the values into the relevant fields using below code
    ptab_line-name = 'DATA_TAB'.
    ptab_line-kind =
    cl_abap_objectdescr=>changing.
    GET REFERENCE OF text_tab INTO
    ptab_line-value.
    INSERT ptab_line INTO TABLE ptab.
    Step 3:  Later I am calling dynamic class like
        CALL METHOD (class)=>(meth)
          PARAMETER-TABLE
            ptab
          EXCEPTION-TABLE
            etab.
    I have read most of the post using Class cl_abap_typedescr=>describe_by_name to get parameter where I have to give correct parameter type.
    But my issue is that I also need to know which fields are acting as importing , exporting and changing parameter.
    Is there anyway to determine and pass method's paramter type as well ?
    Thanks!
    Regards,
    Ramya

    Might be I can use table view VSEOMEPARA

  • How to add a privacy page and exclude it from the main menu, but include in links at the base

    adding a privacy statement page and excluding it from the main menu, but including in links at the base of site

    Right click on the page in Plan view and choose to exclude from menus. This will take it off your main nav.
    For your bottom nav, change the menu to manual and add the privacy page manually.

  • How to view images full size and then import selected ones to macbook

    I want to view my images stored on external drive full size and download selected to MacBook pro

    Use a photo viewer like Preview (this has nothing to do with iPhoto)
    LN

  • Export and import the internal table

    Hi,
    Could you explain the total internal table data how we export and import please give me example.
    Thanks,
    Hari

    Hi,
    Check this thread..
    exporting internal table to memory variable

  • Policies and Excluding Users

    I'm using Messenger 7.0.2 and have a pretty basic question (I hope). I have the following eDir structure
    <Organization>
    <School 1>
    <Office>
    <Staff>
    <Students>
    <School 2>
    <Office>
    <Staff>
    <Students>
    etc.
    My LDAPContainer object looks at everything in the tree (O=organization).
    I have a DefaultPolicy that permits Messenger Use
    I have a DefaultScope profile that includes the entire tree (*,O=organization).
    I'm attempting to exclude certain OUs from Messenger use. Toward that end, I've:
    1. Created a second scope (e.g., *,OU=Students,OU=Site1,O=organization).
    2. Created a second policy and left (and locked) the checkboxes to disable messenger.
    3. I've set the "Scope Profile" attribute for the policy for the new scope.
    4. I cycled the Messenger agents.
    Needless to say it didn't work. When I look at one the "student" users and click the "Novell Messenger" tab, I get a message that there is not policy associated with the Messenger object. I checked the template object but there are no Messenger options. I know I can select a bunch of users, assign the policy, and then it'll work but I have over 10k accounts in 8 different OUs and would like a better option. The documentation says I can go to the "Used By" attribute of my student policy and add them there but that's pretty clunky and requires maintenance.
    Any thoughts would be appreciated!

    Well, it's not perfect but I found a solution using (of course) JRB Utilities. Here's the procedure i wrote up:
    =================================
    Disabling Novell Messenger for Students
    Through the use of Messenger (NM) scopes and policies, Novell has a method for denying NM services to users (students, in our case). The application of the policy, however, is relatively arcane and not user friendly. Through JRB's setname, the policy assignment can be made to large numbers of users very easily. This procedure assumes a "no Messenger" policy already exists.
    1. Create/export a list of users or OUs to which the policy should be assigned. The file should look similar to the following (this example encompasses all students):
    ..*.students.<School1>.<Organization>
    ..*.students.<School2>.<Organization>
    ..etc.
    2. Run SetName to assign the policy to the user attribute:
    Setname @<input file> /a=nnmPolicyDN .StudentPolicy.PolicyContainer.MessengerService.NM .GW.<Organization>
    3. This can be verified on the Novell Messenger tab of the user objects.
    >>> David Hickok<[email protected]> 3/30/2009 10:39 AM >>>
    Correction, Messenger 2.0.2.
    >>> David Hickok<[email protected]> 3/30/2009 10:35 AM >>>
    I'm using Messenger 7.0.2 and have a pretty basic question (I hope). I have the following eDir structure
    <Organization>
    <School 1>
    <Office>
    <Staff>
    <Students>
    <School 2>
    <Office>
    <Staff>
    <Students>
    etc.
    My LDAPContainer object looks at everything in the tree (O=organization).
    I have a DefaultPolicy that permits Messenger Use
    I have a DefaultScope profile that includes the entire tree (*,O=organization).
    I'm attempting to exclude certain OUs from Messenger use. Toward that end, I've:
    1. Created a second scope (e.g., *,OU=Students,OU=Site1,O=organization).
    2. Created a second policy and left (and locked) the checkboxes to disable messenger.
    3. I've set the "Scope Profile" attribute for the policy for the new scope.
    4. I cycled the Messenger agents.
    Needless to say it didn't work. When I look at one the "student" users and click the "Novell Messenger" tab, I get a message that there is not policy associated with the Messenger object. I checked the template object but there are no Messenger options. I know I can select a bunch of users, assign the policy, and then it'll work but I have over 10k accounts in 8 different OUs and would like a better option. The documentation says I can go to the "Used By" attribute of my student policy and add them there but that's pretty clunky and requires maintenance.
    Any thoughts would be appreciated!

Maybe you are looking for

  • JSP / HTML page does not load correctly in IE

    I have a particular jsp page, which has heavy volume of data and it does not load completely in IE, but loads perfectly in Firefox and Safari. It is a really perpleximg problem that occurs only when the volume of data is large. None of the people in

  • CopyPixels + alpha channel troubles flash8

    Hi, some times ago i was expected a problem with copyPixels routine. look at the sample. __Link Anybody can help me ?

  • How does one send mail without a MobileMe account?

    A friend has a new iPhone and can't send e-mails from Mail on her phone. I have always had a me.com addy so have never had to do this. Can someone please either tell me what to tell her or point me to an online reference for her? Thanks! (I *have* to

  • Bapi's in 4.6c and ECC 6.0 version

    Hi Experts,   Can any one list out all BAPI's which are available in 4.6 c version and what are all BAPI's available in ECC 6.0 Version separately. Thanks in Advance. Regards, Sudhakar Reddy .A

  • Force new windows to open in tabs?

    Is there a plug-in or AppleScript that will force links that are set to open in new windows to instead open in a new tab?