ORA-14508: specified VALIDATE INTO table not found
2011-06-15 11:24
627 查看
SQL> SELECT TABLE_NAME,
2 PARTITIONING_TYPE TYPE,
3 P.SUBPARTITIONING_TYPE,
4 P.PARTITION_COUNT
5 FROM USER_PART_TABLES P
6 WHERE P.TABLE_NAME = 'P_PARTITION_RANG';
TABLE_NAME TYPE SUBPARTITIONING_TYPE PARTITION_COUNT
------------------------------ ------- -------------------- ---------------
P_PARTITION_RANG RANGE NONE 4
SQL> ANALYZE TABLE P_PARTITION_RANG validate structure cascade;
ANALYZE TABLE P_PARTITION_RANG validate structure cascade
*
ERROR at line 1:
ORA-14508: specified VALIDATE INTO table not found
[ID 111990.1] 中记录了这个错误,要手工执行utivalid.sql创建表INVALID_ROWS 后才可以执行。
SQL> @?/rdbms/admin/utivalid.sql
SP2-0310: unable to open file "/oracle/app/oracle10g/rdbms/admin/utivalid.sql"
SQL> @?/rdbms/admin/UTLVALID
SP2-0310: unable to open file "/oracle/app/oracle10g/rdbms/admin/UTLVALID.sql"
SQL> host more $ORACLE_HOME/rdbms/admin/utlvalid.sql
rem
Rem Copyright (c) 1990, 1995, 1996, 1998 by Oracle Corporation
Rem NAME
REM UTLVALID.SQL
Rem FUNCTION
Rem Creates the default table for storing the output of the
Rem analyze validate command on a partitioned table
Rem NOTES
Rem MODIFIED
Rem syeung 06/17/98 - add subpartition_name
Rem mmonajje 05/21/96 - Replace timestamp col name with analyze_timestamp
Rem sbasu 05/07/96 - Remove echo setting
Rem ssamu 01/09/96 - new file utlvalid.sql
Rem
create table INVALID_ROWS (
owner_name varchar2(30),
table_name varchar2(30),
partition_name varchar2(30),
subpartition_name varchar2(30),
head_rowid rowid,
analyze_timestamp date
);
SQL> create table INVALID_ROWS (
2 owner_name varchar2(30),
3 table_name varchar2(30),
4 partition_name varchar2(30),
5 subpartition_name varchar2(30),
6 head_rowid rowid,
7 analyze_timestamp date
8 );
Table created.
SQL> ANALYZE TABLE P_PARTITION_RANG validate structure cascade;
Table analyzed.
2 PARTITIONING_TYPE TYPE,
3 P.SUBPARTITIONING_TYPE,
4 P.PARTITION_COUNT
5 FROM USER_PART_TABLES P
6 WHERE P.TABLE_NAME = 'P_PARTITION_RANG';
TABLE_NAME TYPE SUBPARTITIONING_TYPE PARTITION_COUNT
------------------------------ ------- -------------------- ---------------
P_PARTITION_RANG RANGE NONE 4
SQL> ANALYZE TABLE P_PARTITION_RANG validate structure cascade;
ANALYZE TABLE P_PARTITION_RANG validate structure cascade
*
ERROR at line 1:
ORA-14508: specified VALIDATE INTO table not found
[ID 111990.1] 中记录了这个错误,要手工执行utivalid.sql创建表INVALID_ROWS 后才可以执行。
SQL> @?/rdbms/admin/utivalid.sql
SP2-0310: unable to open file "/oracle/app/oracle10g/rdbms/admin/utivalid.sql"
SQL> @?/rdbms/admin/UTLVALID
SP2-0310: unable to open file "/oracle/app/oracle10g/rdbms/admin/UTLVALID.sql"
SQL> host more $ORACLE_HOME/rdbms/admin/utlvalid.sql
rem
Rem Copyright (c) 1990, 1995, 1996, 1998 by Oracle Corporation
Rem NAME
REM UTLVALID.SQL
Rem FUNCTION
Rem Creates the default table for storing the output of the
Rem analyze validate command on a partitioned table
Rem NOTES
Rem MODIFIED
Rem syeung 06/17/98 - add subpartition_name
Rem mmonajje 05/21/96 - Replace timestamp col name with analyze_timestamp
Rem sbasu 05/07/96 - Remove echo setting
Rem ssamu 01/09/96 - new file utlvalid.sql
Rem
create table INVALID_ROWS (
owner_name varchar2(30),
table_name varchar2(30),
partition_name varchar2(30),
subpartition_name varchar2(30),
head_rowid rowid,
analyze_timestamp date
);
SQL> create table INVALID_ROWS (
2 owner_name varchar2(30),
3 table_name varchar2(30),
4 partition_name varchar2(30),
5 subpartition_name varchar2(30),
6 head_rowid rowid,
7 analyze_timestamp date
8 );
Table created.
SQL> ANALYZE TABLE P_PARTITION_RANG validate structure cascade;
Table analyzed.
相关文章推荐
- ORA-14508:specified VALIDATE INTO table not found
- Oracle 9i 查看执行计划报错 ORA-02402: PLAN_TABLE not found
- modules/mod_dav_svn.so into server: The specified module could not be found
- ORA-31603: object "orders" of type TABLE not found in schema "SYSTEM"
- ORA-14099: all rows in table do not qualify for specified partition
- Specified VM install not found: type Standard VM, name jdk1.6.0_05
- [Nagios] Error: Template 'timman' specified in contact definition could not be not found (c
- 【Oracle问题集5】ORA-55622: DML, ALTER and CREATE UNIQUE INDEX operations are not allowed on table
- Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified 问题解决!
- The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid
- ORA-12154: TNS:could not resolve the connect identifier specified
- ORA-08189: cannot flashback the table because row movement is not enabled
- DOS format was specified but only a single line feed character was found, not 2
- [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
- LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
- Oracle 10g ORA-12154: TNS: could not resolve the connect identifier specified
- "ORA-06592: CASE not found while executing CASE statement"错误
- ORA-12154: TNS:could not resolve the connect identifier specified错误解决方案一
- linux下导出oracle时报错【ORA-12154: TNS:could not resolve the connect identifier specified】
- 无法删除DBLINK ORA-02024 database link not found