1. 程式人生 > >ORA-39181: Only partial table data may be exported due to fine grain access control on "OE"."PURCHAS

ORA-39181: Only partial table data may be exported due to fine grain access control on "OE"."PURCHAS

      操作環境:Oracle Linux 6.5+Oracle11g

      今天在用資料泵匯出表空間的實驗中出現一個錯誤:ORA-39181: Only partial table data may be exported due to fine grain access control on  第一次遇到這個錯誤,從Oracle 11g的官方文件Oracle® Database Error Messages 11g Release 2 (11.2) (編號E17766-03)一書中查到如下錯誤描述:

     ORA-39181: Only partial table data may be exported due to fine grain access control on string
Cause: An unprivileged user has tried to export a table that has fine grain access control. The table owner is subjected to access control and may not be able to export all rows in the table. Only the rows that can be seen by that user will be exported. In order to preserve integrity of the table, the user importing the table should have enough privilege to recreate the table with the security policies at import time.
Action: It is strongly recommended that the database administrator handle exporting of this table.
錯誤的原因是一個沒有許可權的使用者試圖匯出一個具有細粒度訪問控制的表。該表的擁有者訪問該表會受限,因此不能匯出該表裡的所有行。該表的所有者只能匯出其能看到的那些錶行。因此,要保證表的完整性,在安全策略的前提下匯入該表時,匯入該表的使用者必須擁有足夠的許可權來重建該表。

        解決的辦法就是將EXEMPT ACCESS POLICY這個許可權賦給system使用者:

       

       雖然之前的匯出有錯誤,但同樣會生成匯出的資料檔案和日誌檔案,將其刪除,再重複一次命令:


     成功!

   最後還有一句,匯出的時候資料庫是要處於open狀態,資料庫處於close、nomount、mount都無法匯出的。

相關推薦

ORA-39181: Only partial table data may be exported due to fine grain access control on "OE"."PURCHAS

      操作環境:Oracle Linux 6.5+Oracle11g       今天在用資料泵匯出表空間的實驗中出現一個錯誤:ORA-39181: Only partial table dat

idea not all local changes may be shown due to an error

轉載:https://www.cnblogs.com/zhujiabin/p/6708012.html not all local changes may be shown due to an error

Warning not all local changes may be shown due to an error...... (IDEA檢查不到程式碼變化)

Warning not all local changes may be shown due to an error idea使用svn出現Warning not all local changes may be show

Waring:not all local changes may be shown due to an error

問題 Idea使用git進行commit時,出現以下錯誤 : Waring:not all local changes may be shown due to an error   解決方案: 選擇File --> settings --> Versi

ORA-39194: Table mode jobs require the tables to be comma separated.

一、問題概述 expdp通過parfile導數時候報錯如下: ORA-39194: Table mode jobs require the tables to be comma separated. 相關指令碼為: userid='sys/[email protecte

Android Bitmap 改變的時候可能會丟擲 java.lang.IllegalStateException: only mutable bitmaps may be reconfigured

Android Bitmap 改變的時候可能會丟擲  java.lang.IllegalStateException: only mutable bitmaps may be reconfigure

Only one SparkContext may be running in this JVM (see SPARK-2243). To ignore this error, set spark.d

Only one SparkContext may be running in this JVM (see SPARK-2243). To ignore this error, set spark.driver.allowMultipleContexts = true. The curren

Android Bitmap 會丟擲 java.lang.IllegalStateException: only mutable bitmaps may be reconfigured

Android Bitmap 會丟擲 java.lang.IllegalStateException: only mutable bitmaps may be reconfigured 摘要:AndroidBitmap改變的時候可能會丟擲 java.lang.IllegalSt

解決This function or variable may be unsafe

idt 技術 erro 預處理 管理 復雜 屬性 safe nbsp 當使用VS編寫C/C++時,經常會遇到的一個錯誤是:   error C4996: ‘*****‘: This function or variable may be unsafe.   哎?可我明明使用

Android Studio 出現 Gradle's dependency cache may be corrupt 解決方案

解決方案 -s 地址 com android 版本 mage images cor 將 .\項目地址\gradle\wrapper\gradle-wrapper.properties 文件中的 gradle版本 與 正常的版本 修改一致即可.Android Studi

vs2013/2015中scanf函數類似於error C4996: 'scanf': This function or variable may be unsafe的安全檢查錯誤

span 調試 ria 安全性 init 點擊 scan online pan   在使用vs2015時,遇到了scnaf函數安全性的問題,程序不能正常運行,錯誤如下: error C4996: ‘scanf‘: This function or variable may

ORA-16009 remote archive log destination must be a STANDBY database

and 描述 oracle dmi remote ndb 備庫 err database ORA-16009錯誤處理 問題描述: 主備在做Switchover切換時,在切換後的備庫報如下錯誤: Wed Jul 22 04:49:02 2015 Errors in file

MongoDB: exception in initAndListen: 20 Attempted to create a lock file on a read-only directory: /data/db, terminating

mina term spa attempted user create style pre temp 啟動mongodb遇到的一個問題和解決: 轉(http://blog.csdn.net/u012877472/article/details/51001025) Mongo

Unable to load dbxmss.dll (ErrorCode 16). It may be missing from the system Path

變量 datasnap load dll reat ann 存在 程序 div 今天調試程序出現了這個錯誤,把dbxmss.dll所在路徑加入path環境變量也不起作用,拷貝到程序debug或release目錄解決。 delphi XE 10.2.2建立datasnap服

may be a diary?

不知道 簡單 適合 block 發現 cti 還要 問題 section 看心情寫吧。 4.14   閑的沒事就是想寫一下。還想問造夢西遊4咋弄個孟婆藥?   感覺最近智商下線,做個簡單題還要問,然後問完了想想還不會,再問,然後發現很sb。。   早有的問題 做題感覺也很慢

Kafka:ZK+Kafka+Spark Streaming集群環境搭建(二十三)Structured Streaming遇到問題:Set(TopicName-0) are gone. Some data may have been missed

ack loss set div top 過程 pan check use 事情經過:之前該topic(M_A)已經存在,而且正常消費了一段時間,後來刪除了topic(M_A),重新創建了topic(M-B),程序使用新創建的topic(M-B)進行實時統計操作,執行過程中

Chrome 瀏覽器訪問 Google 學術出現問題 “but your computer or network may be sending automated queries. ”

... ron ted 輸入 req blank quest str quic 問題: Chrome 瀏覽器訪問 Google 學術出現如下的問題 : ... but your computer or network may be sending automated q

TypeError: only integer scalar arrays can be converted to a scalar index

內容 strong object can 建議 err sca 問題 div 問題描述:在訪問列表中的元素時出現報錯:TypeError: only integer scalar arrays can be converted to a scalar index 1 vo

Visual Studio 2013 編譯錯誤【error C4996: 'scanf': This function or variable may be unsafe. 】

使用vs2013的scanf函式時出現錯誤,在網上找到的解決方法,轉載過來,我使用的方法二 error C4996: ‘scanf’: This function or variable may be unsafe. Consider using scanf_s instead. To

Qt Creator無法debug,報錯:The selected debugger may be inappropriate for the inferior. Examining symbols and setting breakpoints by file name and line numb

看到這個報錯我是絕望的 解決:下載windows sdk  win10 sdk 只安裝Debugging Tools for Windows   開啟 工具-選項-Kits 安裝sdk成功後我們可以看到 已經檢測到了我們安裝的cdb     開啟