当前位置:网站首页>19c sysaux tablespace sqlobj$plan table is too large. How to clean it up
19c sysaux tablespace sqlobj$plan table is too large. How to clean it up
2022-07-28 09:24:00 【hzdba】
19c SYSAUX Table space SQLOBJ$PLAN How to clean a watch that is too big ? Again official MOS And no relevant information can be found on the Internet , Do you have a boss to point out
SEGMENT_NAME PARTITION_NAME SEGMENT_TYPE BYTES/1024/1024
------------------------------ ------------------------------ ------------------ ---------------
SQLOBJ$PLAN TABLE 3479
Other answers 1:
https://www.modb.pro/db/421266
Go and have a look at the specific contents recorded in this form , Refer to this I met case Go and analyze
Other answers 2:
https://community.oracle.com/mosc/discussion/4504696/purge-sysaux-tablespace-with-purging-sqlobj-plan, Take a look at this document , It's very similar to your problem .
Other answers 3:
Reference resources MOS file :
- Reducing the Space Usage of the SQL Management Base in the SYSAUX Tablespace (Doc ID 1499542.1)
- How to Reduce SYSAUX Tablespace Occupancy Due to Fragmented TABLEs and INDEXes (Doc ID 1563921.1)
1、 First of all to see SYSAUX Usage of tablespace objects :
set lines 130set pages 10000col SgmntSize heading 'Sgmnt|Size|Mb'col SgmntSize format 99999col TSname heading 'TSpace|Name|'col TSname format a25col SgmntOwner heading 'Sgmnt|Owner|'col SgmntOwner format a15col SgmntName heading 'Sgmnt|Name|'col SgmntName format a35col SgmntType heading 'Sgmnt|Type|'col SgmntType format a5SELECT ROUND(SUM(ds.bytes)/1024/1024,0) as "SgmntSize", ds.TableSpace_name as "TSname", ds.owner as "SgmntOwner", ds.segment_name as "SgmntName", ds.segment_type as "SgmntType"FROM dba_segments dsWHERE ds.segment_type IN ('TABLE','INDEX')AND TableSpace_name = 'SYSAUX'GROUP BY ds.TableSpace_name, ds.owner, ds.segment_name, ds.segment_typeORDER BY "SgmntSize" DESC;
2、 adopt DBMS_SPM.DROP_SQL_PLAN_BASELINE Delete unwanted SQL The baseline .
3、shrink space
It is recommended to do this when the database load is light :
select space_usage_kbytes from v$sysaux_occupants where occupant_name = 'SQL_MANAGEMENT_BASE';alter table "SYS"."SQL$" enable row movement;alter table "SYS"."SQL$TEXT" enable row movement;alter table "SYS"."SQLOBJ$AUXDATA" enable row movement;alter table "SYS"."SQL$" shrink space cascade;alter table "SYS"."SQL$TEXT" shrink space cascade;alter table "SYS"."SQLOBJ$AUXDATA" shrink space cascade;alter table "SYS"."SQL$" disable row movement;alter table "SYS"."SQL$TEXT" disable row movement;alter table "SYS"."SQLOBJ$AUXDATA" disable row movement;alter table "SYS"."SQLOBJ$" shrink space cascade;alter table "SYS"."SQLOBJ$DATA" shrink space cascade;alter table "SYS"."SQL$" modify lob ("SPARE2") (shrink space cascade);alter table "SYS"."SQL$TEXT" modify lob ("SPARE2") (shrink space cascade);alter table "SYS"."SQL$TEXT" modify lob ("SQL_TEXT") (shrink space cascade);alter table "SYS"."SQLOBJ$" modify lob ("SPARE2") (shrink space cascade);alter table "SYS"."SQLOBJ$DATA" modify lob ("COMP_DATA") (shrink space cascade);alter table "SYS"."SQLOBJ$DATA" modify lob ("SPARE2") (shrink space cascade);alter table "SYS"."SQLOBJ$AUXDATA" modify lob ("SPARE2") (shrink space cascade);
边栏推荐
- DN-DETR 论文精度,并解析其模型结构 & 2022年CVPR论文
- 2022 high voltage electrician examination simulated 100 questions and simulated examination
- JSON file storage
- 19c SYSAUX表空间SQLOBJ$PLAN表过大,如何清理
- 2022年安全员-B证考试模拟100题及答案
- 推荐一个摆脱变量名纠结的神器和批量修改文件名方法
- 【C语言】详解顺序表(SeqList)
- mysql主从架构 ,主库挂掉重启后,从库怎么自动连接主库
- Sword finger offer
- Setting of parameter configuration tool for wireless vibrating wire collector
猜你喜欢

js数组去重,id相同对某值相加合并
![376. Swing sequence [greedy, dynamic planning -----]](/img/c3/46cdd8c9320c529171cbf963c768a7.png)
376. Swing sequence [greedy, dynamic planning -----]

CSV file storage

An entry artifact tensorflowplayground

实现批量数据增强 | keras ImageDataGenerator使用

网络层的IP协议

AMQ streams (1) of openshift 4 - multiple consumers receive data from partition

QT基础练手小程序-简单计算器设计(附带源码,解析)
![Magic brace- [group theory] [Burnside lemma] [matrix fast power]](/img/cf/606d1bc7cd877771afbdd7640b718c.png)
Magic brace- [group theory] [Burnside lemma] [matrix fast power]

Modify virtual machine IP address
随机推荐
侯捷STL标准库和泛型编程
快速上手Flask(一) 认识框架Flask、项目结构、开发环境
1.5 merge\rebase\revert\stash\branch
01-TensorFlow计算模型(一)——计算图
2022安全员-C证特种作业证考试题库及答案
从开发转测试:我从零开始,一干就是6年的自动化测试历程
2022高压电工考试模拟100题及模拟考试
AMQ streams (1) of openshift 4 - multiple consumers receive data from partition
完善的交叉编译环境记录 peta 生成的shell 脚本
Magic brace- [group theory] [Burnside lemma] [matrix fast power]
Realize batch data enhancement | use of keras imagedatagenerator
10、学习MySQL LIKE 子句
【vscode】vscode使用
股指期货开户的条件和流程
F - Jealous Two-二维逆序对
What is the difference between these two sets of code?
IDC脚本文件运行
Oracle-11gR2默认的系统JOB
ES6 let and Const
[advanced drawing of single cell] 07. Display of KEGG enrichment results