SlideShare uma empresa Scribd logo
1 de 47
Baixar para ler offline
info@ordix.de www.ordix.de
UKOUG Breakthrough'22
December 2022, Birmingham
Markus Flechtner
My SYSAUX tablespace is
full - please help!
§ Studied mathematics a long time ago
§ Working with Oracle since 1990
§ Developer, Oracle-Fieldsupport, DBA, Consultant
§ Principal Consultant and Teamleader at ORDIX AG, Germany
§ Focus
§ High Availability
§ Migration- and Upgrade-Projects
§ Multitenant
§ @markusdba
§ @markusdba@mastodon.social
§ markusdba.de|.net
§ mfl@ordix.de
Markus Flechtner
2
Icons:
https://icons8.com/
§ Introduction
§ Which components occupy space in SYSAUX?
§ How to cleanup the SYSAUX Tablespace?
§ How to keep the SYSAUX tablespace small?
§ Conclusion & more information
Agenda
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 4
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 5
Introduction
§ Until Oracle Database 9i there was the SYSTEM tablespace only
§ All database components stored their data there
§ With Oracle Database 10g Oracle introduced the SYSAUX tablespace
§ Data of many database components was moved to SYSAUX
§ Oracle says "If the SYSAUX tablespace becomes unavailable, core database functionality will remain
operational. The database features that use the SYSAUX tablespace could fail, or function with limited
capability.”
§ In container databases, analysis, cleanup and configuration must be done in each container
CDB$ROOT and PDBs) separately
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 6
Space issues with SYSAUX
§ Since Oracle 10g more and more components store their data in SYSAUX
§ It keeps growing
§ There is even a dedicated problem type for service requests:
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 7
Size Guidelines/estimations for the SYSAUX tablespace
Parameter/Recommendation Small Medium Large
Number of CPUs 2 8 32
Number of concurrently active sessions 10 20 100
Number of user objects, tables and indexes 500 5.000 50.000
Estimated SYSAUX size at steady state with
default configuration
500 MB 2 GB 5 GB
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 8
Size prediction for the SYSAUX tablespace - utlsyxsz.sql
§ The script $ORACLE_HOME/rdbms/admin/utlsyxsz.sql can help to estimate the required size of the
SYSAUX tablespace
§ You have to provide some information like snapshot interval, retention etc.
§ Interval Setting (minutes)
§ AWR Retention Setting (days)
§ Number of Instances
§ Average Number of Active Sessions
§ Number of tables in the database
§ Number of partitions
§ Number of Datafiles
§ Statistics Retention
§ DML activity (low/medium/high)
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 9
utlsyxsz.sql – Sample Output
| ***************************************************
| Summary of SYSAUX Space Estimation
| ***************************************************
| Est size of SDO 297.2 MB
| Est size of XDB 67.4 MB
| Est size of AUDSYS 51.5 MB
| Est size of SM/OTHER 49.9 MB
| Est size of AO 45.8 MB
| Est size of LOGMNR 10.8 MB
| Est size of SM/ADVISOR 10.8 MB
| Est size of WM 6.6 MB
| Est size of TEXT 2.9 MB
| Est size of PL/SCOPE 2.8 MB
| Est size of SQL_MANAGEMENT_BASE 2.7 MB
| Est size of SMON_SCN_TIME 2.1 MB
| Est size of JOB_SCHEDULER 2.0 MB
| Est size of STREAMS 1.7 MB
| Est size of LOGSTDBY 1.6 MB
| Est size of AUTO_TASK 0.6 MB
| Est size of EM_MONITORING_USER 0.5 MB
| Est size of Others 111.4 MB
| Est size of SM/AWR 3,676.4 MB
| Est size of SM/OPTSTAT 40.7 MB
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Total Estimated SYSAUX size: 4,385.4 MB
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
§ Introduction
§ Which components occupy space in SYSAUX?
§ How to cleanup the SYSAUX Tablespace?
§ How to keep the SYSAUX tablespace small?
§ Conclusion & more information
Agenda
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 10
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 11
The entrypoint – v$sysaux_occupants
§ Oracle provides a V$ view which provides almost all the information we need:
SQL> desc v$sysaux_occupants
Name Null? Type
----------------------------- ------ --------------------
OCCUPANT_NAME VARCHAR2(64)
OCCUPANT_DESC VARCHAR2(64)
SCHEMA_NAME VARCHAR2(64)
MOVE_PROCEDURE VARCHAR2(64)
MOVE_PROCEDURE_DESC VARCHAR2(64)
SPACE_USAGE_KBYTES NUMBER
CON_ID NUMBER
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 12
Sample Output – v$sysaux_occupants
SQL> select OCCUPANT_NAME,OCCUPANT_DESC, SPACE_USAGE_KBYTES USED_KB
2 from V$SYSAUX_OCCUPANTS where SPACE_USAGE_KBYTES>0
3 order by SPACE_USAGE_KBYTES desc
4 fetch first 10 rows only;
OCCUPANT_NAME OCCUPANT_DESC USED_KB
--------------- ------------------------------------------------------- ---------
SM/AWR Server Manageability - Automatic Workload Repository 137024
SDO Oracle Spatial 132096
XDB XDB 104448
AO Analytical Workspace Object Table 49536
AUDSYS AUDSYS schema objects 47680
SM/OPTSTAT Server Manageability - Optimizer Statistics History 39680
SM/OTHER Server Manageability - Other Components 33088
SM/ADVISOR Server Manageability - Advisor Framework 13440
LOGMNR LogMiner 11264
WM Workspace Manager 7488
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 13
Issues with V$SYSAUX_OCCUPANTS (1)
§ In a Container Database when in CDB$ROOT, V$SYSAUX_OCCUPANTS shows the current container
only (i.e. CDB$ROOT)
§ No global view possible
§ Other (older) issues (public bugs from MOS):
§ Bug 16767759 AUDSYS schema is not present in V$SYSAUX_OCCUPANTS
§ Open since 12.1.0.1, fixed in 12.2
§ Bug 10404641 V$sysaux_occupants.space_usage_kbytes may not be accurate
§ Open since 10.2.0.4, fixed in 18.1
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 14
Issues with V$SYSAUX_OCCUPANTS (2)
SQL> select distinct owner from
2 dba_segments where
3 tablespace_name='SYSAUX'
4 order by owner;
OWNER
--------------------
AUDSYS
CTXSYS
DBSNMP
GSMADMIN_INTERNAL
MDSYS
SYS
SYSTEM
WMSYS
XDB
SQL> select distinct schema_name
2 from v$sysaux_occupants
3 where SPACE_USAGE_KBYTES>0
4 order by schema_name;
SCHEMA_NAME
--------------------
AUDSYS
CTXSYS
DBSNMP
MDSYS
SYS
SYSTEM
WMSYS
XDB
Global
Data
Services
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 15
TOP Occupants – the usual suspects:
§ SM/OPTSTAT- old optimizer statistics
§ SM/ADVISOR – the various advisors
§ SM/AWR – AWR data
§ SM/OTHER - DB Feature Usage, Alert History etc.
§ SQL_MANAGEMENT_BASE – SQL baselines
§ AUDSYS – audit data
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 16
Occupants which typically do not occupy (much) space
SQL> select occupant_name,occupant_desc from v$sysaux_occupants
2 where space_usage_kbytes=0;
OCCUPANT_NAME OCCUPANT_DESC
------------------------ --------------------------------------------------
AUDIT_TABLES DB audit tables
XSAMD OLAP Catalog
XSOQHIST OLAP API History Tables
STATSPACK Statspack Repository
ORDIM Oracle Multimedia ORDSYS Components
ORDIM/ORDDATA Oracle Multimedia ORDDATA Components
ORDIM/ORDPLUGINS Oracle Multimedia ORDPLUGINS Components
ORDIM/SI_INFORMTN_SCHEMA Oracle Multimedia SI_INFORMTN_SCHEMA Components
EM Enterprise Manager Repository
ULTRASEARCH Oracle Ultra Search
ULTRASEARCH_DEMO_USER Oracle Ultra Search Demo User
EXPRESSION_FILTER Expression Filter System
TSM Oracle Transparent Session Migration User
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 17
Occupants which are desupported (and can be ignored)
§ Oracle Streams
§ Desupported since Oracle Database 19c
§ Enterprise Manager Repository
§ Used by OEM Database Control (until Oracle Database 11g Release 2)
§ Can be removed in Oracle Database 12c and higher:
Script $ORACLE_HOME/rdbms/admin/emremove.sql
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 18
Detailed analysis of AWR data in SYSAUX
§ The script $ORACLE_HOME/rdbms/admin/awrinfo.sql provides more information
about the AWR components in SYSAUX
§ And about the other occupants, too (e.g. largest segments)
**********************************
(3a) Space usage by AWR components (per database)
**********************************
COMPONENT MB % AWR KB_PER_SNAP MB_PER_DAY MB_PER_WEEK TABLE% : INDEX%
--------- --------- ------ ------------ ---------- ----------- ----------------
FIXED 89.7 69.4 5,402 21.1 147.7 47% : 53%
EVENTS 10.4 8.1 629 2.5 17.2 39% : 61%
SPACE 9.3 7.2 561 2.2 15.3 50% : 50%
SQLPLAN 7.8 6.0 467 1.8 12.8 66% : 34%
SQL 4.8 3.7 286 1.1 7.8 50% : 50%
ASH 2.4 1.9 147 0.6 4.0 69% : 31%
RAC 1.6 1.3 98 0.4 2.7 50% : 50%
SQLBIND 1.2 0.9 72 0.3 2.0 47% : 53%
SQLTEXT 1.2 0.9 72 0.3 2.0 68% : 32%
[…]
§ Introduction
§ Which components occupy space in SYSAUX?
§ How to cleanup the SYSAUX Tablespace?
§ How to keep the SYSAUX tablespace small?
§ Conclusion & more information
Agenda
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 19
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 20
How to reduce the size of the SYSAUX tablespace
§ Option 1:
§ Reorganize tables and indexes in SYSAUX
§ Option 2:
§ Move the component out of the SYSAUX Tablespace
§ Option 3 (AWR-related data)
§ Cleanup data used by the occupant
§ Define appropriate retention parameters
§ And
§ … don't forget to resize the datafiles afterwards
§ ... with AUTOEXTENSIBLE datafiles you may not detect a fast growing SYSAUX tablespace
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 21
Reorganize Tables and Indexes in SYSAUX
§ As we know it:
§ Don't forget to rebuild indexes after moving a table
§ $ORACLE_HOME/rdbms/admin/awrinfo.sql will show the largest segments
§ Do not reorganize XDB objects!
§ More information:
§ How to Reduce SYSAUX Tablespace Occupancy Due to Fragmented tables and indexes (Doc ID 1563921.1)
§ Reducing SYSAUX Fragmentation of tables and indexes Caused by Statistics Related Activities (Doc ID
1271178.1)
ALTER TABLE .. MOVE TABLESPACE SYSAUX ONLINE;
ALTER INDEX .. REBUILD TABLESPACE SYSAUX ONLINE;
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 22
Move data out of the SYSAUX tablespace
§ Oracle provides procedures for moving the data into another tablespace
SQL> select occupant_name,move_procedure from v$sysaux_occupants
2 where move_procedure is not null;
OCCUPANT_NAME MOVE_PROCEDURE
------------------------ ---------------------------------------------
LOGMNR SYS.DBMS_LOGMNR_D.SET_TABLESPACE
LOGSTDBY SYS.DBMS_LOGSTDBY.SET_TABLESPACE
AUDSYS DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION
AUDIT_TABLES DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION
XDB XDB.DBMS_XDB_ADMIN.MOVEXDB_TABLESPACE
XSAMD DBMS_AMD.Move_OLAP_Catalog
AO DBMS_AW.MOVE_AWMETA
XSOQHIST DBMS_XSOQ.OlapiMoveProc
SDO MDSYS.MOVE_SDO
WM DBMS_WM.move_proc
ORDIM ordsys.ord_admin.move_ordim_tblspc
ORDIM/ORDDATA ordsys.ord_admin.move_ordim_tblspc
ORDIM/ORDPLUGINS ordsys.ord_admin.move_ordim_tblspc
ORDIM/SI_INFORMTN_SCHEMA ordsys.ord_admin.move_ordim_tblspc
EM emd_maintenance.move_em_tblspc
[..]
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 23
Move Data out of the SYSAUX tablespace – Example Audit-Data (1)
§ Procedure DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION
§ Values for AUDIT_TRAIL_TYPE
§ AUDIT_TRAIL_AUD_STD (Tables AUD$ and FGA_LOG$)
§ AUDIT_TRAIL_FGA_STD (FGA_LOG$)
§ AUDIT_TRAIL_DB_STD (AUD$)
§ AUDIT_TRAIL_UNIFIED (unified audit data)
PROCEDURE SET_AUDIT_TRAIL_LOCATION
Argument Name Type In/Out Default?
------------------------------ ------------------ ------ --------
AUDIT_TRAIL_TYPE BINARY_INTEGER IN
AUDIT_TRAIL_LOCATION_VALUE VARCHAR2 IN
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 24
Move Data out of the SYSAUX tablespace – Example Audit-Data (2)
§ Can be time-consuming
§ Preferably during non-peak hours
Looks like a good idea, but …
SQL> exec DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION
2 (AUDIT_TRAIL_TYPE=>'AUDIT_TRAIL_DB_STD’,
3 AUDIT_TRAIL_LOCATION_VALUE=>'AUDIT_DATA'); ç new tablespace
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 25
Move Data out of the SYSAUX tablespace – Example Audit-Data (3)
§ Moving audit data out of the SYSAUX tablespace is supported, but may lead to some issues („side
effects“):
§ For type AUDIT_TRAIL_UNIFIED new partitions of the audit table will be created in the new tablespace.
Existing data will not be moved.
§ LOB and index partitions are not moved.
§ See MOS-Notes
§ RMAN Duplicate PDB Fails With RMAN-05548 If Audit Trails Are Moved Outside Of SYSAUX (Doc ID
2256158.1) – (AUD$ only)
§ Dbms_Audit_Mgmt.Set_Audit_Trail_Location Does Not Move Lob And Index Partitions (Doc ID 2428624.1)
§ About Changing Partitioning Behavior of Unified Audit Trail (AUD$UNIFIED) (Doc ID 2438973.1)
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 26
Reduce Data in SYSAUX – SM/OPTSTAT
§ Remove old statistics
§ Example: remove data older than 14 days (Default retention period is 31 days)
SQL> exec DBMS_STATS.PURGE_STATS(SYSDATE-15);
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 27
Reduce Data in SYSAUX – SM/ADVISOR (1)
§ "Deleting data from this component can be more complicated." (Quote from MOS-Note 329984.1)
§ Use OEM to delete old results
§ You can DISABLE and RE-ENABLE an advisor
§ You will loose all the old data (but that's on purpose in this case)
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 28
Reduce Data in SYSAUX – SM/ADVISOR (2)
§ By default, old data will be purged automatically after 30 days
§ Change this setting (EXECUTION_DAYS_TO_EXPIRE):
§ Manual purging:
§ Move table WRI$_ADV_OBJECTS and rebuild indexes
§ Note: According to MOS-Note 2660128.1 data in PDBs will not be purged automatically
§ Use manual purging
SQL> EXEC DBMS_ADVISOR.SET_TASK_PARAMETER
2 (task_name=> 'AUTO_STATS_ADVISOR_TASK',
4 parameter=> 'EXECUTION_DAYS_TO_EXPIRE', value => 10);
SQL> exec prvt_advisor.delete_expired_tasks;
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 29
Reduce Data in SYSAUX – SM/AWR (1)
§ Reduce the retention period è Older data will be deleted
§ Current retention period (example: 31 days):
§ Change retention period (example: set to 8 days)
SQL> SELECT retention FROM dba_hist_wr_control;
RETENTION
----------------------------------------------------------------------
+00031 00:00:00.0
SQL> exec DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS
(retention=>8*1440);
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 30
Reduce Data in SYSAUX – SM/AWR (2)
§ Remove a range of AWR snapshots
DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE(
low_snap_id IN NUMBER,
high_snap_id IN NUMBER
dbid IN NUMBER DEFAULT NULL);
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 31
Reduce Data in SYSAUX – SM/SQL_MANAGEMENT_BASE (1)
§ Options
§ Reduce retention period
§ Reduce available space in SYSAUX
§ Remove unused SQL Plan baselines
§ Restrict the plans which will be gathered
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 32
Reduce Data in SYSAUX – SM/SQL_MANAGEMENT_BASE (2)
§ Reduce retention period & reduce available space in SYSAUX
§ Current configuration
§ Change configuration
SQL> SELECT PARAMETER_NAME, PARAMETER_VALUE
2 from DBA_SQL_MANAGEMENT_CONFIG;
PARAMETER_NAME PARAMETER_VALUE
------------------------------- ------------------------------
[..]
PLAN_RETENTION_WEEKS 53
SPACE_BUDGET_PERCENT 10
SQL> Exec DBMS_SPM.CONFIGURE('PLAN_RETENTION_WEEKS',26);
SQL> Exec DBMS_SPM.CONFIGURE('SPACE_BUDGET_PERCENT',5);
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 33
Reduce Data in SYSAUX – SM/SQL_MANAGEMENT_BASE (3)
§ Remove unused SQL Plan baselines
§ Step 1: Find out the sql_handle
§ Step 2: Remove SQL Plan baseline for this handle (please see SQL Tuning Guide, Chapter 28.6 for
more information)
SQL> SELECT SQL_HANDLE, SQL_TEXT, PLAN_NAME, ORIGIN, ENABLED, ACCEPTED
2 FROM DBA_SQL_PLAN_BASELINES
3 WHERE SQL_TEXT LIKE '<your_sql_text>';
DECLARE
v_dropped_plans number;
BEGIN
v_dropped_plans := DBMS_SPM.DROP_SQL_PLAN_BASELINE (
sql_handle => '<handle_from_step_1>'
);
DBMS_OUTPUT.PUT_LINE('dropped ' || v_dropped_plans || ' plans');
END;
/
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 34
Reduce Data in SYSAUX – SM/SQL_MANAGEMENT_BASE (4)
§ Through 12.1 a SQL plan baselines is created for every SQL statement that is executed repeatedly
§ Since 12.2 several include/exclude filter types for automatic capture are available
§ SQL text
§ Parsing schema name
§ Module (DBMS_APPLICATION_INFO)
§ Action (DBMS_APPLICATION_INFO)
§ For example: include only SQL statements whose text start with “SELECT”
§ Obviously, the less data is captured, the less disk space is used
dbms_spm.configure(parameter_name=>'AUTO_CAPTURE_SQL_TEXT',
parameter_value=>'SELECT%',
allow => TRUE);
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 35
Reduce Data in SYSAUX – SM/OTHER
§ Unfortunately, there's no special advice if there are space issues with SM/OTHER
§ Create an SR and follow the steps described in the MOS Note
"SRDC - How to Collect Standard Information for an Issue where Excessive SYSAUX Space is Used
by the Automatic Workload Repository (AWR) (Doc ID 1934108.1)"
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 36
Check the Statistics Level
§ Level "ALL" may lead to a huge amount of data in SYSAUX
§ Recommendation:
§ Keep the default value "TYPICAL"
SQL> show parameter STATISTICS_LEVEL
NAME TYPE VALUE
---------------------- ----------- ------------------------------
statistics_level string TYPICAL
§ Introduction
§ Which components occupy space in SYSAUX?
§ How to cleanup the SYSAUX Tablespace?
§ How to keep the SYSAUX tablespace small?
§ Conclusion & more information
Agenda
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 37
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 38
A stitch in time saves nine – soon after creating a database
§ Use dedicated tablespaces
§ Move Audit-Data out of the SYSAUX tablespace (but think about the side effects)
§ Use a dedicated tablespace for Statspack data (schema PERFSTAT)
§ Don't use AUTOEXTENSIBLE for SYSAUX (or set it to a reasonable value)
§ But don't forget to monitor your tablespaces
§ Keep Statistics Level "Typical"
§ Define appropriate retention periods for AWR related data
§ Disable unnecessary advisors
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 39
Define retention periods (1)
REM SM/OPTSTAT
REM retention period in days (Default: 31 days)
exec dbms_stats.alter_stats_history_retention(7);
REM SM/ADVISOR
REM retention period Statistics Advisor (default: 30 days)
EXEC DBMS_SQLTUNE.SET_TUNING_TASK_PARAMETER (
task_name => 'AUTO_STATS_ADVISOR_TASK',
parameter => 'EXECUTION_DAYS_TO_EXPIRE',
value => 14);
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 40
Define retention periods (2)
REM SM/AWR
REM retention period defined in minutes (1 day = 1440 minutes)
exec
DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS(retention=>8*1440);
REM SQL_MANAGEMENT_BASE
REM retention period defined in weeks
Exec DBMS_SPM.CONFIGURE('PLAN_RETENTION_WEEKS',26);
REM or percentage of space in SYSAUX
Exec DBMS_SPM.Configure('SPACE_BUDGET_PERCENT',5);
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 41
Disable un-needed advisors (Examples)
REM disable the Statistic Advisor
exec dbms_stats.set_global_prefs('AUTO_STATS_ADVISOR_TASK','FALSE');
REM disable the Tuning Advisor
DBMS_AUTO_TASK_ADMIN.DISABLE(
client_name => 'sql tuning advisor',
operation => NULL, window_name => NULL);
REM disable the Space Advisor
DBMS_AUTO_TASK_ADMIN.DISABLE(
client_name => 'auto space advisor',
operation => NULL, window_name => NULL);
§ Introduction
§ Which components occupy space in SYSAUX?
§ How to cleanup the SYSAUX Tablespace?
§ How to keep the SYSAUX tablespace small?
§ Conclusion & more information
Agenda
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 42
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 43
Conclusion
§ More and more components are using the SYSAUX tablespace
§ SYSAUX needs your attention
§ Monitor tablespace growth
§ Don't use AUTOEXTENSIBLE
§ Use dedicated tablespaces where applicable
§ Set retention policies soon after database creation
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 44
More Information – MOS notes (1)
§ Troubleshooting Issues with SYSAUX Space Usage (Doc ID 1399365.1)
§ General Guidelines for SYSAUX Space Issues (Doc ID 552880.1)
§ How to Reduce SYSAUX Tablespace Occupancy Due to Fragmented TABLEs and INDEXes (Doc ID 1563921.1)
§ Tips if Your SYSAUX Tablespace Grows Rapidly or Too Large (Doc ID 1292724.1)
§ Usage and Storage Management of SYSAUX tablespace occupants SM/AWR, SM/ADVISOR, SM/OPTSTAT and
SM/OTHER (Doc ID 329984.1)
§ SYSAUX Grows Because Optimizer Stats History is Not Purged (Doc ID 1055547.1)
§ SRDC - How to Collect Standard Information for an Issue where Excessive SYSAUX Space is Used by the
Automatic Workload Repository (AWR) (Doc ID 1934108.1)
§ SYSAUX Tablespace Filled With WRI$_EMX_FILES | What is WRI$EMX_FILES (Doc ID 2639664.1)
§ SYSAUX Tablespace Grows Quite Fast Due to Apply Spilling (Doc ID 556183.1)
§ SYSAUX Tablespace Growing Due to SYS.SCHEDULER$_JOB_OUTPUT LOB Column (Doc ID 2095104.1)
§ Bug 8553944 - SYSAUX tablespace grows (Doc ID 8553944.8)
§ Bug 14373728 - Old Statistics not Purged from SYSAUX Tablespace (Doc ID 14373728.8)
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 45
More Information – MOS notes (2)
§ How To Recreate the SYSAUX Tablespace (Doc ID 468116.1)
§ SYSAUX Tablespace Space Issue Because Of dbms_comparison (Doc ID 2089484.1)
§ Exports Fail Because SYSAUX Tablespace Needs Recovery (Doc ID 1497195.1)
§ HEATMAP Segment Size Is Large In SYSAUX Even When Heatmap=Off (Doc ID 2024036.1)
§ SYSAUX New Mandatory Tablespace in Oracle 10g and higher (Doc ID 243246.1)
§ ZDLRA: SM/ADVISOR using more space in SYSAUX (Doc ID 2730556.1)
§ How to Relocate the SYSAUX Tablespace (Doc ID 301186.1)
§ SYSAUX Tablespace Is Getting Filled Frequently with COMPARISON_ROW_DIF$ (Doc ID 2087865.1)
§ Abnormal High Space Usage in Sysaux Tablespace - Unable to Purge (Doc ID 1360000.1)
§ Large Growth of SYSAUX Tablespace with Table WRH$_SQL_PLAN Taking Lot of Space (Doc ID 2475149.1)
§ The SQL Plan Directive Written to the SYSAUX Tablespace Is Not Accounted For in V$SYSAUX_OCCUPANTS
(Doc ID 2464177.1)
§ How To Prevent The Unified Audit Trail From Being Created in SYSAUX, And Change Its Default Partitioning
Behavior (Doc ID 2548804.1)
§ Is it Possible to Move SQL Plan Management (SPM) Data Outside of SYSAUX (Doc ID 2065088.1)
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 46
More information – blog posts (English)
§ ToadWorld: SYSAUX and purging big objects (segments) manually:
https://blog.toadworld.com/2017/11/15/sysaux-and-purging-big-objects-segments-manually
§ Managing the sysaux tablespace - https://mindmajix.com/oracle-dba/managing-sysaux-tablespace
§ Purging statistics from the SYSAUX tablespace - https://doyensys.com/blogs/purging-sysaux-
tablespace-statistics/
§ Cleaning Oracle SYSAUX Tablespace Usage:
https://www.techpaste.com/2017/03/cleaning-oracle-sysaux-tablespace-usage/
My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 47
More information – blog posts (German)
§ Andrea Held: Der Oracle Sysaux-Tablespace: Reorganisation und Verkleinerung
https://www.informatik-aktuell.de/betrieb/datenbanken/der-oracle-sysaux-tablespace-reorganisation-
und-verkleinerung.html
§ Oracle Help: Tablespace SYSAUX ist voll oder wächst ununterbrochen:
https://oracletipps.wordpress.com/2015/10/21/tablespace-sysaux-full-or-growing/
§ Mein SYSAUX-Tablespace wächst und wächst, was soll (kann) ich tun ..:
https://www.markusdba.de/2021/04/06/mein-sysaux-tablespace-waechst-und-waechst-was-soll-kann-
ich-tun/
§ Hermann & Lenz: Neues vom SYSAUX-Tablespace…:
https://blog.hl-services.de/2021/03/26/neues-vom-sysaux-tablespace/
Vielen Dank für
Ihre Aufmerksamkeit
ORDIX AG
Aktiengesellschaft für Softwareentwicklung,
Schulung, Beratung und Systemintegration
Zentrale Paderborn
Karl-Schurz-Straße 19a
33100 Paderborn
Tel.: 05251 1063-0
Fax: 0180 1 67349 0
Seminarzentrum Wiesbaden
Kreuzberger Ring 13
65205 Wiesbaden
Tel.: 0611 77840-00
info@ordix.de
https://www.ordix.de/
Markus Flechtner
mfl@ordix.de
Twitter @markusdba
Markusdba.net|.de
Thank you
for your attention!

Mais conteúdo relacionado

Mais procurados

Low Level CPU Performance Profiling Examples
Low Level CPU Performance Profiling ExamplesLow Level CPU Performance Profiling Examples
Low Level CPU Performance Profiling ExamplesTanel Poder
 
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder
 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Anil Nair
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsJohn Beresniewicz
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuningSimon Huang
 
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...Carlos Sierra
 
Deep review of LMS process
Deep review of LMS processDeep review of LMS process
Deep review of LMS processRiyaj Shamsudeen
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
 
Adapting and adopting spm v04
Adapting and adopting spm v04Adapting and adopting spm v04
Adapting and adopting spm v04Carlos Sierra
 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsYour tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsJohn Kanagaraj
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuningYogiji Creations
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19cMaria Colgan
 
OOUG: Oracle transaction locking
OOUG: Oracle transaction lockingOOUG: Oracle transaction locking
OOUG: Oracle transaction lockingKyle Hailey
 
High Availability for Oracle SE2
High Availability for Oracle SE2High Availability for Oracle SE2
High Availability for Oracle SE2Markus Flechtner
 
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2Tanel Poder
 
Chasing the optimizer
Chasing the optimizerChasing the optimizer
Chasing the optimizerMauro Pagano
 

Mais procurados (20)

Low Level CPU Performance Profiling Examples
Low Level CPU Performance Profiling ExamplesLow Level CPU Performance Profiling Examples
Low Level CPU Performance Profiling Examples
 
SQL Tuning 101
SQL Tuning 101SQL Tuning 101
SQL Tuning 101
 
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata Migrations
 
Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19Smart monitoring how does oracle rac manage resource, state ukoug19
Smart monitoring how does oracle rac manage resource, state ukoug19
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentalsDB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
 
Redo internals ppt
Redo internals pptRedo internals ppt
Redo internals ppt
 
Oracle db performance tuning
Oracle db performance tuningOracle db performance tuning
Oracle db performance tuning
 
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
 
Deep review of LMS process
Deep review of LMS processDeep review of LMS process
Deep review of LMS process
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Adapting and adopting spm v04
Adapting and adopting spm v04Adapting and adopting spm v04
Adapting and adopting spm v04
 
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and AdvisorsYour tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 
Oracle database performance tuning
Oracle database performance tuningOracle database performance tuning
Oracle database performance tuning
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
 
OOUG: Oracle transaction locking
OOUG: Oracle transaction lockingOOUG: Oracle transaction locking
OOUG: Oracle transaction locking
 
High Availability for Oracle SE2
High Availability for Oracle SE2High Availability for Oracle SE2
High Availability for Oracle SE2
 
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
 
Chasing the optimizer
Chasing the optimizerChasing the optimizer
Chasing the optimizer
 

Semelhante a My SYSAUX tablespace is full - cleanup options

My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMarkus Flechtner
 
Geek Sync I Need for Speed: In-Memory Databases in Oracle and SQL Server
Geek Sync I Need for Speed: In-Memory Databases in Oracle and SQL ServerGeek Sync I Need for Speed: In-Memory Databases in Oracle and SQL Server
Geek Sync I Need for Speed: In-Memory Databases in Oracle and SQL ServerIDERA Software
 
Aioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_featuresAioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_featuresAiougVizagChapter
 
2008 Collaborate IOUG Presentation
2008 Collaborate IOUG Presentation2008 Collaborate IOUG Presentation
2008 Collaborate IOUG PresentationBiju Thomas
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesDeiby Gómez
 
11thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp0111thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp01Karam Abuataya
 
11 Things About11g
11 Things About11g11 Things About11g
11 Things About11gfcamachob
 
My sql 56_roadmap_april2012
My sql 56_roadmap_april2012My sql 56_roadmap_april2012
My sql 56_roadmap_april2012sqlhjalp
 
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_DatabaseNoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_DatabaseParesh Patel
 
Storage and performance- Batch processing, Whiptail
Storage and performance- Batch processing, WhiptailStorage and performance- Batch processing, Whiptail
Storage and performance- Batch processing, WhiptailInternet World
 
High Performance, High Reliability Data Loading on ClickHouse
High Performance, High Reliability Data Loading on ClickHouseHigh Performance, High Reliability Data Loading on ClickHouse
High Performance, High Reliability Data Loading on ClickHouseAltinity Ltd
 
MySQL Without the SQL -- Oh My! Longhorn PHP Conference
MySQL Without the SQL -- Oh My!  Longhorn PHP ConferenceMySQL Without the SQL -- Oh My!  Longhorn PHP Conference
MySQL Without the SQL -- Oh My! Longhorn PHP ConferenceDave Stokes
 
Loadays MySQL
Loadays MySQLLoadays MySQL
Loadays MySQLlefredbe
 
jLove - A Change-Data-Capture use-case: designing an evergreen cache
jLove - A Change-Data-Capture use-case: designing an evergreen cachejLove - A Change-Data-Capture use-case: designing an evergreen cache
jLove - A Change-Data-Capture use-case: designing an evergreen cacheNicolas Fränkel
 
Confoo 2021 -- MySQL New Features
Confoo 2021 -- MySQL New FeaturesConfoo 2021 -- MySQL New Features
Confoo 2021 -- MySQL New FeaturesDave Stokes
 
MySQL Without the MySQL -- Oh My!
MySQL Without the MySQL -- Oh My!MySQL Without the MySQL -- Oh My!
MySQL Without the MySQL -- Oh My!Dave Stokes
 
2011 Collaborate IOUG Presentation
2011 Collaborate IOUG Presentation2011 Collaborate IOUG Presentation
2011 Collaborate IOUG PresentationBiju Thomas
 

Semelhante a My SYSAUX tablespace is full - cleanup options (20)

My SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please helpMy SYSAUX tablespace is full - please help
My SYSAUX tablespace is full - please help
 
Geek Sync I Need for Speed: In-Memory Databases in Oracle and SQL Server
Geek Sync I Need for Speed: In-Memory Databases in Oracle and SQL ServerGeek Sync I Need for Speed: In-Memory Databases in Oracle and SQL Server
Geek Sync I Need for Speed: In-Memory Databases in Oracle and SQL Server
 
Aioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_featuresAioug vizag oracle12c_new_features
Aioug vizag oracle12c_new_features
 
Fudcon talk.ppt
Fudcon talk.pptFudcon talk.ppt
Fudcon talk.ppt
 
2008 Collaborate IOUG Presentation
2008 Collaborate IOUG Presentation2008 Collaborate IOUG Presentation
2008 Collaborate IOUG Presentation
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New Features
 
11thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp0111thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp01
 
11 Things About11g
11 Things About11g11 Things About11g
11 Things About11g
 
My sql 56_roadmap_april2012
My sql 56_roadmap_april2012My sql 56_roadmap_april2012
My sql 56_roadmap_april2012
 
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_DatabaseNoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
NoCOUG_201411_Patel_Managing_a_Large_OLTP_Database
 
Storage and performance- Batch processing, Whiptail
Storage and performance- Batch processing, WhiptailStorage and performance- Batch processing, Whiptail
Storage and performance- Batch processing, Whiptail
 
High Performance, High Reliability Data Loading on ClickHouse
High Performance, High Reliability Data Loading on ClickHouseHigh Performance, High Reliability Data Loading on ClickHouse
High Performance, High Reliability Data Loading on ClickHouse
 
Azure Databases with IaaS
Azure Databases with IaaSAzure Databases with IaaS
Azure Databases with IaaS
 
PoC Oracle Exadata - Retour d'expérience
PoC Oracle Exadata - Retour d'expériencePoC Oracle Exadata - Retour d'expérience
PoC Oracle Exadata - Retour d'expérience
 
MySQL Without the SQL -- Oh My! Longhorn PHP Conference
MySQL Without the SQL -- Oh My!  Longhorn PHP ConferenceMySQL Without the SQL -- Oh My!  Longhorn PHP Conference
MySQL Without the SQL -- Oh My! Longhorn PHP Conference
 
Loadays MySQL
Loadays MySQLLoadays MySQL
Loadays MySQL
 
jLove - A Change-Data-Capture use-case: designing an evergreen cache
jLove - A Change-Data-Capture use-case: designing an evergreen cachejLove - A Change-Data-Capture use-case: designing an evergreen cache
jLove - A Change-Data-Capture use-case: designing an evergreen cache
 
Confoo 2021 -- MySQL New Features
Confoo 2021 -- MySQL New FeaturesConfoo 2021 -- MySQL New Features
Confoo 2021 -- MySQL New Features
 
MySQL Without the MySQL -- Oh My!
MySQL Without the MySQL -- Oh My!MySQL Without the MySQL -- Oh My!
MySQL Without the MySQL -- Oh My!
 
2011 Collaborate IOUG Presentation
2011 Collaborate IOUG Presentation2011 Collaborate IOUG Presentation
2011 Collaborate IOUG Presentation
 

Mais de Markus Flechtner

Rolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19cRolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19cMarkus Flechtner
 
Oracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 MinutenOracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 MinutenMarkus Flechtner
 
Container Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21cContainer Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21cMarkus Flechtner
 
Oracle Datenbank-Architektur
Oracle Datenbank-ArchitekturOracle Datenbank-Architektur
Oracle Datenbank-ArchitekturMarkus Flechtner
 
Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?Markus Flechtner
 
TFA - Trace File Analyzer Collector
TFA - Trace File Analyzer CollectorTFA - Trace File Analyzer Collector
TFA - Trace File Analyzer CollectorMarkus Flechtner
 
Datenbank-Hausputz für Einsteiger
Datenbank-Hausputz für EinsteigerDatenbank-Hausputz für Einsteiger
Datenbank-Hausputz für EinsteigerMarkus Flechtner
 
Should I stay or should I go?
Should I stay or should I go?Should I stay or should I go?
Should I stay or should I go?Markus Flechtner
 
Privilege Analysis with the Oracle Database
Privilege Analysis with the Oracle DatabasePrivilege Analysis with the Oracle Database
Privilege Analysis with the Oracle DatabaseMarkus Flechtner
 
New Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cNew Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cMarkus Flechtner
 
Oracle - Checklist for performance issues
Oracle - Checklist for performance issuesOracle - Checklist for performance issues
Oracle - Checklist for performance issuesMarkus Flechtner
 
Einführung in den SQL-Developer
Einführung in den SQL-DeveloperEinführung in den SQL-Developer
Einführung in den SQL-DeveloperMarkus Flechtner
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesMarkus Flechtner
 
Checklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsChecklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsMarkus Flechtner
 
Codd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und GeschichteCodd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und GeschichteMarkus Flechtner
 
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-DictionaryDatenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-DictionaryMarkus Flechtner
 
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...Markus Flechtner
 
Taming the PDB: Resource Management and Lockdown Profiles
Taming the PDB: Resource Management and Lockdown ProfilesTaming the PDB: Resource Management and Lockdown Profiles
Taming the PDB: Resource Management and Lockdown ProfilesMarkus Flechtner
 
Oracle Backup & Recovery für Einsteiger
Oracle Backup & Recovery für EinsteigerOracle Backup & Recovery für Einsteiger
Oracle Backup & Recovery für EinsteigerMarkus Flechtner
 

Mais de Markus Flechtner (20)

Rolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19cRolle Rückwärts - Backported Features in Oracle Database 19c
Rolle Rückwärts - Backported Features in Oracle Database 19c
 
Oracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 MinutenOracle vs. PostgreSQL - Unterschiede in 45 Minuten
Oracle vs. PostgreSQL - Unterschiede in 45 Minuten
 
Container Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21cContainer Only - Neue Features für Multitenant in Oracle 21c
Container Only - Neue Features für Multitenant in Oracle 21c
 
Oracle Datenbank-Architektur
Oracle Datenbank-ArchitekturOracle Datenbank-Architektur
Oracle Datenbank-Architektur
 
Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?Wie kommt der Client zur Datenbank?
Wie kommt der Client zur Datenbank?
 
OraChk
OraChkOraChk
OraChk
 
TFA - Trace File Analyzer Collector
TFA - Trace File Analyzer CollectorTFA - Trace File Analyzer Collector
TFA - Trace File Analyzer Collector
 
Datenbank-Hausputz für Einsteiger
Datenbank-Hausputz für EinsteigerDatenbank-Hausputz für Einsteiger
Datenbank-Hausputz für Einsteiger
 
Should I stay or should I go?
Should I stay or should I go?Should I stay or should I go?
Should I stay or should I go?
 
Privilege Analysis with the Oracle Database
Privilege Analysis with the Oracle DatabasePrivilege Analysis with the Oracle Database
Privilege Analysis with the Oracle Database
 
New Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cNew Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21c
 
Oracle - Checklist for performance issues
Oracle - Checklist for performance issuesOracle - Checklist for performance issues
Oracle - Checklist for performance issues
 
Einführung in den SQL-Developer
Einführung in den SQL-DeveloperEinführung in den SQL-Developer
Einführung in den SQL-Developer
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection Issues
 
Checklist for Upgrades and Migrations
Checklist for Upgrades and MigrationsChecklist for Upgrades and Migrations
Checklist for Upgrades and Migrations
 
Codd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und GeschichteCodd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
Codd & ACID - ein Ausflug in die Datenbank-Theorie und Geschichte
 
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-DictionaryDatenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
Datenbank-Selbstverwaltung - Das Oracle-Data-Dictionary
 
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
Die Datenbank ist nicht immer Schuld - Gründe warum Datenbank-Migration schei...
 
Taming the PDB: Resource Management and Lockdown Profiles
Taming the PDB: Resource Management and Lockdown ProfilesTaming the PDB: Resource Management and Lockdown Profiles
Taming the PDB: Resource Management and Lockdown Profiles
 
Oracle Backup & Recovery für Einsteiger
Oracle Backup & Recovery für EinsteigerOracle Backup & Recovery für Einsteiger
Oracle Backup & Recovery für Einsteiger
 

Último

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 

Último (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

My SYSAUX tablespace is full - cleanup options

  • 1. info@ordix.de www.ordix.de UKOUG Breakthrough'22 December 2022, Birmingham Markus Flechtner My SYSAUX tablespace is full - please help!
  • 2. § Studied mathematics a long time ago § Working with Oracle since 1990 § Developer, Oracle-Fieldsupport, DBA, Consultant § Principal Consultant and Teamleader at ORDIX AG, Germany § Focus § High Availability § Migration- and Upgrade-Projects § Multitenant § @markusdba § @markusdba@mastodon.social § markusdba.de|.net § mfl@ordix.de Markus Flechtner 2 Icons: https://icons8.com/
  • 3. § Introduction § Which components occupy space in SYSAUX? § How to cleanup the SYSAUX Tablespace? § How to keep the SYSAUX tablespace small? § Conclusion & more information Agenda My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 4
  • 4. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 5 Introduction § Until Oracle Database 9i there was the SYSTEM tablespace only § All database components stored their data there § With Oracle Database 10g Oracle introduced the SYSAUX tablespace § Data of many database components was moved to SYSAUX § Oracle says "If the SYSAUX tablespace becomes unavailable, core database functionality will remain operational. The database features that use the SYSAUX tablespace could fail, or function with limited capability.” § In container databases, analysis, cleanup and configuration must be done in each container CDB$ROOT and PDBs) separately
  • 5. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 6 Space issues with SYSAUX § Since Oracle 10g more and more components store their data in SYSAUX § It keeps growing § There is even a dedicated problem type for service requests:
  • 6. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 7 Size Guidelines/estimations for the SYSAUX tablespace Parameter/Recommendation Small Medium Large Number of CPUs 2 8 32 Number of concurrently active sessions 10 20 100 Number of user objects, tables and indexes 500 5.000 50.000 Estimated SYSAUX size at steady state with default configuration 500 MB 2 GB 5 GB
  • 7. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 8 Size prediction for the SYSAUX tablespace - utlsyxsz.sql § The script $ORACLE_HOME/rdbms/admin/utlsyxsz.sql can help to estimate the required size of the SYSAUX tablespace § You have to provide some information like snapshot interval, retention etc. § Interval Setting (minutes) § AWR Retention Setting (days) § Number of Instances § Average Number of Active Sessions § Number of tables in the database § Number of partitions § Number of Datafiles § Statistics Retention § DML activity (low/medium/high)
  • 8. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 9 utlsyxsz.sql – Sample Output | *************************************************** | Summary of SYSAUX Space Estimation | *************************************************** | Est size of SDO 297.2 MB | Est size of XDB 67.4 MB | Est size of AUDSYS 51.5 MB | Est size of SM/OTHER 49.9 MB | Est size of AO 45.8 MB | Est size of LOGMNR 10.8 MB | Est size of SM/ADVISOR 10.8 MB | Est size of WM 6.6 MB | Est size of TEXT 2.9 MB | Est size of PL/SCOPE 2.8 MB | Est size of SQL_MANAGEMENT_BASE 2.7 MB | Est size of SMON_SCN_TIME 2.1 MB | Est size of JOB_SCHEDULER 2.0 MB | Est size of STREAMS 1.7 MB | Est size of LOGSTDBY 1.6 MB | Est size of AUTO_TASK 0.6 MB | Est size of EM_MONITORING_USER 0.5 MB | Est size of Others 111.4 MB | Est size of SM/AWR 3,676.4 MB | Est size of SM/OPTSTAT 40.7 MB | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | Total Estimated SYSAUX size: 4,385.4 MB | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • 9. § Introduction § Which components occupy space in SYSAUX? § How to cleanup the SYSAUX Tablespace? § How to keep the SYSAUX tablespace small? § Conclusion & more information Agenda My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 10
  • 10. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 11 The entrypoint – v$sysaux_occupants § Oracle provides a V$ view which provides almost all the information we need: SQL> desc v$sysaux_occupants Name Null? Type ----------------------------- ------ -------------------- OCCUPANT_NAME VARCHAR2(64) OCCUPANT_DESC VARCHAR2(64) SCHEMA_NAME VARCHAR2(64) MOVE_PROCEDURE VARCHAR2(64) MOVE_PROCEDURE_DESC VARCHAR2(64) SPACE_USAGE_KBYTES NUMBER CON_ID NUMBER
  • 11. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 12 Sample Output – v$sysaux_occupants SQL> select OCCUPANT_NAME,OCCUPANT_DESC, SPACE_USAGE_KBYTES USED_KB 2 from V$SYSAUX_OCCUPANTS where SPACE_USAGE_KBYTES>0 3 order by SPACE_USAGE_KBYTES desc 4 fetch first 10 rows only; OCCUPANT_NAME OCCUPANT_DESC USED_KB --------------- ------------------------------------------------------- --------- SM/AWR Server Manageability - Automatic Workload Repository 137024 SDO Oracle Spatial 132096 XDB XDB 104448 AO Analytical Workspace Object Table 49536 AUDSYS AUDSYS schema objects 47680 SM/OPTSTAT Server Manageability - Optimizer Statistics History 39680 SM/OTHER Server Manageability - Other Components 33088 SM/ADVISOR Server Manageability - Advisor Framework 13440 LOGMNR LogMiner 11264 WM Workspace Manager 7488
  • 12. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 13 Issues with V$SYSAUX_OCCUPANTS (1) § In a Container Database when in CDB$ROOT, V$SYSAUX_OCCUPANTS shows the current container only (i.e. CDB$ROOT) § No global view possible § Other (older) issues (public bugs from MOS): § Bug 16767759 AUDSYS schema is not present in V$SYSAUX_OCCUPANTS § Open since 12.1.0.1, fixed in 12.2 § Bug 10404641 V$sysaux_occupants.space_usage_kbytes may not be accurate § Open since 10.2.0.4, fixed in 18.1
  • 13. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 14 Issues with V$SYSAUX_OCCUPANTS (2) SQL> select distinct owner from 2 dba_segments where 3 tablespace_name='SYSAUX' 4 order by owner; OWNER -------------------- AUDSYS CTXSYS DBSNMP GSMADMIN_INTERNAL MDSYS SYS SYSTEM WMSYS XDB SQL> select distinct schema_name 2 from v$sysaux_occupants 3 where SPACE_USAGE_KBYTES>0 4 order by schema_name; SCHEMA_NAME -------------------- AUDSYS CTXSYS DBSNMP MDSYS SYS SYSTEM WMSYS XDB Global Data Services
  • 14. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 15 TOP Occupants – the usual suspects: § SM/OPTSTAT- old optimizer statistics § SM/ADVISOR – the various advisors § SM/AWR – AWR data § SM/OTHER - DB Feature Usage, Alert History etc. § SQL_MANAGEMENT_BASE – SQL baselines § AUDSYS – audit data
  • 15. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 16 Occupants which typically do not occupy (much) space SQL> select occupant_name,occupant_desc from v$sysaux_occupants 2 where space_usage_kbytes=0; OCCUPANT_NAME OCCUPANT_DESC ------------------------ -------------------------------------------------- AUDIT_TABLES DB audit tables XSAMD OLAP Catalog XSOQHIST OLAP API History Tables STATSPACK Statspack Repository ORDIM Oracle Multimedia ORDSYS Components ORDIM/ORDDATA Oracle Multimedia ORDDATA Components ORDIM/ORDPLUGINS Oracle Multimedia ORDPLUGINS Components ORDIM/SI_INFORMTN_SCHEMA Oracle Multimedia SI_INFORMTN_SCHEMA Components EM Enterprise Manager Repository ULTRASEARCH Oracle Ultra Search ULTRASEARCH_DEMO_USER Oracle Ultra Search Demo User EXPRESSION_FILTER Expression Filter System TSM Oracle Transparent Session Migration User
  • 16. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 17 Occupants which are desupported (and can be ignored) § Oracle Streams § Desupported since Oracle Database 19c § Enterprise Manager Repository § Used by OEM Database Control (until Oracle Database 11g Release 2) § Can be removed in Oracle Database 12c and higher: Script $ORACLE_HOME/rdbms/admin/emremove.sql
  • 17. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 18 Detailed analysis of AWR data in SYSAUX § The script $ORACLE_HOME/rdbms/admin/awrinfo.sql provides more information about the AWR components in SYSAUX § And about the other occupants, too (e.g. largest segments) ********************************** (3a) Space usage by AWR components (per database) ********************************** COMPONENT MB % AWR KB_PER_SNAP MB_PER_DAY MB_PER_WEEK TABLE% : INDEX% --------- --------- ------ ------------ ---------- ----------- ---------------- FIXED 89.7 69.4 5,402 21.1 147.7 47% : 53% EVENTS 10.4 8.1 629 2.5 17.2 39% : 61% SPACE 9.3 7.2 561 2.2 15.3 50% : 50% SQLPLAN 7.8 6.0 467 1.8 12.8 66% : 34% SQL 4.8 3.7 286 1.1 7.8 50% : 50% ASH 2.4 1.9 147 0.6 4.0 69% : 31% RAC 1.6 1.3 98 0.4 2.7 50% : 50% SQLBIND 1.2 0.9 72 0.3 2.0 47% : 53% SQLTEXT 1.2 0.9 72 0.3 2.0 68% : 32% […]
  • 18. § Introduction § Which components occupy space in SYSAUX? § How to cleanup the SYSAUX Tablespace? § How to keep the SYSAUX tablespace small? § Conclusion & more information Agenda My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 19
  • 19. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 20 How to reduce the size of the SYSAUX tablespace § Option 1: § Reorganize tables and indexes in SYSAUX § Option 2: § Move the component out of the SYSAUX Tablespace § Option 3 (AWR-related data) § Cleanup data used by the occupant § Define appropriate retention parameters § And § … don't forget to resize the datafiles afterwards § ... with AUTOEXTENSIBLE datafiles you may not detect a fast growing SYSAUX tablespace
  • 20. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 21 Reorganize Tables and Indexes in SYSAUX § As we know it: § Don't forget to rebuild indexes after moving a table § $ORACLE_HOME/rdbms/admin/awrinfo.sql will show the largest segments § Do not reorganize XDB objects! § More information: § How to Reduce SYSAUX Tablespace Occupancy Due to Fragmented tables and indexes (Doc ID 1563921.1) § Reducing SYSAUX Fragmentation of tables and indexes Caused by Statistics Related Activities (Doc ID 1271178.1) ALTER TABLE .. MOVE TABLESPACE SYSAUX ONLINE; ALTER INDEX .. REBUILD TABLESPACE SYSAUX ONLINE;
  • 21. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 22 Move data out of the SYSAUX tablespace § Oracle provides procedures for moving the data into another tablespace SQL> select occupant_name,move_procedure from v$sysaux_occupants 2 where move_procedure is not null; OCCUPANT_NAME MOVE_PROCEDURE ------------------------ --------------------------------------------- LOGMNR SYS.DBMS_LOGMNR_D.SET_TABLESPACE LOGSTDBY SYS.DBMS_LOGSTDBY.SET_TABLESPACE AUDSYS DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION AUDIT_TABLES DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION XDB XDB.DBMS_XDB_ADMIN.MOVEXDB_TABLESPACE XSAMD DBMS_AMD.Move_OLAP_Catalog AO DBMS_AW.MOVE_AWMETA XSOQHIST DBMS_XSOQ.OlapiMoveProc SDO MDSYS.MOVE_SDO WM DBMS_WM.move_proc ORDIM ordsys.ord_admin.move_ordim_tblspc ORDIM/ORDDATA ordsys.ord_admin.move_ordim_tblspc ORDIM/ORDPLUGINS ordsys.ord_admin.move_ordim_tblspc ORDIM/SI_INFORMTN_SCHEMA ordsys.ord_admin.move_ordim_tblspc EM emd_maintenance.move_em_tblspc [..]
  • 22. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 23 Move Data out of the SYSAUX tablespace – Example Audit-Data (1) § Procedure DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION § Values for AUDIT_TRAIL_TYPE § AUDIT_TRAIL_AUD_STD (Tables AUD$ and FGA_LOG$) § AUDIT_TRAIL_FGA_STD (FGA_LOG$) § AUDIT_TRAIL_DB_STD (AUD$) § AUDIT_TRAIL_UNIFIED (unified audit data) PROCEDURE SET_AUDIT_TRAIL_LOCATION Argument Name Type In/Out Default? ------------------------------ ------------------ ------ -------- AUDIT_TRAIL_TYPE BINARY_INTEGER IN AUDIT_TRAIL_LOCATION_VALUE VARCHAR2 IN
  • 23. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 24 Move Data out of the SYSAUX tablespace – Example Audit-Data (2) § Can be time-consuming § Preferably during non-peak hours Looks like a good idea, but … SQL> exec DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION 2 (AUDIT_TRAIL_TYPE=>'AUDIT_TRAIL_DB_STD’, 3 AUDIT_TRAIL_LOCATION_VALUE=>'AUDIT_DATA'); ç new tablespace
  • 24. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 25 Move Data out of the SYSAUX tablespace – Example Audit-Data (3) § Moving audit data out of the SYSAUX tablespace is supported, but may lead to some issues („side effects“): § For type AUDIT_TRAIL_UNIFIED new partitions of the audit table will be created in the new tablespace. Existing data will not be moved. § LOB and index partitions are not moved. § See MOS-Notes § RMAN Duplicate PDB Fails With RMAN-05548 If Audit Trails Are Moved Outside Of SYSAUX (Doc ID 2256158.1) – (AUD$ only) § Dbms_Audit_Mgmt.Set_Audit_Trail_Location Does Not Move Lob And Index Partitions (Doc ID 2428624.1) § About Changing Partitioning Behavior of Unified Audit Trail (AUD$UNIFIED) (Doc ID 2438973.1)
  • 25. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 26 Reduce Data in SYSAUX – SM/OPTSTAT § Remove old statistics § Example: remove data older than 14 days (Default retention period is 31 days) SQL> exec DBMS_STATS.PURGE_STATS(SYSDATE-15);
  • 26. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 27 Reduce Data in SYSAUX – SM/ADVISOR (1) § "Deleting data from this component can be more complicated." (Quote from MOS-Note 329984.1) § Use OEM to delete old results § You can DISABLE and RE-ENABLE an advisor § You will loose all the old data (but that's on purpose in this case)
  • 27. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 28 Reduce Data in SYSAUX – SM/ADVISOR (2) § By default, old data will be purged automatically after 30 days § Change this setting (EXECUTION_DAYS_TO_EXPIRE): § Manual purging: § Move table WRI$_ADV_OBJECTS and rebuild indexes § Note: According to MOS-Note 2660128.1 data in PDBs will not be purged automatically § Use manual purging SQL> EXEC DBMS_ADVISOR.SET_TASK_PARAMETER 2 (task_name=> 'AUTO_STATS_ADVISOR_TASK', 4 parameter=> 'EXECUTION_DAYS_TO_EXPIRE', value => 10); SQL> exec prvt_advisor.delete_expired_tasks;
  • 28. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 29 Reduce Data in SYSAUX – SM/AWR (1) § Reduce the retention period è Older data will be deleted § Current retention period (example: 31 days): § Change retention period (example: set to 8 days) SQL> SELECT retention FROM dba_hist_wr_control; RETENTION ---------------------------------------------------------------------- +00031 00:00:00.0 SQL> exec DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS (retention=>8*1440);
  • 29. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 30 Reduce Data in SYSAUX – SM/AWR (2) § Remove a range of AWR snapshots DBMS_WORKLOAD_REPOSITORY.DROP_SNAPSHOT_RANGE( low_snap_id IN NUMBER, high_snap_id IN NUMBER dbid IN NUMBER DEFAULT NULL);
  • 30. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 31 Reduce Data in SYSAUX – SM/SQL_MANAGEMENT_BASE (1) § Options § Reduce retention period § Reduce available space in SYSAUX § Remove unused SQL Plan baselines § Restrict the plans which will be gathered
  • 31. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 32 Reduce Data in SYSAUX – SM/SQL_MANAGEMENT_BASE (2) § Reduce retention period & reduce available space in SYSAUX § Current configuration § Change configuration SQL> SELECT PARAMETER_NAME, PARAMETER_VALUE 2 from DBA_SQL_MANAGEMENT_CONFIG; PARAMETER_NAME PARAMETER_VALUE ------------------------------- ------------------------------ [..] PLAN_RETENTION_WEEKS 53 SPACE_BUDGET_PERCENT 10 SQL> Exec DBMS_SPM.CONFIGURE('PLAN_RETENTION_WEEKS',26); SQL> Exec DBMS_SPM.CONFIGURE('SPACE_BUDGET_PERCENT',5);
  • 32. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 33 Reduce Data in SYSAUX – SM/SQL_MANAGEMENT_BASE (3) § Remove unused SQL Plan baselines § Step 1: Find out the sql_handle § Step 2: Remove SQL Plan baseline for this handle (please see SQL Tuning Guide, Chapter 28.6 for more information) SQL> SELECT SQL_HANDLE, SQL_TEXT, PLAN_NAME, ORIGIN, ENABLED, ACCEPTED 2 FROM DBA_SQL_PLAN_BASELINES 3 WHERE SQL_TEXT LIKE '<your_sql_text>'; DECLARE v_dropped_plans number; BEGIN v_dropped_plans := DBMS_SPM.DROP_SQL_PLAN_BASELINE ( sql_handle => '<handle_from_step_1>' ); DBMS_OUTPUT.PUT_LINE('dropped ' || v_dropped_plans || ' plans'); END; /
  • 33. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 34 Reduce Data in SYSAUX – SM/SQL_MANAGEMENT_BASE (4) § Through 12.1 a SQL plan baselines is created for every SQL statement that is executed repeatedly § Since 12.2 several include/exclude filter types for automatic capture are available § SQL text § Parsing schema name § Module (DBMS_APPLICATION_INFO) § Action (DBMS_APPLICATION_INFO) § For example: include only SQL statements whose text start with “SELECT” § Obviously, the less data is captured, the less disk space is used dbms_spm.configure(parameter_name=>'AUTO_CAPTURE_SQL_TEXT', parameter_value=>'SELECT%', allow => TRUE);
  • 34. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 35 Reduce Data in SYSAUX – SM/OTHER § Unfortunately, there's no special advice if there are space issues with SM/OTHER § Create an SR and follow the steps described in the MOS Note "SRDC - How to Collect Standard Information for an Issue where Excessive SYSAUX Space is Used by the Automatic Workload Repository (AWR) (Doc ID 1934108.1)"
  • 35. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 36 Check the Statistics Level § Level "ALL" may lead to a huge amount of data in SYSAUX § Recommendation: § Keep the default value "TYPICAL" SQL> show parameter STATISTICS_LEVEL NAME TYPE VALUE ---------------------- ----------- ------------------------------ statistics_level string TYPICAL
  • 36. § Introduction § Which components occupy space in SYSAUX? § How to cleanup the SYSAUX Tablespace? § How to keep the SYSAUX tablespace small? § Conclusion & more information Agenda My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 37
  • 37. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 38 A stitch in time saves nine – soon after creating a database § Use dedicated tablespaces § Move Audit-Data out of the SYSAUX tablespace (but think about the side effects) § Use a dedicated tablespace for Statspack data (schema PERFSTAT) § Don't use AUTOEXTENSIBLE for SYSAUX (or set it to a reasonable value) § But don't forget to monitor your tablespaces § Keep Statistics Level "Typical" § Define appropriate retention periods for AWR related data § Disable unnecessary advisors
  • 38. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 39 Define retention periods (1) REM SM/OPTSTAT REM retention period in days (Default: 31 days) exec dbms_stats.alter_stats_history_retention(7); REM SM/ADVISOR REM retention period Statistics Advisor (default: 30 days) EXEC DBMS_SQLTUNE.SET_TUNING_TASK_PARAMETER ( task_name => 'AUTO_STATS_ADVISOR_TASK', parameter => 'EXECUTION_DAYS_TO_EXPIRE', value => 14);
  • 39. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 40 Define retention periods (2) REM SM/AWR REM retention period defined in minutes (1 day = 1440 minutes) exec DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS(retention=>8*1440); REM SQL_MANAGEMENT_BASE REM retention period defined in weeks Exec DBMS_SPM.CONFIGURE('PLAN_RETENTION_WEEKS',26); REM or percentage of space in SYSAUX Exec DBMS_SPM.Configure('SPACE_BUDGET_PERCENT',5);
  • 40. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 41 Disable un-needed advisors (Examples) REM disable the Statistic Advisor exec dbms_stats.set_global_prefs('AUTO_STATS_ADVISOR_TASK','FALSE'); REM disable the Tuning Advisor DBMS_AUTO_TASK_ADMIN.DISABLE( client_name => 'sql tuning advisor', operation => NULL, window_name => NULL); REM disable the Space Advisor DBMS_AUTO_TASK_ADMIN.DISABLE( client_name => 'auto space advisor', operation => NULL, window_name => NULL);
  • 41. § Introduction § Which components occupy space in SYSAUX? § How to cleanup the SYSAUX Tablespace? § How to keep the SYSAUX tablespace small? § Conclusion & more information Agenda My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 42
  • 42. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 43 Conclusion § More and more components are using the SYSAUX tablespace § SYSAUX needs your attention § Monitor tablespace growth § Don't use AUTOEXTENSIBLE § Use dedicated tablespaces where applicable § Set retention policies soon after database creation
  • 43. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 44 More Information – MOS notes (1) § Troubleshooting Issues with SYSAUX Space Usage (Doc ID 1399365.1) § General Guidelines for SYSAUX Space Issues (Doc ID 552880.1) § How to Reduce SYSAUX Tablespace Occupancy Due to Fragmented TABLEs and INDEXes (Doc ID 1563921.1) § Tips if Your SYSAUX Tablespace Grows Rapidly or Too Large (Doc ID 1292724.1) § Usage and Storage Management of SYSAUX tablespace occupants SM/AWR, SM/ADVISOR, SM/OPTSTAT and SM/OTHER (Doc ID 329984.1) § SYSAUX Grows Because Optimizer Stats History is Not Purged (Doc ID 1055547.1) § SRDC - How to Collect Standard Information for an Issue where Excessive SYSAUX Space is Used by the Automatic Workload Repository (AWR) (Doc ID 1934108.1) § SYSAUX Tablespace Filled With WRI$_EMX_FILES | What is WRI$EMX_FILES (Doc ID 2639664.1) § SYSAUX Tablespace Grows Quite Fast Due to Apply Spilling (Doc ID 556183.1) § SYSAUX Tablespace Growing Due to SYS.SCHEDULER$_JOB_OUTPUT LOB Column (Doc ID 2095104.1) § Bug 8553944 - SYSAUX tablespace grows (Doc ID 8553944.8) § Bug 14373728 - Old Statistics not Purged from SYSAUX Tablespace (Doc ID 14373728.8)
  • 44. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 45 More Information – MOS notes (2) § How To Recreate the SYSAUX Tablespace (Doc ID 468116.1) § SYSAUX Tablespace Space Issue Because Of dbms_comparison (Doc ID 2089484.1) § Exports Fail Because SYSAUX Tablespace Needs Recovery (Doc ID 1497195.1) § HEATMAP Segment Size Is Large In SYSAUX Even When Heatmap=Off (Doc ID 2024036.1) § SYSAUX New Mandatory Tablespace in Oracle 10g and higher (Doc ID 243246.1) § ZDLRA: SM/ADVISOR using more space in SYSAUX (Doc ID 2730556.1) § How to Relocate the SYSAUX Tablespace (Doc ID 301186.1) § SYSAUX Tablespace Is Getting Filled Frequently with COMPARISON_ROW_DIF$ (Doc ID 2087865.1) § Abnormal High Space Usage in Sysaux Tablespace - Unable to Purge (Doc ID 1360000.1) § Large Growth of SYSAUX Tablespace with Table WRH$_SQL_PLAN Taking Lot of Space (Doc ID 2475149.1) § The SQL Plan Directive Written to the SYSAUX Tablespace Is Not Accounted For in V$SYSAUX_OCCUPANTS (Doc ID 2464177.1) § How To Prevent The Unified Audit Trail From Being Created in SYSAUX, And Change Its Default Partitioning Behavior (Doc ID 2548804.1) § Is it Possible to Move SQL Plan Management (SPM) Data Outside of SYSAUX (Doc ID 2065088.1)
  • 45. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 46 More information – blog posts (English) § ToadWorld: SYSAUX and purging big objects (segments) manually: https://blog.toadworld.com/2017/11/15/sysaux-and-purging-big-objects-segments-manually § Managing the sysaux tablespace - https://mindmajix.com/oracle-dba/managing-sysaux-tablespace § Purging statistics from the SYSAUX tablespace - https://doyensys.com/blogs/purging-sysaux- tablespace-statistics/ § Cleaning Oracle SYSAUX Tablespace Usage: https://www.techpaste.com/2017/03/cleaning-oracle-sysaux-tablespace-usage/
  • 46. My SYSAUX tablespace is full - please help!* UKOUG Breakthrough'22 * Birmingham * December 2022 * Markus Flechtner 47 More information – blog posts (German) § Andrea Held: Der Oracle Sysaux-Tablespace: Reorganisation und Verkleinerung https://www.informatik-aktuell.de/betrieb/datenbanken/der-oracle-sysaux-tablespace-reorganisation- und-verkleinerung.html § Oracle Help: Tablespace SYSAUX ist voll oder wächst ununterbrochen: https://oracletipps.wordpress.com/2015/10/21/tablespace-sysaux-full-or-growing/ § Mein SYSAUX-Tablespace wächst und wächst, was soll (kann) ich tun ..: https://www.markusdba.de/2021/04/06/mein-sysaux-tablespace-waechst-und-waechst-was-soll-kann- ich-tun/ § Hermann & Lenz: Neues vom SYSAUX-Tablespace…: https://blog.hl-services.de/2021/03/26/neues-vom-sysaux-tablespace/
  • 47. Vielen Dank für Ihre Aufmerksamkeit ORDIX AG Aktiengesellschaft für Softwareentwicklung, Schulung, Beratung und Systemintegration Zentrale Paderborn Karl-Schurz-Straße 19a 33100 Paderborn Tel.: 05251 1063-0 Fax: 0180 1 67349 0 Seminarzentrum Wiesbaden Kreuzberger Ring 13 65205 Wiesbaden Tel.: 0611 77840-00 info@ordix.de https://www.ordix.de/ Markus Flechtner mfl@ordix.de Twitter @markusdba Markusdba.net|.de Thank you for your attention!