Table analyzed
ANALYZE TABLE WMSYS.WM$EVENT_QUEUE_TABLE COMPUTE STATISTICS
ORA-38029: 对象统计信息已锁定
Table analyzed
ANALYZE TABLE WMSYS.SYS_IOT_OVER_10151 COMPUTE STATISTICS
ORA-25191: 无法引用索引表的溢出表
Table analyzed
不明白,其中的原理
解决方案 »
- sql文件导入后,中文变乱码,怎样解决?
- 写了个trigger,怎么取到当前插入的值?
- 求sql语句,将一列多行拼接成一行?
- ORACLE远程访问sqlserver2000数据库,无法调用自定义函数和存储过程
- java如何处理数据库中的图象
- LDAP资料
- sql统计问题,一时想不起来怎么处理!
- ORACLE初级问题!!!!!急~
- 在oracle中,怎样将回退表空间做新建立用户的属性,写法如何!!!
- PL/SQL响应用户操作
- |zyciis| Update整个表3小时没反应,改为分段更新 为什么一条Update语句,越执行越慢呢?
- Oracle10g和Oracle11g能否在Windows下共存
虽然可以使用DBMS_STATS包来解锁,但最好别这样做。
另外数据字典表都不能analyze的。
有人把table的statistics lock住了,解决方法
1.unlock table statistics,再收集统计信息
2.收集统计信息的时候加force=>yStatistics for a table or schema can be locked. Once statistics are locked, no modifications can be made to those statistics until the statistics have been unlocked. These locking procedures are useful in a static environment in which you want to guarantee that the statistics never change.The DBMS_STATS package provides two procedures for locking and two procedures for unlocking statistics:
LOCK_SCHEMA_STATS
LOCK_TABLE_STATS
UNLOCK_SCHEMA_STATS
UNLOCK_TABLE_STATS