SQL>Connect / as sysdba
SQL>oradebug setmypid
SQL>oradebug unlimit
SQL>@$ORACLE_HOME/rdbms/admin/utlvalid.sql
-- By running utlvalid.sql (if not exist, a table named invalid_row will be created and that is needed to run
-- Analyze on partition table as below syntax show.
-- You might get ora-955 if the invalid table already exist, ignore it and continue with the Analyze command.
For Index:
SQL>Analyze Index <Owner>.<Index_name> Validate Structure Online;
For Parition/Subpartition Index:
SQL> analyze Index <Owner>.<Index_name> partition (<partition_name>) validate structure online;
SQL> analyze Index <Owner>.<Index_name> subpartition (<subpartition_name>) validate structure online;
For Cluster:
SQL>Analyze Cluster <Owner>.<Cluster_name> validate structure cascade;
For non-partition table
SQL>Analyze Table <OWNER>.<TABLE_NAME> Validate Structure Cascade Online;
SQL>Analyze Table <OWNER>.<TABLE_NAME> Validate Structure Online;
For Partition table
SQL> Analyze table <OWNER>.<TABLE_NAME> partition (<partition_name>) validate structure cascade Online into invalid_rows;
SQL> Analyze table <OWNER>.<TABLE_NAME> validate structure cascade Online into invalid_rows;
SQL> oradebug tracefile_name
This last command will tell the name of the trace and its location.
Please send us the trace.
Upload following trace file
/oracle/pc52c/diag/rdbms/pc52c/pc52c/trace/pc52c_ora_5561.trc:
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
【专家有话说第五期】在不同年龄段,DBA应该怎样规划自己的职业发展?
墨天轮编辑部
1296次阅读
2025-03-13 11:40:53
Oracle RAC ASM 磁盘组满了,无法扩容怎么在线处理?
Lucifer三思而后行
782次阅读
2025-03-17 11:33:53
Oracle+Deepseek+Dify 实现数据库数据实时分析
bicewow
706次阅读
2025-03-06 09:41:49
【ORACLE】ORACLE19C在19.13版本前的一个严重BUG-24761824
DarkAthena
570次阅读
2025-03-04 14:33:31
Oracle避坑指南|同名表导出难题:如何精准排除指定用户下的表?
szrsu
535次阅读
2025-03-05 00:42:34
2月“墨力原创作者计划”获奖名单公布
墨天轮编辑部
458次阅读
2025-03-13 14:38:19
Ogg23ai高手必看-MySQL Innodb Cluster跟oracle的亲密接触
曹海峰
455次阅读
2025-03-04 21:56:13
【ORACLE】char类型和sql优化器发生的“错误”反应
DarkAthena
406次阅读
2025-03-04 23:05:01
Oracle 如何修改 db_unique_name?强迫症福音!
Lucifer三思而后行
348次阅读
2025-03-12 21:27:56
Oracle DataGuard高可用性解决方案详解
孙莹
307次阅读
2025-03-26 23:27:33