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
不明白,其中的原理
解决方案 »
- 如何让一个用户拥有另外一个用户中所有表的访问权限
- 批处理如何调用一个带输出参数的ORACLE存储过程?
- 在linux下,oracle isqlplus dba登录出现TNS:could not resolve the connect identifier spec
- 关于左连接的问题
- 请教,导出ORACLE 的一个用户,但不导出这个用户下面的某个表,如何实现?
- 关于Oracle同步数据库问题?
- 新手问题:Oracle 数据如何备份和还原
- 复杂的sql语句,请问怎么写?解决后立马给分
- 我的数据库名字叫deviser,我想在SQL/PLUS里头对他做个备份该怎么写导入和导出的命令?
- (在线..)windows2000(prefessional)刚装完oracle8.1.7,一用 sql-plus就出现:ERROR:ORA-12514: TNS: 监听进程不能解析在连接描述符中给
- 监听地址填写不同,成功率也不同?
- 求RedHat 4.8下安装Oracle10.2.0.1方法
虽然可以使用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