[20200327]ORA-46267 Insufficient space in 'USERS' tablespace.txt
[20200327]ORA-46267 Insufficient space in 'USERS' tablespace, cannot complete operation.txt
--//今天想將一套生產系統sys.aud$表空間移出系統表空間遇到一些問題,做一個記錄:
--//上次做這個操作也遇到類似問題,連結:http://blog.itpub.net/267265/viewspace-2666690/
1.環境:
zzzzzz> @ ver1
PORT_STRING VERSION BANNER
------------------------------ -------------- --------------------------------------------------------------------------------
x86_64/Linux 2.4.xx 11.2.0.4.0 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
2.操作記錄:
zzzzzz> NOAUDIT CREATE SESSION WHENEVER SUCCESSFUL;
Noaudit succeeded.
--//主要目的僅僅審計不成功的登入,取消成功的登入審計。
zzzzzz> SELECT table_name, tablespace_name FROM dba_tables WHERE table_name IN ('AUD$', 'FGA_LOG$') ORDER BY table_name;
TABLE_NAME TABLESPACE_NAME
---------- ---------------
AUD$ SYSTEM
FGA_LOG$ SYSTEM
--//以sys使用者執行:
zzzzzz> ALTER USER SYS QUOTA UNLIMITED ON users;
User altered.
BEGIN
DBMS_AUDIT_MGMT.set_audit_trail_location(
audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_DB_STD,
audit_trail_location_value => 'users');
END;
/
*
ERROR at line 1:
ORA-46267: Insufficient space in 'USERS' tablespace, cannot complete operation
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 1659
ORA-06512: at line 2
--//我感覺很奇怪實際users表空間定義如下:
CREATE TABLESPACE USERS DATAFILE
'/u01/app/oracle/oradata/orcl/users01.dbf' SIZE 5M AUTOEXTEND ON NEXT 1280K MAXSIZE UNLIMITED
LOGGING
ONLINE
EXTENT MANAGEMENT LOCAL AUTOALLOCATE
BLOCKSIZE 8K
SEGMENT SPACE MANAGEMENT AUTO
FLASHBACK ON;
--//可以自動擴充套件沒有限制,視乎這樣的操作不會擴充套件表空間大小。
ALTER DATABASE DATAFILE '/u01/app/oracle/oradata/orcl/users01.dbf' RESIZE 100M;
BEGIN
DBMS_AUDIT_MGMT.set_audit_trail_location(
audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_DB_STD,
audit_trail_location_value => 'users');
END;
/
zzzzzz> SELECT table_name, tablespace_name FROM dba_tables WHERE table_name IN ('AUD$', 'FGA_LOG$') ORDER BY table_name;
TABLE_NAME TABLESPACE_NAME
---------- ------------------------------
AUD$ USERS
FGA_LOG$ USERS
--//OK!!
--//說明:
The AUDIT_TRAIL_TYPE parameter is specified using one of three constants.
DBMS_AUDIT_MGMT.AUDIT_TRAIL_AUD_STD: Standard audit trail (AUD$).
DBMS_AUDIT_MGMT.AUDIT_TRAIL_FGA_STD: Fine-grained audit trail (FGA_LOG$).
DBMS_AUDIT_MGMT.AUDIT_TRAIL_DB_STD: Both standard and fine-grained audit trails.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2682836/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle default usersOracle
- 2.2.2.2 Local Users in a CDB
- 2.2.2.1 Common Users in a CDB
- 262-Trips and Users
- 聊聊dba_temp_free_space的allocated_space和free_space
- Hilbert Space
- Author: ** not defined in users.txt file
- 2.2.2 Overview of Common and Local Users in a CDBView
- Avoided redundant navigation to current location: "/users"IDENavigation
- android APK INSTALL_FAILED_INSUFFICIENT_STORAGE 問題AndroidAPKAI
- windchill 擴充USERS表空間
- A way to represent that more realistically might be forcing users
- show_space(轉)
- CSS white-spaceCSS
- D. Explorer Space
- TensorFlow 報錯 CUDA driver version is insufficient for CUDA runtime version
- [20240826]奇怪ORA-01031 insufficient privileges報錯.txt
- Spectrum Entropy Prediction Assisted Channel Selection for Secondary Users
- win10系統c盤users在哪_win10系統c盤users怎麼開啟Win10
- oracle rac dg庫報錯ORA-01031: insufficient privilegesOracle
- Hadoop官網翻譯之HDFS Users GuideHadoopGUIIDE
- win10系統下Users資料夾在哪 win10系統Users資料夾怎麼開啟Win10
- Pure Noise to the Rescue of Insufficient Data: Improving Imbalanced Classification by Training on Random Noise ImagesAIrandom
- 建立資料庫時“Insufficient privileges”的解決方法DK資料庫
- alter table move與shrink space
- [20201111]CURSOR_SPACE_FOR_TIME.txt
- 建立遷移檔案 auth 認證表 users
- ORA-00600 [729], [12284], [space leak],
- sys使用者遠端登入報ORA-01031 insufficient privileges
- PermissionError: [Errno 13] Permission denied: 'C:\\Users\\hao\\Desktop\\test.xlsx'Error
- Sybase IQ 錯誤 : Temporary space limit exceededMIT
- 沒有磁碟空間 No space left on devicedev
- ORA-20000:unable to analyze table "XXX"."DBMS_TABCOMP_TEMP_UNCMP",insufficient privileges or does no
- ORA-01031: 資料庫恢復時的insufficient privileges錯誤QS資料庫
- MyEtherWallet Domain-Hijacking Financially Victimized 198 Users, Causing $320K LossAINaNZed
- Ora-01536:超出了表空間users的空間限量
- 如何在 ? Space 上託管 Unity 遊戲Unity遊戲
- 程式設計雜談——Non-breaking space程式設計