How not to export audit DBMS_FGA strategies

Hello

I have a few paintings with DBMS_FGA policies on them (because of AuditVault) who calls a user-defined audit function. When the export of the whole scheme, the policies if exported too, but not the audit works, since he created in another schema. The problem is that when I import the schema on a different database, I get the following error when you try to access the data in these tables:
ORA-28112: failed to execute policy function 
ORA-06512: at line 4 
28112. 00000 -  "failed to execute policy function" 
*Cause:    The policy function has one or more error during execution. 
*Action:   Check the trace file and correct the errors. 
This is because the audit function does not exist in this database. The problem is resolved if I drop policies after importation with for example:
begin
  for rec in (select * from dba_audit_policies where object_schema = 'ACC') loop
  dbms_fga.drop_policy(object_schema => rec.object_schema,
                         object_name => rec.object_name,
                         policy_name => rec.policy_name);  
  end loop;
end;
/  
Anyone know if it is possible to somehow do not export these policies so that runing the PL/SQL preceding crashes after that importation would be unnecessary?

Thanks in advance.

Kind regards
Swear

Hello

All you need to do is add the exclusion filter.

exclude the = fga_policy

to your export or import command line. If you don't want them in the dumpfile, and then add it to the command expdp. If you like in the dumpfile but do not want to import, and then add it to the impdp command. If you add it at the same time, you will get an error during the import, saying he has no fga_policy in the dumpfile.

In fact, it may not be fga_policy, but checking for her. I don't have a database that I can look at now, but if you look in your export log file, you should be able to see the type of object that you want to exclude. You looking for something like:

SCHEMA_EXPORT /... / * POLICY *.

I guess this would be it. To check, you can use

Impdp sqlfile = my_file.sql directory... dumpfile...

This will generate a file called my_file.sql and you might look to find the ddl or pl/sql you want to eliminate. Once you find it, watch until you see a line like SCHEMA_EXPORT... Then add the end of this line to with an exclude = to your export order.

I hope this helps.

Dean

Published by: Dean WINS on January 15, 2010 13:04

Tags: Database

Similar Questions

  • How can I reinstall audition CS6 upgrade after hard drive crash?  Qualifying previous product is not on my computer.

    How can I reinstall audition CS6 upgrade after hard drive crash?  Qualifying previous product is not on my computer.

    Never mind.  I found the license key for the previous product and was able to complete the installation.  Being a "pack rat" has its merits, sometimes.

  • How can I export AE project with effects of bubbles in first? Bubble effect is not transfer

    How can I export AE project with effects of bubbles in first? Bubble effect is not transfer

    Return an intermediate element.

    Mylenium

  • How do you export a file from lightroom if you do not have the original raw file

    How do you export a file from lightroom if you do not have the original raw file

    Hmm, the link disappeared. Let's try again:

    Extract previews

  • How do you export groups of tabs, bookmarks, and history fron a computer to another computer

    I found myself replacing my computer for various reasons and need to recover all my data from my old computer to the new. However, when it came to Firefox and my groups of tabs, bookmarks and history, I have not found any real way to export them to the other computer. is it possible to record all this information and then move it to the new computer? It's exhausting to have to lose all my save information as well as all of the tabs that I have because I need them and it takes a long time to copy and paste all my address in a text and saving it like that.

    in the links list, I read on registration and export and restore everything except for groups.

    Of course, it would be nice if they just don't go away, but as long a they do (as with the last upgrade FF8.0) I would like to know where they are stored (so I can get time machine) and how I can export for use on other devices.

    It would also be useful for FF sync to synchronize them - there is no mention of this - that's why I stayed with Xmarks for the moment - as has also lets me sync with Chrome and Safari.

  • How edit you, export, sort bookmarks

    How edit you, export, bookmarks to sort alphabetically or by any other means? Without adding or over other options can be found to do the simplest things to a collection of bookmarks?

    Sort bookmarks

    IF this does not work, use this add-on we SortPlaces

    Check and tell if its working.

  • Playmemories export feature - "some files could not be exported" HDRPJ760V

    Hi all

    I've been racking my brain for the last nights on this issue.

    I recently bought a HDR-PJ760V (built in projector)

    The situation is, I put together a video for the birthday of my wife with his family and friends saying things different, all separate videos etc and I want to play the video sound using the tool built into the projector.

    I would like to add some text and effects to video and then it reupload to the camera by using the function 'export' in memories of game House.

    I used different software conversion and even Sony's Vegas software to try it.

    When I go to 'export' in memories of reading, then select the video that was edited and drag and drop it in the box to the right, as a first step, the software accepts this file must be uploaded to the camera

    I press the export button and it starts to download, the progress bar gets all through and then it tells me that "some of the videos could not be exported.

    Someone at - he sucesffully edited a video and then he exported to the front camera?

    In playmemories, I am able to combine several videos and don't download it to the camera, no problem, but the videos edited with external programs wil do not work, memories of game will play very well edited video.

    Any help will be appreciated.

    Jason

    Thanks for your reply, not that I'm eager to good...

    Must be a way to put the files on the camera.

    There is a demo on the camera file when you get new, obviously, this was not recorded on my own camera and then shipped to me. It must be a way to put the video that has been edited on here, how you can add a file to the database?

    I just spend $1500 on this device, with a projector and all, but what's the point if you can see only the raw images.

    Advertising of the camera shows people gather around a pool with popcorn looking through the projector.

    Anyone has any ideas on this at all? as I said there must be a way, because the demo file was transferred to the camera and added to the "base".

    I tried to download files and he accepts, but as soon as he says its over adaptation more, give me an error saying that some files could not be copied

    I'm happy to pay for the software for it

  • How can we export itno csv data file for oracle forms

    Hello

    How can we export itno csv data file for oracle forms

    For example. I have the block called A.what never the data displayed on a block, when I click on a button, displays the block data, must be exported to the csv file.

    My application is running on the unix operating system.

    Please help on this.

    First of all.  What is your version of forms (for example: 11.1.2.2.0 not 11g).  Finally, who will use the .csv file?  If it is a user on their client computer - CLIENT_TEXT_IO TEXT_IO or WebUtil are standard packages used to export data to a file of Oracle Forms.

    The amount of data to be exported?  If you export only a couple hundred lines - export of Froms will be OK.  If you export more lines than that (300 + lines) then the export will be extremely slow to your username.  Keep in mind that forms is not designed to perform data exports - there are better tools available for this...

    Craig...

  • How do I export video on DVD with over the loss of its quality

    How do I export video on DVD with over the loss of its quality

    Comparison of video screen photo sizes http://forums.adobe.com/thread/1120039

    When you change HiDef video and down the size to the size of 720 x 480, a DVD, you will lose a quality of image... but your DVD will look always 'good' considering the mandatory resolution of a DVD-video

    Export of the body using the MPEG2-DVD preset and import are still the TWO files (audio and video) for the creation... If you stay in the 'legal' to create a DVD, yet will not transcode again

    CS5-thru-CC body/Encore tutorial list http://forums.adobe.com/thread/1448923 has many links to help learn

    Instructions again, cloud or version https://forums.adobe.com/thread/1992717 serial number

    -a of notes on different versions of cloud and step by step on these differences

    -contains information about the separate library download which is necessary

  • How do I export a large collection at various times and have the renumbering be sequential? So, start by importing 1-499 rename, then have the next export pick up 500-599 for example. Thank you!

    How do I export a large collection at various times and have the renumbering be sequential? So, start by importing 1-499 rename, then have the next export pick up 500-599 for example. Thank you!

    To my knowledge there is not anyway, unless start you numbering at 500 the number. It is an option in the export dialog window.

  • How make/quick export in Adobe after effects CC

    Hello

    How can I export and make fast in Adobe After Effects, I bought a new PC, but it is not fast enough in my opinion.

    I want to export a project of 60 fps for 1920 * 1080, 10 seconds long. It takes a very long time.

    I've already put my GPU as CPU, but if I start rendering and look my GPU usage, After Effects will not use it.

    Screenshots of my project and settings:

    Project - https://snapr.pw/i/b18473e4cc.png

    Momory - https://snapr.pw/i/e92cb228a9.png

    Cache - https://snapr.pw/i/30addc6d0c.png

    GPU - https://snapr.pw/i/2b36b10748.png

    Computer system: popoqwerty - Profiel - started

    CPU - Intel Core i7 - 8520K six hearts

    GPU - Asus GTX OC 780 6 GB STRIX

    Motherboard - Asus X 99-A

    RAM - Crucial 16 GB

    SSD - Samsung SSD PRO 850

    HARD - WD Black 2 TB drive

    > How can I export and make fast in Adobe After Effects.

    See this page for resources to make After Effects work faster: http://adobe.ly/eV2zE7

    > I already have my GPU as CPU, but if I start rendering and look my GPU usage, After Effects will not use it.

    After Effects uses the GPU to almost nothing. See this page for details of the GPU features in After Effects:

    Features GPU (CUDA, OpenGL) in After Effects

    > "Verry long" is 10 minutes for a 10 second video.

    10 minutes is not a long time for a 10 second with Visual effects, compositing, 3D movie or many other types of treatment by high-performance computing. Often, people leave films of 30 seconds during the night or on the weekend to return. This is true for all the aoftware who does this kind of work, not only After Effects.

  • How can I export to PDF for printing Offset, including colors and grayscale of the photo?

    After reading dozens of forum, I not yet found the answer.

    I made a photo album with full-colur and b & w photos for Offset print. I want to be for the b & w grayscale avoid the hues of colors possible. It seems that InDesign does not support the shades of gray, how images become dark. Even with export without any conversion of color or the destination and/or including profiles of original colors, the images are exported to obscurity as a PDF to grayscale.


    How can I export to PDF for printing Offset, including colors and grayscale of the photo?

    Yes, Photoshop & ID CMYK working spaces are the same

    This can become difficult because 3 programs manage proofing differently.

    Work spaces don't matter, document profiles that handle the preview. So here's the same image in grayscale, placed in the ID on the top and PS on the bottom. I put my info in Photoshop to display the profile of doc in the lower left corner. I can see the profile of my InDesign CMYK Document in my test format (CMYK work is different and is not used). The two profiles are actually the same coated FOGRA39 (Black Ink FOGRA in the case of the PS).

    But the previews do not match because I disabled, so the preview InDesign is Gamma 2.2 or a "screen" media preview overprinting.

    If I turn on overprint preview, I get a match because I'm soft proofing for printing:

  • How do I export data from one day to backup disk.

    Hi all

    Here we have a requirement like, we need to download the data from one day to the external drive and we must compire the exported data and the data in the table.
    I googled and I have discovered that using expdp command we can export the table content, but my Question is how do I export data from one day. My table having 2 years of data and I need download the data of only one day.

    expdp scott/tiger@db10g tables = EMP, DEPT = TEST_DIR dumpfile = EMP_DEPT.dmp expdpEMP_DEPT.log = logfile directory

    Can someone tell me how to download data from one day to the table & compare data exported with the data in the table. (I know both exported and data of the table data will be the same that we are downloading data of the actual table, but for tests, I need to know how to compare).


    Thank you
    Sree

    However, I do not understand the scenario but here is a way to compare:
    (1) change the name of the table newly created in another name
    (2) import the exported file once again

    you will have the same data in both tables

  • How do I export my image with transparent bkground (CC)

    Before I ask my question, I want to emphasize I currently exporting my image by clicking file > export >. PNG >(72PPI+Transparent)

    The question running im's; for example when I export text, I'm also exports a certain amount of space around my image. How can I export the exact outline of my picture? I posted a screen shot of what im referring to.

    When I tried to use my image of text for a website that I was building I noticed that I could not image at the Center. I opened the image in paint and noticed I have export the area around my image aswell and not just the image itself. I hope that screenshots can explain my scenario a little better...

    I would like to export the outline of text only. As you can see in the paint I export a fixed area around my image.

    ANY HELP IS GREATLY APPRECIATED! THANK YOU - JON-

    pic1.png

    pic2.png

    A couple of things you could try: first, to present the text (Type > vectorize) before exporting. In the second place, especially if you want to keep the editable text, try effect > path > describe the object, then export. I think that those who will give you what you want.

    Edit: One or the other, shouldn't it need both.

  • How not to use the squint no functionality?

    I forgot how not to use the squint no functionality. Can anyone help?

    18.0 Firefox was released last Tuesday, you need to update.

    See if this FAQ for NoSquint answers your questions.

    https://urandom.ca/NoSquint/#FAQ

Maybe you are looking for

  • Satellite 2550CDT will not turn on

    Hello.My problem is that my knee is not powered: I plug the captain and led is green (with a sign), I push the power on button, which led happens to orange and its impulses and nothing happens.I don't know if the machine is blocked or something and I

  • How to update Motorola atrix 4.0.500.ME860. Retail.en.05 to the gingerbread

    How to update Motorola atrix 4.0.500.ME860. Retail.en.05 to the gingerbread Froyo 2.2.2 Bought in Hong Kong, to aid in India

  • long pull down the menu with no vertical scroll bar

    People, It's been 3.5 years ago when we had to learn that there is no way to have a long drop down menu control without a vertical scroll bar. See http://forums.NI.com/NI/board/message?board.ID=170&message.ID=217428&query.ID=395029#M217428 Now, after

  • Limit SSH Login failed for N3024P

    Greetings, I tried to look in the documentation and here, but so far I have not found an answer. We use Dell N3024P v6.3.0.16 running switches. Our problem is that we must limit the number of attempts to connect SSH 3 tests until it resets and enter

  • Tx1000z webcam no longer works

    I used Skype, it a few weeks ago in the House.  He implemented, ran from Skype, no video. The active Device Manager, "imaging devices" but find the camera listed under USB as Sonix ST50220 USB video camera controllers. QuickPlay does not, nor does Sk