An not import an export file when has cross-schema partition by reference
I'm working on a complex system with about 200 tables stored in *5 schemas* on Oracle 11.2.0.2 (database is installed on a Redhat Linux).
There are lots of partitioned tables, and some are partition by reference, and some of the partition by references are partitioned on cross-schema references (the referenced partitioned table and the table which is partitioned by reference are in 2 different schemas).
When exporting these 5 partitions using data-pump everything goes fine, but I could not find a way to import it in another database without errors. And the problem is on creating tables which are partitioned by cross-schema references, and I get an Insufficient Privilege error.
It seems that the impdp first creates all the tables, and then apply the grants (including references grant) and that causes the problem. If it applied grant statements of each table after creating that table there would be no problem.
Is there any way I can overcome this problem?
This is export script:
declare
h1 NUMBER;
begin
h1 := dbms_datapump.open (operation => 'EXPORT', job_mode => 'SCHEMA', job_name => 'EXPORT000185', version => 'COMPATIBLE');
dbms_datapump.set_parallel(handle => h1, degree => 1);
dbms_datapump.add_file(handle => h1, filename => '910202.LOG', directory => 'DATA_PUMP_DIR', filetype => 3);
dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''PAYESH_ACCOUNTING'',''PAYESH_CORE'',''PAYESH_CRM'',''PAYESH_LIFE'',''PAYESH_SECURITY'')');
dbms_datapump.add_file(handle => h1, filename => '910202_db4.DMP', directory => 'DATA_PUMP_DIR', filetype => 1);
dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
dbms_datapump.detach(handle => h1);
end;
and this is the import script:
declare
h1 NUMBER;
begin
h1 := dbms_datapump.open (operation => 'IMPORT', job_mode => 'SCHEMA', job_name => 'IMPORT000189', version => 'COMPATIBLE');
dbms_datapump.set_parallel(handle => h1, degree => 1);
dbms_datapump.add_file(handle => h1, filename => '910228.LOG', directory => 'DATA_PUMP_DIR', filetype => 3);
dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
dbms_datapump.add_file(handle => h1, filename => '910128.DMP', directory => 'DATA_PUMP_DIR', filetype => 1);
dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''PAYESH_ACCOUNTING'',''PAYESH_CORE'',''PAYESH_CRM'',''PAYESH_LIFE'',''PAYESH_SECURITY'')');
dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
dbms_datapump.set_parameter(handle => h1, name => 'SKIP_UNUSABLE_INDEXES', value => 0);
dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
dbms_datapump.detach(handle => h1);
end;
Similar Messages
-
Aperture does not import Nikon JPG files when RAW and JPG
I own a Nikon D2x that I download files to a Sony 40GB portable HD. When I shoot in RAW + JPG only the RAW file is imported when I connect the Sony HD to my Mac and import to Aperture.
If I open the Sony disk Icon on the Desktop, I can see both the RAW and the JPG. In fact I can finder copy both files to the Desktop with no problem.
Even when I connect the camera itself, the jpg files are not imported.
This makes me think I should just shoot in RAW and save the space on the memory card.
Why does Aperture not import the JPG files?it does import them ... but only displays the RAW file ... if you drill down into the library package you will see them ...
here are threads dealiing with same issue ...
http://discussions.apple.com/search.jspa?search=Go&q=RAW+JPEG -
Specifically I'm trying to import a .MOV I made in Quicktime. The file opens up everywhere else so it's not an issue with the file being corrupted. The error message I get from CC is
"Could not complete command _____________ because the video file could not be opened."
As far as I know I didn't save the .MOV with any permissions, but then again I have very limitted understanding of Quicktime. Originally the file was a .GIF that I converted to an .MOV because I wanted to edit the GIF using the video timeline instead of the animation timeline.
Thanks for the help.
Also, as an aside since I know a lot of Adobe employees are on here, the animation timeline is pretty crummy, there should be a way that you can open a .GIF into the video timeline as a video layer.Did the back and forth between PC and Mac file systems screw up my files somehow?
Yes. Unfortunately the move has almost certainly caused the loss of the resource data that would have been (invisibly) attached to those files.
By adding a specific .mov extension after the fact you will have helped the Mac correctly identify the file type / asscoiations but also significantly you will have physically changed the filename eg from "clip" to "clip.mov". This means that when you come to reconnect the media in FCP , then FCP will be looking for files that no longer exist at the given path eg when specifically looking for our example clip called "clip" of course it won't find it.
Try this as a test... first remove the ".mov" extension from one or more of the clips, select those clips and press Cmd-Opt-I to open an Info window for the selection. You'll see an "Open with:" popup and in that popup you should choose QuickTime Player (if its a Unix Executable then it will initially list Terminal as the appropriate app, you have to choose Other... then in the open dialog choose Enable > All Applications and then navigate to and select the Quicktime Player app as the appropriate app). After you've done that restart FCP and see if you can now reconnect to those clips. -
Lightoom 5.7 not importing ALL jpeg files when importing
Hello, I am repeatedly having issues with Lightroom 5.7 64 bit on Win 7 computer on the import option from a file on hard drive. The file has 40 pictures, mostly all jpeg...and after the import - add function, only about 20 are imported. I have tried this multiple times and it still happens. Any ideas would be appreciated.
There is an option in the Lightroom preferences to treat JPEG's next to raw images as separate images. If that option isn't checked, and some of your images are raw files, the raw files will be imported but the JPEG images will not. So check to make sure you have that option activated.
-
My HDD crashed and I had to reinstall my boot and programmes on a new HDD. I managed to recover my library.itl. How can i import it with the new version of itunes? When i try imprt playlist, it replies that it is not a validly exported file.
It should be like the very first time you synced your phone with I-Tunes. It will notice you haven't synced before and just copy everything from your phone into I-Tunes. It shouldn't delete anything from the phone, at least it never has for me. It just puts a copy of everything into I-Tunes and even if you delete an app for example from your phone and you decide you want it back later, you can just go back into I-Tunes and copy it back over. Hope this helps.
-
Using Firefox 3.6.20 and Windows XP Home SP3. Firefox sporatically deletes bookmarks from the bookmarks toolbar. Additionally, when I try to import from a saved HTML file, Firefox does not import the complete file. Results are inconsistent.
A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox -
Lightroom 5 does not import the GPS-files taken by the Sony A77. When i open the Bridge, there i can see them correctly. Can you help me? Thank´s a lot!
Deleting this discussion as it is a duplicate of Hello: I am using OSX 10.9.3 Lightroom Version 5.4 Camera Sony A77...Problem: importing the foots form chip or from the camera the GPS-position is not shown in lightroom. Using the bridge there they are. What have I do do? Thanks
-
Illustrator CS3 Import and Export File Format list?
Hello,
Has anyone typed up an updated supported import and export file format list for CS3? I used to reference a support knowledgebase document, 1001741, (no longer on Adobe's site) that showed the majority of file formats and versions that Illustrator was able to import. I searched all over and couldn't find one, then called support and they confirmed they no longer had a list like that available--they had split the import options into separate lists--like what versions of Photoshop files, what versions of .eps files, .tiff files etc. Illustrator CS3 could open.
The reason I was looking because I wanted to see what version Corel file CS3 could open after I was not able to open a customer's v.12 .cdr file.
Thanks,
Rick H.I am pretty sure that the last supported version of Corel that AI can open is version 10.
:) Mordy -
Hi,
Can 9.3.1 ImportExport utility import an exported file from 9.2.0.0 ?
When I ran 9.3.1’s ImportExport utility to import 9.2’s export.csv, it gave me the following error messages:
D:\Hyperion\common\utilities\CSSImportExportUtility\importexport>CSSImport.bat i
mportexport2.properties
Trace...
2009-04-07 01:05:18,025 Attempting a import operation
2009-04-07 01:05:20,728 Import : Attempting to create user admin
2009-04-07 01:05:20,728 Import : Password not specified for user admin
2009-04-07 01:05:20,744 Import : Unable to create user admin
2009-04-07 01:05:20,744 Import : Create user admin failed. Attempting up
date.
2009-04-07 01:05:20,744 Import : Attempting to update user admin
2009-04-07 01:05:20,775 Import : User updated : admin
2009-04-07 01:05:20,790 Import : Attempting to create user essadmin
2009-04-07 01:05:20,790 Import : Password not specified for user essadmi
n
2009-04-07 01:05:20,790 Import : Unable to create user essadmin
2009-04-07 01:05:20,790 Import : Create user essadmin failed. Attempting
update.
2009-04-07 01:05:20,790 Import : Attempting to update user essadmin
2009-04-07 01:05:20,806 Import : Unable to locate user essadmin
The number of errors detected during the import operation exceeded the n
umber of allowable errors. Please correct the errors and then rerun the program
or increase the value of the import.maxerrors property.
Aborting program...
====================
We have a user essadmin in 9.2.0.0 but not in 9.3.1.
Since we already have a user called admin in 9.3.1, I deleted user admin in export.csv file and tried to import again.
The 9.3.1 ImportExport utility did not like the newly updated export.csv fileHello John,
I'm exporting from 9.2.0.0.
I'll try updating my 9.2's export file with password and resubmitting it.
In the meantime, I was told 9.3.1 ImportExport will run in 9.2.0.0. However, everytime I tried that, it gives me the error
When I run 9.3.1's cssexport.bat importexport.properties in 9.2.0's HSharedServices server, I get the error message:
The system cannot find the path specified.
I attach the importexport.properties file for your examination. All the paths are correct, such as:
C:/Hyperion/SharedServices/9.2/AppServer/InstalledApps/WebLogic/8.1/CSS.xml
C:/Hyperion/common/utilities/importexport931/trace.log
What am I doing wrong?
my css.xml file was found in /C:/Hyperion/SharedServices/9.2/AppServer/InstalledApps/WebLogic/8.1/CSS.xml.
We are using weblogic. Is that the correct location?
I don't get the above messages when I run 9.3.1's cssexport.bat importexport.properties in 9.3.1
importexport.css=file:/c:/Hyperion/SharedServices/9.2/AppServer/InstalledApps/WebLogic/8.1/CSS.xml
importexport.cmshost=localhost
importexport.cmsport=58080
importexport.username=admin
importexport.password={CSS}MRcYv323uzxGr8rFdvQLcA==
importexport.enable.console.traces=true
importexport.trace.events.file=d:/Hyperion/common/utilities/CSSImportExportUtility/importexport/trace.log
importexport.errors.log.file=d:/Hyperion/common/utilities/CSSImportExportUtility/importexport/errors.log
importexport.locale=en
importexport.ssl_enabled=false
export.fileformat=csv
export.file=d:/Hyperion/common/utilities/CSSImportExportUtility/importexport/exportHSS.csv
export.internal.identities=true
export.native.user.passwords=true
export.provisioning.all=true
export.delegated.lists=false
export.user.filter=*
export.group.filter=*
export.role.filter=*
export.producttype=*
export.provisioning.apps=* -
Hi,
We have requirement to transfer User's all tables from 10.2.0.1 database to 8.1.7.0 database
I have successfully exported user along with all tables and its data from the 10.2.0.1 database,
now when i am doing import into 8.1.7.0, i am getting the following error :
IMP-00010: not a valid export file, header failed verification
IMP-00000: Import terminated unsuccessfully
when i searched the internet, in the one blog it mentions as below :
Oracle's exp/imp utilities are not downward compatible.
you must use 9.02.1 exp to extract from instance 9.02.03 and then you are able to imp into 9.02.1
so as per above, i will have to use 8.1.7.0 exp to extract from instance 10.2.0.1 database.
So, how it can be done ?????
where i have done mistake ???
With Regards
Edited by: user640001 on Jan 7, 2009 10:27 PMIt seem you quoted me out of context. I was trying to point out that why read some blog entry of the 'net when the basic rules are clearly documented.
fbortel wrote:
Well in that very same piece of documentation it becomes clear you cannot export 10G, and import into 8i.Which section says this?
The table (if that's it) gives a few exampes: "Table 19-7 shows some examples "
I'm pretty sure that anything after Oracle8 should work. As long as you are using the right version of 'exp'.
But there is a Metalink Note that goes into more detail. (and should be more correct than my memory allows me) -
IMP-00010: not a valid export file, header failed verification
Hi everyone,
I am new in oracle's world, and I've been working with an export from a sun platform, and I try to import to a windows platform. I've been receiving this message error
IMP-00010: not a valid export file, header failed verification
Please, help me I have to finish with that today..
Thanks and have a nice New Yearthanks for your answer.
sorry, but I don't have all exact information, because that export is comming from a client, and I don't know all information. I only know that the platform is sun.
I received the file via an usb memory, directly from the source.
I've been read that if you make an export in sun platform and it isn't as binary when you transfer it to a windows platform, it will be corrupt.
Could you confirm me that? -
My LR 4 suddenly no longer recognized my memory cards. I am using the same cards and cameras but consisitently get the error message:"files not imported because the files could not be read. they are jpg and nef files...I am stuck without my workhorse! Any advice is helpful. This has never happened in 6 years
answered in your other thread LR 4 suddenly no longer recognizes files.
-
Urgent: IMP-00034: Warning: FromUser "USER1" not found in export file
Hello all
I succeccfully export DMP file using sys user with the option full=y.
I want now to import the schema objects for the user1 with the folloing command:
C:\oracle\ora81\bin\IMP.EXE sys/sys@bas fromuser=user1 touser=scott file=C:\omran12-06-2005.dmp
But I received this error :
IMP-00034: Warning: FromUser "OMBR" not found in export file
Import terminated successfully with warnings.
What is the problem
Thanks in advanceHello
Thanks for ur replay but doesn't work at all:
- Itried the first by creatint the user and i received this error:
C:\oracle\ora81\bin\IMP.EXE newuser/newnewuser@sid file=C:\x.dmp log=c:\log.log full=y
Warning: the objects were exported by SYSTEM, not by you
import done in AR8MSAWIN character set and AR8MSAWIN NCHAR character set
. importing SYSTEM's objects into OMBR1
Import terminated successfully without warnings.
Then I tried this:
C:\>C:\oracle\ora81\bin\IMP.EXE sys/sys@sid file=C:\x.dmp log=c:\log.log full=y show=y
I received this:
Warning: the objects were exported by SYSTEM, not by you
import done in AR8MSAWIN character set and AR8MSAWIN NCHAR character set
. importing SYSTEM's objects into SYS
Import terminated successfully without warnings.
Then i tried this:
C:\>C:\oracle\ora81\bin\IMP.EXE system/system@sid file=C:\x.dmp log=c:\log.log full=y show=y
And I get this error:
Export file created by EXPORT:V08.01.07 via conventional path
import done in AR8MSAWIN character set and AR8MSAWIN NCHAR character set
. importing SYSTEM's objects into SYSTEM
Import terminated successfully without warnings.
Why nothing work with me???????? -
Please help CS 4.2 will not import ANY video file
I've been working for days to get this fixed. Everything installs fine software wise and I am using a
Matrox RTX2 for capture/playback but Prem CS4.2 will not import any video file type.
My system is up to spec.
I've seen this problem discussed but none of the (many) suggested solutions have helped.
I've uninstalled and re-installed the OS and clean install multiple times and still I get "file format not supported" with EVERY file type.
Please help!
BrianBrian,
Welcome to the forum.
When issues occur with Matrox cards, updating its drivers often fix things.
If you create a non-Matrox Project, can you then Import AV files?
Good luck,
Hunt -
How do you import a video file that has extension gp into i movie. also rotating video
How do you import a video file that has the extension gp into ivmovie? Also how do you rotate a video . (the video was taken from a phone.)
Hi, your video file needs to be converted to eg. a .mov or .mp4 file before iMovie will recognise. I use 4Media MP4 converter and it works excellent.
For the rotating I do not have an answer, but if you would manege you would end up with a very narrow image either way.
Good luck
Maybe you are looking for
-
Error in connection to SEM, changes will not be saved
Hi All, When i am creating an opportunity i am getting an error "Error in connection to SEM, changes will not be saved", and it does not allow me to save the opportunity. Regards, Radhika
-
Hello All, Was there any result on that scenario we discussed in our last mail ? Can you please shed some light on the ACL. I 'm using HTTP adpater in a web application, I want to restrict user accessing the integration server. I know it is possible
-
CUCM Syslog Message ISSUE (kernel: Exceeded hashlimit)
Hello. Our Customer using CUCM 9.0 (PUB :1 , Sub : 4) and 4 Voice Gateway Cisco 3945 (16 E1 PRI per each Gateway) CUCMs have problem with syslog messages. I saw these messages in rtmt syslog - kernel: Exceeded hashlimit IN=bond0 OUT= MAC=34:40:b5:d5
-
Terminating instance due to error 481
Hi, My database is in rac(2-node) environment.Suddenly it got terminated and the error which it produced is SMON:terminating instance due to error 481. it got stated inb alert log file.There is not trace file. Thanks in advance
-
Too late to add user account?
I have been working in my administrator account since buying my iMac G5 in December. I understand the wisdom of using a user account instead. I am wondering if it is too late to add a user account. If I do that, can I import the folders and files fro