Exports / Imports on Databases with VPD

I'm running Oracle 11.1.0.7, with VPD. I'm trying to use datapump to export and import the data from one machine to another.
Not all the information in all the tables is making it across. Is there a special role or privilege that will allow SYSTEM (as opposed to SYS as SYSDBA) to grab all the data?

I'm running Oracle 11.1.0.7, with VPD. I'm trying to use datapump to export and import the data from one machine to another.
Not all the information in all the tables is making it across. Is there a special role or privilege that will allow SYSTEM (as opposed to SYS as SYSDBA) to grab all the data?

Similar Messages

  • Portal export/import  on database 8.1.7 on an other machine

    Hello,
    I'm running Oracle8i on AIX. I have problem when I try full export/import my database (version 8.1.7) on an other machine. I have a problem with import users PORTAL30 and PORTAL30_SSO and CREATE TABLE 'WWSEC_ENABLER_CONFIG_INFO$'
    The log when import full is:
    IMP-00017: following statement failed with ORACLE error 22973:
    "CREATE TABLE "WWSEC_ENABLER_CONFIG_INFO$" OF "SEC_ENABLER_CONFIG_TYPE" OID "
    "'BA6473B86EF248BEE0330A18780F48BE' ( PRIMARY KEY ("LS_LOGIN_URL")) OBJECT "
    "ID PRIMARY KEY PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAG"
    "E(INITIAL 131072 NEXT 131072 MINEXTENTS 1 MAXEXTENTS 4096 PCTINCREASE 0 FRE"
    "ELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "TBS_PORTAL""
    IMP-00003: ORACLE error 22973 encountered
    ORA-22973: size of object identifier exceeds maximum size allowed
    Thank you.
    Borjana Zekic

    When using export/import between different releases, you need to use the older version of export to create your dump file. In your case, you must use the 8.0.5 export utility to export from your 8.1.7 database. You need a tnsname in your 8.0.5 tnsnames.ora that points to your 8.1.7 database. Then you use SQL Net to connect and do the export. So, instead of doing exp system/manager you would do exp system/manager@tnsname. Just be sure to use the 8.0.5 export, and your import will work fine.

  • Import dmp database with EE8MSWIN1250 to AL32UTF8 (XE)

    I have problem with importing dmp database with EE8MSWIN1250 to AL32UTF8 (XE)
    I've tried to import my database dump with settings NLS_LANG=POLISH_POLAND.AL32UTF8 but it didn't work
    I had
    IMP-00019: row rejected due to ORACLE error 12899
    IMP-00003: ORACLE error 12899 encountered
    ORA-12899: value too large for column "MYDB"."AP_ARKUSZE_PRZECENY"."PRZEC_KOD" (actual: 26, maximum: 25)
    Column 1 1
    Column 2 Arkusz Średniowaťon\$NR$
    Column 3 16-WRZ-2002:00:00:00
    so I exported my database with NLS_LANG=POLISH_POLAND.AL32UTF8 and next I tried to import this dump but it still didn't work.
    Anybody knows how to import dump database ??

    It isn't correct approach. Column size is one of database constraints and you compromised it, so beware.
    Correct approach is modifying columns to apply char length semantics, it means you should use following construct
    alter table tablename modify columnname varchar2(10 CHAR)
    In your code replace your execute immediate line with:
    EXECUTE IMMEDIATE 'ALTER TABLE ' || tn || ' MODIFY ' || cn || ' VARCHAR2(' || crec.data_length || ' CHAR )';
    Look at this example:
    This is your original table
    SQL>
    SQL> create table T2( c varchar2(10 byte) );
    Tabulka vytvořena.
    SQL>
    SQL> insert into T2 values ('0123456789');
    1 řádka vytvořena.
    SQL> insert into T2 values ('0123456789 few more');
    insert into T2 values ('0123456789 few more')
    CHYBA na řádku 1:
    ORA-12899: value too large for column "MIGR"."T2"."C" (actual: 19, maximum: 10)
    values longer then 10 characters are not allowed, it was your constraint, and now your modification
    SQL>
    SQL> alter table T2 modify c varchar2(20); -- 2*10
    Tabulka změněna.
    SQL> insert into T2 values ('+ěščřžýýáí');
    1 řádka vytvořena.
    You solved the problem, you shoud be praised
    SQL> insert into T2 values ('0123456789 few more');
    1 řádka vytvořena.
    But, you compromised your data model
    SQL>
    SQL> rem correct approach
    SQL>
    SQL> delete from T2 where length(c)>10;
    1 řádka vymazána.
    This solve both problems, and constraint is still valid
    SQL>
    SQL> alter table T2 modify c varchar2(10 char);
    Tabulka změněna.
    SQL>
    SQL> insert into T2 values ('+ěščřžýýáí');
    1 řádka vytvořena.
    SQL> insert into T2 values ('0123456789 few more');
    insert into T2 values ('0123456789 few more')
    CHYBA na řádku 1:
    ORA-12899: value too large for column "MIGR"."T2"."C" (actual: 19, maximum: 10)

  • Export/Import of Database to increase the number of datafiles

    My BW system is close to 400 GB and it only has 3 datafiles.  Since we have 8 CPU cores, I need 8 datafiles.  What is the best way to export/import the database in order to achive 8 datafiles?

    With a BW system that size you can probably get away with it.  You most likely do at least a few full loads so all that data will be evenly distrubuted when you drop and reload.  If you can clean up some of your PSAs and log tables you can probably shrink the 3 files down a little anyway.  If you do little maintenance like that every few weeks, after locking auto growth, you can probably shave 2-3 GBs off each file each week.  Do that for a few months and your large files will love 20 GBs while the other ones start to grow.  Rebuilding indexes also helps with that.  You will be surprised how fast they will level out that way.
    With regard to performance you should be fine.  I certainly wouldnt do it at 10 am on Tuesday though :-).  You can probably get away with it over a weekend though.  It will take basically no time at all to create them and very little IO.  If you choose to clean out the 3 existing ones that will take some time.  I have found it takes about 1-3 hours to shrink a 150 GB datafile down to 100 GBs, that was with 8 CPUs, 30 GBs of RAM, and an SAN that I don't fully understand

  • Problem Exporting / Importing print forms with program RSTXSCRP

    Hi!
    there is problem Exporting / Importing print forms with program RSTXSCRP.
    when I transfer print form from one SAP system to other, logo image and some text is missing... what could be the reason?
    Maybe there is other way to transfer print forms between SAP systems without using program RSTXSCRP?
    Will reward,
    Mindaugas

    Hi,
    when you transfer print forms from one sap system to another, logos are not transfered automatically. these are actually .bmp files which need to be existing in every client. then only when you run your print program logo can be seen in your print output. hence logos need to be created explicitly in every client where you want to run your print program.
    thanks,
    sksingh

  • Issues with Export/Import using Database & Shared buffer

    Hi All,
    I have a method that calls a program via a job and I am having issues passing data between the two.
    Note that two different users process the method and program (via job) resp. This is how I am calling the second prog-
    SUBMIT ZPROGRAM
                 VIA JOB     l_jobname
                     NUMBER  l_jobcount
                     USER    i_user
                 AND RETURN.
    I need to pass data from method to  the second program and vice versa and then the method continues its processing with the data acquired from the second program.
    I have tried using Import/Export using database and also shared buffer. What I have found is that most of the times I am able to pass data from method to program. However the job takes a couple of min to execute and I think that the data is not making back to the method in time.
    I have looked at some useful forum links-
    Problem with export/import in back ground
    Re: EXPORT/IMPORT  to MEMORY
    but havent been able to find an answer yet. Any solution? Thanks in advance for your help!
    Liz

    Hi Suhas, Subhankar
    I have tested the scenario without the job previously itself and it works. Thats the reason, i am trying with the job now as my requirement is that I need to change the user while executing the second report.
    Here is an example of my import/export - I am passing the return value from the second report to the first.
    Code in second report-
    DATA: INDXKEY LIKE INDX-SRTFD VALUE 'RET1'.
    INDX-AEDAT = SY-DATUM.
    INDX-USERA = SY-UNAME.
    EXPORT RETURN1 TO SHARED BUFFER INDX(ST) ID INDXKEY.
    Code in first report -
    SUBMIT ZPROGRAM
                     VIA JOB     l_jobname
                         NUMBER  l_jobcount
                         USER    i_user
                     AND RETURN.
    Once Job close FM is executed successfully, I import the values as follows
    IMPORT RETURN1 TO RETURN1 FROM SHARED BUFFER INDX(ST) ID INDXKEY3.
    INDXKEY is having value RET1.
    However Return1 is not having any values in first report. It has some value in executed without the job
    Please note that I have tried Export/import with Database too and I am getting the same results.
    Thanks for your suggestions.
    Regards, Liz

  • How to import complete database with all schemas

    I have exported all database using system/manager in oracle 8.
    Now How i can i import all database in oracle 9i with all users, Roles etc...
    I tried to import "Import Entire database=y" using system manager schema but face following errors.
    Schema doesn't exit, Role errors etc.....

    Hi,
    As you are working with Old version of Oracle, then Oracle data pump would not be applicable to in order to carry out. So, in order to complete the export and import from prior version either you need to upgrade the version of Oracle so that you can make use of upgrade tools or either clone it or make sure you create required things prior to import on destination database. Further you can check Oracle support team
    - Pavan Kumar N

  • Client export/ import:  tp finished with error 16

    Hi folks,
    I am facing an error while doing client import. I was planning for QA refresh, but ultimately decided to do a client export/import from production to QA. Export in production completed in 3 minutes, db size is around 100 gb. Created a new client in QA and while importing the tp finished with return code 16. When I compared the Z tables with PRD system, there were no entries in the Z tables copied to QA.
    Can anyone suggest as what can be done for successful import or is there any alternative way to do this? This is required to be done asap.
    Regards,
    Sai R.

    Hi Sai,
    I don't know what you did here, because I do have NEVER seen an client export of 100GB in 3 minutes ! => I expect, that more or less nothing got exported ...
    Z-tables .... I do hope, that your QA System contains on these Z tables as well and you are only talking on the contents of the tables that you want to copy over ...
    => This works automatically if you use something like SAPALL profile or so (if the export is successful)
    You should at least export export files of 5-10% of your client size => 5-10GB - otherwise you should check the export first ...
    Regards
    Volker Gueldenpfennig, consolut.gmbh
    http://www.consolut.de - http://www.4soi.de - http://www.easymarketplace.de

  • How to import whole database (with data) from remote server?

    I am using oracle sql developer 2.1. Our main database server is in USA, we use this from Bangladesh. We also a local copy here time to time updataed.
    Is there any way copy or migrate the whole database with data from usa server to our local serve using sql developer 2.1?
    we use windows server 2003 service pack 2 in local server.

    I replied to you in Import Data wizard not found and stand by my suggestions.
    Regards,
    K.

  • Can i do client export import between systems with different patch levels

    we want to do a client export import between two systems. As I understand the patch levels should be the same in both for this to happen..
    But right now I am in a situation where time is a big constrant. The basis patch level is on par. But the rest are not. Can I do  client import successfully at this stage.

    The only thing that may stop it working could be additional functionality between the systems.
    I work on XI and there is a huge difference between SP12 and SP15.  We were able to do the transports between systems, but as Dev was patched before QA, and the transport was reliant on standard settings not being available, it still went though, but we had to transport it again after applying SP15 to QA.
    Again, it probably depends on what System you have running on Netweaver...

  • How to export/import outlook calendar with certain period

    One of the user likes to import someone's calendar. But she only likes to import future calendar entries.
    I appreciate if you someone shows me how to accomplish this.
    Thanks.

    Hi,
    Please try my method, since I'm not sure which version of Outlook you are using, I'll take Outlook 2013 for example:
    Go to that calendar that you want to export, then click the VIEW
    tab -> Current View -> Change View -> Select
    List. All items in that calendar will be listed, then we go to
    View Settings -> Filter -> Advanced tab ->
    Field -> Date/Time fields -> Created
    -> Under Conditior, select on or after
    -> Under Value, type in the date and time, for example, Tue 6/10/2014 9:00 PM -> Click
    Add to List -> OK.
    Thus we have only the items on or after a certain date and time displayed in the list, Ctrl + A to select them all then Ctrl + C to copy them. Create a new Calendar then copy all the items into the new calendar by Ctrl + V.
    Then we can export the new calendar from FILE tab ->
    Open & Export -> Import/Export.
    Regards,
    Melon Chen
    TechNet Community Support

  • Export/Import full database dump fails to recreate the workspaces

    Hi,
    We are studying the possibility of using Oracle Workspace to maintain multiple versions of our business data. I recently did some tests with the import/export of a dump that contains multiple workspaces. I'm not able to import the dump successfully because it doesn't recreate the workspaces on the target database instance, which is an empty Oracle database freshly created. Before to launch the import with the Oracle Data Pump utility, I have the "LIVE" workspace that exists in the WMSYS.WM$WORKSPACES_TABLE table. After the import is done, there is nothing in that table...
    The versions of the Oracle database and Oracle Workspace Manager are the same on source and target database:
    Database version (from the V$VERSION view):
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    Workspace Manager version (from the WM_INSTALLATION view):
    OWM_VERSION: 10.2.0.4.3
    In order to recreate the tablespaces successfully during the full import of the dump, the directory structure for the tablespaces is the same on the target database's computer. I used the instructions given in this document, section "1.6 Import and Export Considerations" at page 1-19:
    http://www.wyswert.com/documentation/oracle/database/11.2/appdev.112/e11826.pdf
    Considering that the release of Oracle database used is version 10.2.0.4, I use the following command to import the dump since it doesn't contain the WMSYS schema:
    impdp system/<password>@<database> DIRECTORY=data_pump_dir DUMPFILE=expfull.dmp FULL=y TABLE_EXISTS_ACTION=append LOGFILE=impfull.log
    The only hints I have in the import log file are the following block of lines:
    1st one:
    ==============================
    Traitement du type d'objet DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
    ORA-39083: Echec de la création du type d'objet PROCACT_SYSTEM avec erreur :
    ORA-01843: ce n'est pas un mois valide
    SQL en échec :
    BEGIN
    if (system.wm$_check_install) then
    return ;
    end if ;
    begin execute immediate 'insert into wmsys.wm$workspaces_table
    values(''LIVE'',
    ''194'',
    ''-1'',
    2nd one at the end of the import process:
    ==============================
    Traitement du type d'objet DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
    ORA-39083: Echec de la création du type d'objet PROCACT_SCHEMA avec erreur :
    ORA-20000: Workspace Manager Not Properly Installed
    SQL en échec :
    BEGIN
    declare
    compile_exception EXCEPTION;
    PRAGMA EXCEPTION_INIT(compile_exception, -24344);
    begin
    if (system.wm$_check_install) then
    return ;
    end if ;
    execute immediate 'alter package wmsys.ltadm compile';
    execute immediate 'alter packag
    The target operating system is in french... here is a raw translation:
    1st one:
    ==============================
    Treatment of object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
    ORA-39083: Object type creation failed PROCACT_SYSTEM with error :
    ORA-01843: invalid month
    failed SQL :
    BEGIN
    if (system.wm$_check_install) then
    return ;
    end if ;
    begin execute immediate 'insert into wmsys.wm$workspaces_table
    values(''LIVE'',
    ''194'',
    ''-1'',
    2nd one at the end of the import process:
    ==============================
    Treatment of object type DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
    ORA-39083: Object type creation failed PROCACT_SCHEMA with error :
    ORA-20000: Workspace Manager Not Properly Installed
    failed SQL :
    BEGIN
    declare
    compile_exception EXCEPTION;
    PRAGMA EXCEPTION_INIT(compile_exception, -24344);
    begin
    if (system.wm$_check_install) then
    return ;
    end if ;
    execute immediate 'alter package wmsys.ltadm compile';
    execute immediate 'alter packag
    By the way, the computer of the source database is Vista 64 in english and the destination computer is Vista 64 in french, do you think this has anything to do with these error messages? The parameters of the NLS_SESSION_PARAMETERS view are the same in the source and target database...
    Thanks in advance for your help!
    Joel Autotte
    Lead Developer
    Edited by: 871007 on Jul 13, 2011 7:31 AM

    I tried to import the full database dump with the "imp" command and I had the same error message with more detail:
    . Import d'objets SYSTEM dans SYSTEM
    IMP-00017: Echec de l'instruction suivante avec erreur ORACLE 1843 :
    "BEGIN "
    "if (system.wm$_check_install) then"
    " return ;"
    " end if ;"
    " begin execute immediate 'insert into wmsys.wm$workspaces_ta"
    "ble"
    " values(''LIVE'',"
    " ''194'',"
    " ''-1'',"
    " ''SYS'',"
    " *to_date(''09-DEC-2009 00:00:00'', ''DD-MON-YYYY HH"*
    *"24:MI:SS''),"*
    " ''0'',"
    " ''UNLOCKED'',"
    " ''0'',"
    " ''0'',"
    " ''37'',"
    " ''CRS_ALLNONCR'',"
    " to_date(''06-APR-2011 14:24:57'', ''DD-MON-YYYY HH"
    "24:MI:SS''),"
    " ''0'',"
    " '''')'; end;"
    "COMMIT; END;"
    IMP-00003: Erreur ORACLE 1843 rencontrée
    ORA-01843: ce n'est pas un mois valide
    ORA-06512: à ligne 5
    The call to the TO_DATE function with the string of the date format is incompatible with the format and language set in the NLS parameters of my database. Since I know that the "imp" and "exp" commands work client side (unlike "impdp" and "expdp"), I did a full export of the source database from the computer on which I try to import the dump to have the same language exported in the dump and I was able to import the dump successfully.
    But, I would like to use the Data Pump tool instead of the old import and export tools. How would it be possible to set the NLS parameters that "impdp" must use before to launch the import of the dump?
    The NLS parameters are set to the "AMERICAN" settings in both source and destination database when I validate that with the "NLS_DATABASE_PARAMETERS" view. The dump I did with "expdp" on the source database exported the data with the "AMERICAN" settings as well...
    On the destination database, the computer language is in french and I guess it is considered by the Data Pump import tool since it outputs the log in the language of the computer and it tries to do a TO_DATE with the wrong date format because it works with the "CANADIAN FRENCH" settings...
    Any suggestions? I'll continue to read on my side and re-post if I find the solution.
    Thanks!
    Edited by: 871007 on Jul 19, 2011 8:42 AM
    Edited by: 871007 on Jul 19, 2011 8:43 AM
    Edited by: 871007 on Jul 19, 2011 8:43 AM

  • PLD export to another Database with 8.8

    HI Experts,
    I looked at the Delta Training on the changes on the PLD and Crystal reports. I want to know how to export a PLD to another database, but did not see where the original file (.b1p) will be stored.
    I need this to enable me to use the Report and Layout Import wizard.
    Any help will be appreciated.
    Marli

    Hi Marli
    yes u can transfer with the Use of Copy Express Addon Given by Sap itself .
    Run Copy express....>File...>New Work Sheet ....>enter ur the company user id and pwsd for  base company ....> then OK .
    select customization -
    >Print Layouts...>Documents & report click on this and list of plds vill appear select the layout which u need to transfer to another database and  go to File menu and save configuration as Xml file ..
    Take the back up of the target company before  transfering the layout
    After that from the same file menu click on Copy configuration to target company  file &  enter the id and pswd now the layout vil be transferred and after finishing copying a message will be populated as copy process is completed .so now open ur transferred datbase and see ur layout has come r not ....
    cheers
    Regards
    Jenny

  • Export-import if database is down

    I had a query whether we can run the export and the import process if the database is down. Basically export process is the command, 'exp'. So, would this
    command run even if the database is down. Even, import command is run with command, 'imp', so, would it be requiring database to be up.
    I hope, my question is clear.
    Please, help in solving the doubt.
    regards

    Hi,
    Export is a Logical Backup in sense DB Objects, Think how come with out DB instance is Up and Running, does exp application can extract the things.
    - Pavan Kumar N

  • IMPORT from database with dynamic parameter list

    Hi Gurus,
    Iu2019m having problems during import from a cluster table.
    I wanu2019t to do an import with a dynamic parameter list, but I cannot get it to work.
    Sample code ********
    DATA: BEGIN OF st_key,
    report LIKE rsvar-report,
    variant LIKE rsvar-variant,
    END OF st_key.
    DATA dirtab1 LIKE cdir OCCURS 10 WITH HEADER LINE.
    DATA dirtab2 LIKE cdir OCCURS 10 WITH HEADER LINE.
    st_key-report = 'ZPRG'.
    st_key-variant = 'VAR1'.
    IMPORT DIRECTORY INTO dirtab1 FROM DATABASE vari(vb) ID st_key.
    IMPORT DIRECTORY INTO dirtab2 FROM DATABASE vari(va) ID st_key.
    DATA: tmp_var(100)   TYPE c.
    This works - P_BWTAR is a parameter from the selection screen registred in VARI
    I'm getting the content of the field in tmp_var
    IMPORT p_bwtar TO tmp_var FROM DATABASE vari(va) ID st_key.
    This does not work - the parameter P_BWTAR is in the dirtab2-name
    I'm not getting the content
    LOOP AT dirtab2.
        IMPORT dirtab2-name FROM DATABASE vari(va) ID st_key.
      ENDIF.
    ENDLOOP.
    I have tried the syntax IMPORT (dirtab2-name) ........
    but this fails the syntax check.
    Please - if you have any suggestions  :o)
    Best Regards,
    Vibeke

    Dear Vibeke,
    Could you please explain us how you solved the problem because you have the same issue ?
    thanks a lot
    KR
    véronique

Maybe you are looking for

  • Problem naming a method

    Hi, In a part of my project I have an defined a class A. A has several attributes, classified in two groups: fix ones and evolving ones. To reflect this in data base I have two different tables - FixA: fix data of A. PK is A's id. - EvoA: evolutive d

  • HT201359 Do I need a gift card or iTunes card before I use my apple Id to download

    How can I use my apple Id to get free down not have a create card or others

  • Slow to sleep

    I've recently upgraded from a late G3 iBook to a new White Santa Rosa MacBook, with which I'm having some sleep issues. Firstly, the MacBook will not sleep if inactive. I've set it to go to sleep after 10 minutes of inactivity, but this does not happ

  • N8 Symbian Belle Product Codes

    I have had Nokia phones for twenty odd years , this has to be one of the most frustrating things I have come across. My current phone an N8 PC 059D012, it is not tied to an operator but am stuck with waiting for ages to upgrade to Belle because my pr

  • Need to display only leaf and not the node using tree table

    Hi, Am using Jdeveloper 11.1.2.0.0 . As per requirement , am having Department - Employee View wherein Department is the parent considered as node and Employee as a child which is considered as a leaf. Having dragged and dropped the DepartmentView as