ORACLE: Analyze Table 失敗

Oracle  Analyze table  表名  :一般可以指定分析 表,所有字段,所有索引字段,所有索引。 若不指定则全部都分析。

但不一定都能成功。

最近 它就使 表 PO.PO_REQUISITION_LINES_ALL 的所有索引破坏了, 致PO模块的请购功能无法 使用。

因此,使用ANALYZE TABLE 后,建议

使用SQL:

SELECT owner,index_name, table_name,status, Last_Analyzed
FROM SYS.DBA_INDEXES
WHERE 1=1
-- AND INDEX_NAME LIKE ‘OE_ORDER_LINES_N%‘
AND STATUS = ‘UNUSABLE‘

查询索引状态是否正常。

现实环境中在 是 INDEX: OE_ORDER_LINES_N1  索引破坏状态,所有与 ONT.OE_ORDER_LINES_ALL有相的查都发生了 TABLE LOCK,

硬件资源被耗尽, 导致ORACLE EBS系统 崩溃。

原文地址:https://www.cnblogs.com/samrv/p/11640770.html

时间: 2024-07-30 11:29:28

ORACLE: Analyze Table 失敗的相关文章

对于Oracle analyze table的使用总结 . 对于Oracle analyze table的使用总结 .

对于Oracle analyze table的使用总结 . 对于Oracle analyze table的使用总结 . analyze table 一般可以指定分析: 表,所有字段,所有索引字段,所有索引. 若不指定则全部都分析. SQL> analyze table my_table compute statistics; SQL> analyze table my_table compute statistics for table for all indexes for all colu

[转] Oracle analyze table 使用总结

转自:http://www.cnblogs.com/einyboy/archive/2012/08/09/2630321.html analyze table 一般可以指定分析: 表,所有字段,所有索引字段,所有索引. 若不指定则全部都分析. SQL> analyze table my_table compute statistics; SQL> analyze table my_table compute statistics for table for all indexes for al

Oracle報錯︰ORA-12638 證明資料擷取失敗

Oracle報錯︰ORA-12638 證明資料擷取失敗 解決辦法︰

Oracle索引梳理系列(十)- 直方图使用技巧及analyze table操作对直方图统计的影响(谨慎使用)

版权声明:本文发布于http://www.cnblogs.com/yumiko/,版权由Yumiko_sunny所有,欢迎转载.转载时,请在文章明显位置注明原文链接.若在未经作者同意的情况下,将本文内容用于商业用途,将保留追究其法律责任的权利.如果有问题,请以邮箱方式联系作者([email protected]). 前言 针对索引列,尤其是存在严重数据倾斜的索引列,直方图的统计信息,对于CBO优化器更准确地选择执行计划至关重要. 对于初心者,可以从这篇文章中,了解到直方图对于索引列的价值.作用,

ORACLE 11g ORA-20000: Unable to analyze TABLE "AA"."CMP3$87651", insufficient privileges or does not exist

Sat Sep 21 06:00:00 2019Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"End automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"Sat Sep 21 22:01:51 2019DBMS_STATS:

dbms_stats.gather_table_stats与analyze table 的区别[转贴]

Analyze StatementThe ANALYZE statement can be used to gather statistics for a specific table, index or cluster. The statistics can be computed exactly, or estimated based on a specific number of rows, or a percentage of rows: ANALYZE TABLE employees

Oracle Analyze 命令 详解

官网的链接如下: http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4005.htm#SQLRF01105 使用DBMS_STATS 收集统计信息参考: Oracle Statistic 统计信息 小结 http://blog.csdn.net/tianlesoftware/article/details/4668723 Oracle 判断 并 手动收集 统计信息 脚本 http://blog.csdn.net/ti

[转] Oracle analyze 命令分析

转自:http://blog.sina.com.cn/s/blog_682841ba0101bncp.html 1.analyze table t1 compute statistics for table;  -->user_tables (只对表的总体信息进行统计,比如行数多少等,不涉及到表字段) 2.analyze table t2 compute statistics for all columns;  -->user_tab_columns (只会收集表字段信息) 3.analyze

通过案例学调优之--Oracle Cluster Table

通过案例学调优之--Oracle Cluster Table About Clusters A cluster provides an optional method of storing table data. A cluster is made up of a group of tables that share the same data blocks. The tables are grouped together because they share common columns an