148 QSM-00501 to QSM-03288
- QSM-00501: unable to initialize Summary Advisor environment
-
Cause: The Summary Advisor external procedure initialization process failed.
- QSM-00502: OCI error
-
Cause: A OCI callback routine reported an error
- QSM-00503: out of memory
-
Cause: Summary Advisor failed to allocate the necessary memory.
- QSM-00504: internal error
-
Cause: An internal error occurred.
- QSM-00505: syntax error
-
Cause: A syntax error occurred.
- QSM-00506: no fact-tables could be found
-
Cause: The fact-filter is not specified, and there are no fact-tables in the warehouse. A fact-table is a table having foreign-key constraints to one or more of the dimension-tables in the data warehouse.
- QSM-00507: no dimensions could be found
-
Cause: The database does not have any dimensions
- QSM-00508: statistics missing on tables/columns
-
Cause: The system metadata does not contain statistics on one or more tables or columns. The Advisor needs cardinalities of all fact-tables, and of the level-keys of all dimensions in the data warehouse.
- QSM-00509: invalid parameter
-
Cause: The indicated parameter has an invalid value
- QSM-00510: statistics missing on materialized views
-
Cause: The system metadata does not contain statistics on one or more materialized views. The Advisor needs cardinalities of all materialized views in the data warehouse.
- QSM-00511: invalid fact-tables specified in fact-filter
-
Cause: The tables specified in the fact-filter are not valid fact-tables. A fact-table must have foreign-key constraints to one or more of the dimension-tables in the data warehouse.
- QSM-00512: invalid summaries specified in the retention-list
-
Cause: The summaries specified in the retention-list are not valid.
- QSM-00513: one or more of the workload tables is missing
-
Cause: One or both of the workload tables are missing. The two workload tables which should be present in the user's schema are V_192216243_F_5_E_14_8_1 and V_192216243_F_5_E_15_8_1; the former is mapped to WORK$_IDEAL_MVIEW and the latter to WORK$_MVIEW_USAGE. The workload tables are created by the Oracle Trace Formatter when the data-collection-file (oraclesm.dat) is formatted by the user.
- QSM-00514: the size of must-retain summaries exceeds specified space limit
-
Cause: The specified space limit is greater than the size of must-retain summaries.
- QSM-00515: operation cancelled by user
-
Cause: The operation has been cancelled by the user
- QSM-00516: illegal status detected for run
-
Cause: The run has encountered an illegal value in the status field of the mview$_adv_log table. This could be internal error or an application error.
- QSM-00517: Summary Advisor requires a COMPATIBLE setting of 8.1.0.0 or greater
-
Cause: The current database has a compatibility setting that is earlier than the supported server version.
- QSM-00518: Java is not enabled. Please execute INITJVM.SQL and INITQSMA.SQL
-
Cause: The current database has has not be created or upgraded to support Java stored procedures. Summary Advisor requires Java stored procedures.
- QSM-00519: Summary Advisor is not installed. Please execute INITQSMA.SQL.
-
Cause: The current database has has not be created or upgraded to support Summary Advisor. Summary Advisor requires several Java stored procedures.
- QSM-00710: data access error in module string
-
Cause: SQL Access Advisor detected a severe error while accessing the advisor repository.
- QSM-00750: the specified value string for parameter string is invalid or contains an invalid item
-
Cause: The user attempted to set a task parameter using invalid data.
- QSM-00751: the file string could not be opened for write access
-
Cause: Access Advisor could not create the script or report due to a file system error.
- QSM-00752: the parameter string contains an invalid combination of options string
-
Cause: The user specified correct option keywords, but entered a combination that is not supported within Access Advisor.
- QSM-00753: the specified value string is out of the acceptable range of string to string for parameter string
-
Cause: The user attempted to set a task parameter using invalid data.
- QSM-00754: task string does not reference a valid workload and therefore cannot be executed
-
Cause: The user attempted to execute a advisor task that requires a workload.
- QSM-00755: a set of workload statements already exists for workload string
-
Cause: The user attempted to save workload data into an existing workload that already contains data without specifying APPEND or REPLACE.
- QSM-00756: the specified workload string is being used by one or more advisor tasks
-
Cause: The user attempted to modify or delete a workload that is currently being used by another task.
- QSM-00757: the specified workload string is not referenced by task string
-
Cause: The user attempted to delete invalid workload reference from the task.
- QSM-00758: the specified parameter string is not valid for workload string
-
Cause: The user attempted to access a workload parameter that is does not exist for the specified workload. The parameter may be misspelled or the user selected a parameter that is not supported by the particular advisor.
- QSM-00759: the user string does not exist for the specified workload statement
-
Cause: The user attempted to add a new SQL statement with an invalid username.
- QSM-00760: the import mode string is invalid for the current operation
-
Cause: The user attempted to store data in the repository with an invalid import mode.
- QSM-00761: the priority string is invalid for the current operation
-
Cause: The user attempted to store data in the repository with an invalid priority.
- QSM-00762: the specified Summary Advisor workload string does not exist
-
Cause: The user attempted to import an advisor workload from an invalid or non-existent Summary Advisor workload.
- QSM-00763: the owner string was not found while validating user-defined workload string.string
-
Cause: The user attempted to import an advisor workload from a user who may not access to the table.
- QSM-00764: the column string was not found in the user-defined workload table string.string
-
Cause: The user attempted to import an advisor workload from a user table that does not contain the required column.
- QSM-00765: cannot validate user-defined workload because table string.string is invalid.
-
Cause: The user attempted to import an advisor workload from a table that is not accessible.
- QSM-00766: a SQL statement is required for the current workload operation
-
Cause: The user attempted to create an entry in a workload collection without specifying a SQL statement.
- QSM-00767: a SQL cache is not available to user string
-
Cause: The user attempted to collect a workload from the SQL without having authorization.
- QSM-00768: the search condition is invalid for the requested operation
-
Cause: The user provided a invalid SEARCH argument to an Access Advisor workload operation. A search condition must be a valid SQL search condition using only the column names specified in the procedure documentation.
- QSM-00769: the SQL statement string was not found for workload string
-
Cause: The user attempted to access a SQL statement that does not exist in the workload.
- QSM-00770: the specified workload string is already referenced by task string
-
Cause: The user attempted to add a workload reference to a task when the task already contains the reference.
- QSM-00771: the specified SQL statement cannot be stored in the workload because it has no valid table references
-
Cause: The user attempted to add a workload statement that contains table references that are either system-specified or user-specified invalid tables.
- QSM-00772: the specified SQL statement cannot be stored in the workload due to a statement error
-
Cause: The user attempted to add a workload statement that contains invalid SQL syntax or an invalid column reference.
- QSM-00773: the parameter string contains the invalid string name string
-
Cause: The task or workload parameter contains a name that is either too long or does not exist in the database.
- QSM-00774: there are no SQL statements to process for task string
-
Cause: While executing, the specified task found no valid SQL statements to analyze. Possible causes are: an empty workload, table filtering, or username filtering.
- QSM-00775: the specified SQL statement cannot be stored in the workload due to invalid table references
-
Cause: The user attempted to add a workload statement that contains one or more invalid identifier for the parsing user.
- QSM-00776: the user-defined workload string is missing the following column: string
-
Cause: The user attempted to import a workload from an external table; however, the table does not contain all of the required columns.
- QSM-00777: the specified directive string is unsupported at this time
-
Cause: The user attempted to create a directive that is not currently supported.
- QSM-00778: the specified output filename string is invalid or cannot be accessed
-
Cause: The user attempted to create a report or script in a file that cannot be written or created.
- QSM-00779: the specified directive conflicts with the existing directive string
-
Cause: The user attempted to add a directive that cannot operate with an existing directive.
- QSM-00780: the task string could not be executed because the workload string is being modified
-
Cause: While attempting to execute a task, Access Advisor checks for exclusive access to all of the referenced workloads. If any cannot be reserved, then the execution fails.
- QSM-00781: the specified value string is invalid for parameter string. Valid keywords are string
-
Cause: The user attempted to set a task parameter using invalid data.
- QSM-00782: the specified value string is an invalid date format for parameter string
-
Cause: The user attempted to set a task parameter using invalid date formatting directives.
- QSM-00783: the specified value string contains an invalid date for parameter string
-
Cause: The user attempted to set a task parameter using invalid date formatting.
- QSM-00784: the string string referenced in the list string is invalid for parameter string
-
Cause: The user attempted to set a task parameter using an invalid username or table specification.
- QSM-00785: the directive string is not supported for task string at this time
-
Cause: The user attempted to add an invalid directive to the current task.
- QSM-00786: the name string is invalid for directive string
-
Cause: The user attempted to add a directive that contains an empty or invalid object name.
- QSM-00787: the tablespace string is invalid for directive string
-
Cause: The user attempted to add a directive that contains an empty or invalid tablespace name.
- QSM-00788: The requested recommendation does not support direct implementation
-
Cause: The user attempted to use the DBMS_ADVISOR.IMPLEMENT_TASK procedure to implement a SQL Access Advisor recommendation that cannot be implemented due to its complexity.
- QSM-00789: The requested recommendation requires user editing and cannot be implemented
-
Cause: The user attempted to use the DBMS_ADVISOR.IMPLEMENT_TASK procedure to implement a SQL Access Advisor recommendation that cannot be implemented because it requires additional scripting information from the user.
- QSM-00790: the workload string cannot be modified or changed because it is being used by task string
-
Cause: The user attempted to change or delete a workload that is referenced by an active task.
- QSM-00791: the specified SQL statement cannot be stored in the workload because is contains unsupported statement type
-
Cause: The user attempted to add a workload statement that contains an invalid statement type. Supported statement types are INSERT, DELETE, UPDATE, SELECT and MERGE.
- QSM-00792: the specified SQL statement cannot be stored in the workload because one or more tables have missing statistics
-
Cause: The user attempted to add a workload statement that contains a table without statistics. Access Advisor requires all referenced tables to have valid statistics.
- QSM-00793: the specified SQL Tuning Set string does not exist
-
Cause: The user specified a SQL Tuning Set that has not been defined in the SQL Tuning Set repository.
- QSM-00794: the statement can not be stored due to a violation of the string filter
-
Cause: The user attempted to manually add a workload statement that failed a filter test. Manual statements must meet the same filtering guidelines as imported statements.
- QSM-00795: the SQL Tuning Set repository has not been implemented
-
Cause: The user attempted to collect a workload from a SQL Tuning Set repository that has not yet been implemented or enabled.
- QSM-00796: the specified SQL statement cannot be stored in the workload because table string does not have valid statistics
-
Cause: The user attempted to add a workload statement that references a table with missing statistics.
- QSM-00797: the specified workload string does not exist for the current user
-
Cause: The user attempted to reference an Access Advisor workload using a name that does not exist in the Advisor repository.
- QSM-00798: the specified workload string already exists
-
Cause: The user attempted to create the specified workload using a name that already exists in the Advisor repository. Task names must be unique to the database user.
- QSM-00799: the user-defined workload table string cannot be found
-
Cause: The user has attempted to import a workload from an external table that does not exist or cannot be accessed.
- QSM-00800: the specified workload name string is invalid
-
Cause: The user has specified an invalid workload name.
- QSM-00801: the specified username string is invalid
-
Cause: The user has specified an invalid username.
- QSM-00802: An error occurred while implementing action string (string)\nstring.
-
Cause: While performing IMPLEMENT_TASK, a specific action operation failed.
- QSM-00803: The STORAGE_CHANGE parameter value string cannot be zero or negative for partial workloads.
-
Cause: While performing EXECUTE_TASK, the user specified a STORAGE_CHANGE value that is incompatible with the type of workload data.
- QSM-00804: not enough space for mandatory access structures
-
Cause: While performing EXECUTE_TASK, the user specified a STORAGE_CHANGE value that leaves no space for mandatory access structures, such as primary key indexes.
- QSM-00805: the specified recommendation string value string is invalid
-
Cause: The user has specified an invalid value when attempting to change a recommendation attribute.
- QSM-00806: the string parameter value must be specified when STORAGE_MODE is set to TOTAL
-
Cause: While performing EXECUTE_TASK, the user specified a STORAGE_MODE of TOTAL, but failed to set the DEF_MVIEW_OWNER and DEF_INDEX_OWNER to valid owner names.
- QSM-00807: the ANALYSIS_SCOPE parameter value contains an incomplete or invalid combination of options.
-
Cause: Though the ANALYSIS_SCOPE parameter supports several options, some combination are not supported.
- QSM-00808: parameter string only permits a single keyword. Choose one of the following: string
-
Cause: The user attempted to set a task parameter using multiple keywords.
- QSM-00809: the selected number of recommendations exceeds the maximum value of string
-
Cause: While executing GET_TASK_SCRIPT, an attempt was made to fetch a script having too many recommendations. The limit has been set in order to avoid possible performance and out-of-memory errors.
- QSM-00999: Advisor feature is not currently implemented
-
Cause: The user attempted to execute an unsupported advisor operation.
- QSM-01001: query rewrite not enabled
-
Cause: When query rewrite is disabled, no query rewrite will take place.
- QSM-01002: no query rewrite when OPTIMIZER_MODE is rule based
-
Cause: Query rewrite did not occur because the OPTIMIZER_MODE was set to RULE.
- QSM-01003: no query rewrite on DDL queries
-
Cause: If query contains any data definition operations, no query rewrite will take place.
- QSM-01004: no query rewrite before view merging
-
Cause: Internal session parameter _QUERY_REWRITE_2 is set to FALSE
- QSM-01005: no query rewrite when query has slave SQL
-
Cause: Current prcess is a kxfx slave
- QSM-01006: query rewrite disabled for this query block
-
Cause: During query rewrite, certain view query blocks cannot be rewritten.
- QSM-01007: query has NOREWRITE hint
-
Cause: When query contains a NOREWRITE hint, no query rewrite will take place for that query block.
- QSM-01008: no query rewrite for update queries
-
Cause: If a query or part of it has any DML update operations, no query rewrite will take place.
- QSM-01009: query rewritten with materialized view, string, using text match algorithm
-
Cause: The query was rewritten using a materialized view, because query text matched the definition of the materialized view
- QSM-01010: table(s) in the query not found in materialized view, string
-
Cause: If the materialized view does not reference the base tables found in the query, it cannot be used for rewrite
- QSM-01011: when heuristic rewrite not set, rewrite hint required
-
Cause: When using a stored outline, a rewrite hint is required for query rewrite
- QSM-01012: SAMPLE clause present in FROM
-
Cause: If a query contains a SAMPLE clause, query rewrite will not take place
- QSM-01013: nested aggregates or CONNECT BY/START WITH clause present
-
Cause: If the query contains nested aggregates, CONNECT BY clause, or START WITH clause, query rewrite will not take place
- QSM-01014: top level operator in WHERE clause of the query is an OR
-
Cause: If the top-level operator in the WHERE clause is an OR and there is more than one table in the FROM list, then query rewrite will not take place.
- QSM-01015: GROUP BY clause has non-columns
-
Cause: No query rewrite, if there is no valid column in the GROUP BY clause.
- QSM-01016: Query rewrite does not support aggregate, string.
-
Cause: No query rewrite, if the query contained any DISTINCT aggregates other than COUNT, MIN, MAX or ANY_VALUE.
- QSM-01017: aggregate argument cannot be converted to canonical form
-
Cause: Argument of each aggregrate in the query needs to be convertible into a canonical form for query rewrite.
- QSM-01018: single table materialized join view rewrite not required
-
Cause: Materialized join view is more expensive for rewrite than using the base table
- QSM-01019: no suitable materialized view found to rewrite this query
-
Cause: There doesn't exist any materialized view in the dataware house that can be used to rewrite this query.
- QSM-01020: materialized view, string, is ineligible
-
Cause: Materialized view is probably disabled or stale.
- QSM-01021: materialized view, string, not found in the hint list
-
Cause: There is a rewrite hint list specified in the query, but this materialized view is not among the hinted ones.
- QSM-01022: a more optimal materialized view than string was used to rewrite
-
Cause: Query Rewrite always chooses the most optimal materialized view based on certain parameters, such as cardinality of the materialized view, number of joins etc. The materialized view specified was found to be less optimal.
- QSM-01023: materialized view, string, has GRANT errors
-
Cause: Materialized view probably has some metadata errors.
- QSM-01024: materialized view, string, has unknown compile errors
-
Cause: Materialized view probably has some metadata errors.
- QSM-01025: materialized view, string, not found
-
Cause: The specified materialized view is not found in the database.
- QSM-01026: query rewrite is disabled for, string
-
Cause: Query rewrite could not use this materialized view, because query rewrite was not enabled for it.
- QSM-01027: materialized view, string, is unusable
-
Cause: Materialized view probably has some metadata errors.
- QSM-01028: materialized view, string, is currently being refreshed
-
Cause: Materialized view cannot be used for query rewrite while it is being refreshed
- QSM-01029: materialized view, string, is stale in ENFORCED integrity mode
-
Cause: A stale materialized view cannot be used for query rewrite when the query rewrite integrity mode is set to ENFORCED.
- QSM-01030: materialized view, string, has PL/SQL functions in ENFORCED integrity mode
-
Cause: A materialized view with PL/SQL functions in its definition cannot be used for query rewrite when query rewrite integrity is set to ENFORCED.
- QSM-01031: materialized view, string, is stale in TRUSTED integrity mode
-
Cause: A stale materialized view cannot be used for query rewrite when the query rewrite integrity mode is set to TRUSTED.
- QSM-01032: materialized view, string, not found
-
Cause: There was no associated metadata for the materialized view.
- QSM-01033: query rewritten with materialized view, string
-
Cause: The specified materialized view was used to rewrite the given query.
- QSM-01034: materialized view, string, needs a dimension level to join table, string
-
Cause: One or more hierarchical relationship(s) in the table(s) could not be established.
- QSM-01035: a row level security policy exists on this table
-
Cause: Any row level security policy that may exist on a base-table prevents exact text match query rewrite.
- QSM-01036: unmatched column, string, present in query after view merging
-
Cause: Clearing the columns after view merging failed due to some reasons - bug??
- QSM-01037: Query Rewrite failed to allocate the necessary query join graph
-
Cause: Join graph allocation and initialization failed, possibly due to one or more undetermined operand(s) in the query expression.
- QSM-01038: logical operator(s) could not be processed
-
Cause: One or more logical operator(s) in the query predicates could not be processed, possibly due to invalid operator(s).
- QSM-01039: selection present on right hand side of an outer join
-
Cause: Query cannot be rewritten if any predicate contains a selection on the right hand side of an outer join.
- QSM-01040: match between the materialized view (string) and query join graphs failed
-
Cause: Query rewrite will not take place if the joins in the query and the materialized view do not have any match.
- QSM-01041: materialized view, string, does not match with a measure in the query
-
Cause: If a measure (such as SUM, AVERAGE) in the query cannot be matched or computed from the materialized view, it will not be used for rewrite.
- QSM-01042: anchor and matching join arc check failed for string
-
Cause: If there is a lossy join in the materialized view that doesn't exist in the query, query rewrite will not take place.
- QSM-01043: join back attempted on a table to the RHS of a semi or anti join for string
-
Cause: Query Rewrite will not occur if a join back is required to a table that appears to the right hand side of a semi or anti-join.
- QSM-01044: join back attempted on a view for string
-
Cause: Query Rewrite will not occur if a join back to a table is required to find any missing columns.
- QSM-01046: complex join back on correlated columns not allowed (string)
-
Cause: Query Rewrite will not occur if a join back is required on a column that is referenced by a sub-query.
- QSM-01047: complex join back on non-MAV rewrite not allowed (string)
-
Cause: Query Rewrite can occur by means of a complex join back only during a MAV rewrite.
- QSM-01048: join back level(s) not present (string)
-
Cause: Query Rewrite requires joining back to a level of a dimension to find a missing information.
- QSM-01049: semi-join check failed for materialized view, string
-
Cause: If there is a semi join in the query, then Query Rewrite will create (select distinct pk-list, ref-col from mjv) where pk-list is the list of rowids/pk of all mjv tables that don't correspond to a right side of a semi-join and ref-col are their columns. Query Rewrite will not occur if a join from the materialized view cannot match the semi-join from the query.
- QSM-01050: roll-up check failed for materialized view, string
-
Cause: A column in the query cannot be computed from the materialized view.
- QSM-01051: no support for rollup when a window function is present on the column
-
Cause: No query rewrite if a window function is present on a column that requires a roll-up to compute a measure.
- QSM-01052: referential integrity constraint on table, string, not VALID in ENFORCED integrity mode
-
Cause: A join present in the materialized view requires validated primary/foreign key constraints in ENFORCED query rewrite integrity mode.
- QSM-01053: NORELY referential integrity constraint on table, string, in TRUSTED/STALE TOLERATED integrity mode
-
Cause: A join present in the materialized view requires RELY mode to be set on the primary/foreign key constraints.
- QSM-01054: no join match between query and summary, string
-
Cause: There are no common joins between the query and the the materialized view
- QSM-01055: Query Rewrite failed to allocate the necessary materialized view join graph
-
Cause: Join graph allocation and initialization failed, possibly due to one or more undetermined operand(s).
- QSM-01056: no query rewrite for this DDL expression
-
Cause: Some SELECT statements which are part of a DDL expression may be eligible for rewrite. These include CREATE AS SELECT and CREATE OUTLINE statements. The given query expression is a DDL expression, which doesn't fall in this category.
- QSM-01057: no query rewrite for this DML expression
-
Cause: Current DML is being done using an updatable view, so it is not eligible for rewrite.
- QSM-01058: MV, string, does not have column, string, for a joinback
-
Cause: A GROUP BY column in the query is not present in the GROUP BY clause of of the materialized view. This usually requires a join back to a third table.
- QSM-01059: HAVING clause in the query block is malformed
-
Cause: An illegal HAVING clause has been specified in the query.
- QSM-01060: illegal subquery in the HAVING clause
-
Cause: When a HAVING clause has a subquery, then any references to the tables in the outer query should only reference the tables in the GROUP BY clause.
- QSM-01061: illegal query expression
-
Cause: An illegal query was specified. Specifically one of the following criteria was not satisfied: (a) All (non-constant, non-aggregate) SELECT expressions in the query should be made up of group expressions. (b) All column references in the HAVING clause should come from the GROUP BY expressions. (c) If there is an ORDER BY clause, then all column references should come from the GROUP BY or SELECT clause, depending on whether the query selects DISTINCT.
- QSM-01062: query has one or more manual partition(s)
-
Cause: Query rewrite is not possible if query has any manual partitions.
- QSM-01063: query has a dictionary table or view
-
Cause: Query rewrite is not allowed if query references any dictionary tables/views.
- QSM-01064: query has a fixed table or view
-
Cause: Query rewrite is not allowed if query references any fixed tables/views
- QSM-01065: materialized view, string, cannot compute measure, string, in the query
-
Cause: If the materialized view cannot compute a measure in the query using the measures in its definition, then query rewrite will not occur.
- QSM-01066: materialized view, string, does not have the column, string, from query
-
Cause: Query rewrite will not occur, if the materialized view cannot provide all the columns that the query has
- QSM-01067: materialized view, string, cannot support the query measure, string
-
Cause: An attempt was made to push a grouping function through an expression specified in the query to transform a measure. Query rewrite will not occur if this measure transformation failed.
- QSM-01068: no dimensions present
-
Cause: An attempt was made to load a dimension from the dataware house, but there were no dimensions present.
- QSM-01069: summary join graph for, string, does not have table, string
-
Cause: An attempt to locate an object that is part of a join failed.
- QSM-01070: equivalence class manager was not found
-
Cause: An equivalence class manager is required to compute the transitive closure for the columns in an equivalence class.
- QSM-01071: query rewrite not possible because a join in materialized view % with table % has eliminated some rows found in query
-
Cause: All lossy joins in the materialized view must be present in the query for query rewrite to occur.
- QSM-01072: materialized view, string, and query have different joins between tables, string
-
Cause: Anchors, if any, in the MV and query match. But the joins between these anchors in the MV and query are different.
- QSM-01073: query rewrite not possible because materialized view, string, has a join not found in query
-
Cause: Query rewrite may not be possible if the materialized view has some joins that query does not have
- QSM-01074: query rewrite not possible because materialized view, string, and query have different number of joins between tables, string
-
Cause: Query rewrite may not be possible if the query has some joins that the materialized view does not have between the same pair of tables.
- QSM-01075: materialized view, string, does not support aggregate function, string
-
Cause: The specified aggregate function is not found in the materialized view.
- QSM-01076: no materialized join view was found
-
Cause: To support an MJV rewrite, we require a materialized join view.
- QSM-01077: materialized view, string, is grouping at a higher level than query
-
Cause: If a query column, which is not present in the materialized view, can be obtained by a rollup within the materialized view, then it should group at a higher level than the materialized view.
- QSM-01078: materialized view, string, is marked invalid
-
Cause: The materialized view's kglobsta field has KGLSINV bit set.
- QSM-01079: DML operation occurred on a table referenced by MV, string
-
Cause: If any dependent tables of a materialized view undergoes a DML operation, query rewrite may be restricted depending on the query rewrite integrity mode for the session. In this situation, query rewrite will take place only if the rewrite integrity mode is STALE_TOLERATED.
- QSM-01080: invalid dimension, string
-
Cause: This dimension table has authorization or compilation problems.
- QSM-01081: no primary key or row id found for table, string, in MV, string
-
Cause: In order to obtain a missing column, the materialized view needs to join back to the above table. But it lacks the primary key or rowid for the table.
- QSM-01082: Joining materialized view, string, with table, string, not possible
-
Cause: A column in the query is not found in the summary. To obtain the column, a join back of materialized view to the table by means of either the primary key, foreign key or rowid of the table is required. The specified materialized view does not have the primary key, foreign key or rowid of the table to perform the join operation.
- QSM-01083: query text not available - possible inline view
-
Cause: During the query rewrite transformation, orignal query was possibly transformed into an inline view.
- QSM-01084: materialized view string has an anchor table string not found in query
-
Cause: A table in a materialized view is an anchor, (a) if it is not joined to any other table or (b) joined to other tables but each of its joins is either lossy or lossless with the above table being child-side table. If an anchor which is present in the materialized view is not found in the query, then query rewrite will not take place.
- QSM-01085: materialized view, string, has a lossy join between tables, string
-
Cause: There are no primary key, foreign key constraints between these tables. But query rewrite is still possible if the lossy join between the above tables also appear in the query
- QSM-01086: dimension(s) not present or not used in ENFORCED integrity mode
-
Cause: Query rewrite does not use dimensions in ENFORCED query rewrite integrity mode. If a suitable dimension is present, consider chaning the current integrity mode to either TRUSTED or STALE_ TOLERATED by using ALTER SESSION SET QUERY_REWRITE_INTEGRITY = command.
- QSM-01087: query grouping on a column that cannot be derived from materialized view, string
-
Cause: Query is grouping on undetermined columns.
- QSM-01089: an inline view in the query does not have a materialized view
-
Cause: General query rewrite is not possible if an inline view in the query does not have a matching materialized view in the meta data.
- QSM-01090: no query rewrite after view merging
-
Cause: Internal session parameter _QUERY_REWRITE_1 is set to FALSE
- QSM-01091: cost based optimizer found query rewrite is more expensive
-
Cause: When cost based optimizer is ON, cost of the rewritten cursor is compared to the cursor generated without query rewrite, and the cheaper one is chosen for execution.
- QSM-01092: mjv tries to rewrite a semi-join and primary key or rowid missing
-
Cause: Materialized join view tries to rewrite a semi-join (IN sub-query) and the primary keys or rowids of left tables of semi-joins are missing from MJV.
- QSM-01093: anti-join marker not found in materialized join view
-
Cause: Materialized join view has outer join while the query inner join. For rewrite to succeed MV must have an anti-join marker like the rowid or primary key of the right tables of outer join
- QSM-01094: outer-join filter not found in materialized join view
-
Cause: Materialized join view has outer join while the query inner join. For rewrite to succeed MV must have an anti-join marker like the rowid or primary key of the right tables of outer join
- QSM-01095: no suitable grouping_id found in MV with grouping sets
-
Cause: If materialized aggregate view contains grouping sets, then it also must contain the grouping_id() function. This function must contain all columns in the MV GROUP BY.
- QSM-01096: Materialized view with grouping sets contains duplicates
-
Cause: Materialized view with grouping sets contains duplicates and no rewrite is supported for it. For example, GROUP BY GROUPING SET ((a), (a)) is not supported for rewrite.
- QSM-01097: Materialized view with grouping sets has too long key
-
Cause: Materialized view with grouping sets has more that 64 different keys in its GROUP BY. No rewrite is supported then.
- QSM-01098: mv string clause more restrictive than query string clause
-
Cause: The materialized view contains a selection condition in the WHERE or HAVING clause that is more restrictive than the corresponding selection condition in the request query.
- QSM-01099: non-tolerated reference to stale portion of mv for table string
-
Cause: The materialized view is partially stale. It is stale with respect to one or more partitions in one or more of its detail tables. The request query references one or more such detail partitions.
- QSM-01100: containment check failed for mv, string
-
Cause: The materialized view contains a selection condition in the WHERE or HAVING clause that is more restrictive than the corresponding selection condition in the request query.
- QSM-01101: rollup(s) took place on mv, string
-
Cause: If query's GROUP BY has one of the higher levels of columns found in the materialized view, then the lower level columns in the materialized view will be rolled up to compute the desired results.
- QSM-01102: materialized view, string, requires join back to table, string, on column, string
-
Cause: A column in the query does not appear in the materialized view. Query rewrite will try to obtain this column from the base table, by doing a join back to that column with the MV.
- QSM-01103: there is a remote table, string, referenced in the query
-
Cause: Query rewrite does not support query with remote tables.
- QSM-01104: query is using flashback
-
Cause: Query rewrite does not support flashback.
- QSM-01105: no primary key or row id in MV, string, is found for table, string
-
Cause: In order to obtain a missing column, the materialized view needs to join back to the above table. But it lacks the primary key or rowid for the table.
- QSM-01106: materialized view, string, is stale with respect to some partition(s) in the base table(s)
-
Cause: Query is requesting some data from the MV that are stale with respect to some partitions in the base tables due to some updates.
- QSM-01107: Partition Containment Tracking (PCT) rewrite is not allowed
-
Cause: Query rewrite is disabled for PCT through a session parameter
- QSM-01108: maximum number of disjuncts exceeded in the query string
-
Cause: Query rewrite engine cannot process the query if the number of disjuncts (OR's)in the WHERE clause exceeds the maximum allowed number. The number of disjuncts in the query and the maximum allowed disjuncts are given at the end of the message in the form of (no of disjuncts in query, maximum disjuncts allowed).
- QSM-01109: while rewriting with MV, string, table, string, migrated to query delta
-
Cause: There was an unmatched join on the MV, so a table involved in the join was pushed to the query delta to see if the query can be rewritten
- QSM-01110: query rewrite not possible with materialized view string because it contains a join between tables (string) that is not present in the query and that potentially eliminates rows needed by the query
-
Cause: All lossy joins in the materialized view must be present in the query for query rewrite to occur.
- QSM-01111: no partition key or partition marker found in MV, string
-
Cause: In order to do query rewrite with fresh partitions of an MV, the MV should have a partiton key or partition marker.
- QSM-01112: WHERE clause of mv, string, is more restrictive than query
-
Cause: The materialized view contains a selection condition in the WHERE clause that is more restrictive than the corresponding selection condition in the request query.
- QSM-01113: HAVING clause of mv, string, is more restrictive than query
-
Cause: The materialized view contains a selection condition in the HAVING clause that is more restrictive than the corresponding selection condition in the request query.
- QSM-01115: rollup took place on a column with a window function
-
Cause: There was a rollup to aggregate the data on a column with a window function.
- QSM-01116: window function computability checks failed
-
Cause: The window function in the query could not be computed from the materialized view.
- QSM-01120: recursive rewrite not allowed here
-
Cause: This query was possibly rewritten with an equivalence which doesn't allow further rewrites.
- QSM-01121: materialized view, string, is TRUSTED in ENFORCED integrity mode
-
Cause: A stale materialized view created with USING TRUSTED CONSTRAINTS clause cannot be used when the query rewrite integrity mode is set ENFORCED.
- QSM-01123: self-join algorithm could not resolve multiple instances
-
Cause: The generalized self-join algorithm could not resolve the mutliple instances, likely due to mismatch in joins or measures
- QSM-01124: set operator materialized view, string, doesn't have a marker column
-
Cause: The specified set operator materialized view does not have a marker column.
- QSM-01125: a more optimal set operator materialized view than string was used to rewrite
-
Cause: Query Rewrite always chooses the most optimal set operator materialized view based on parameters, such as cardinality of the set operator materialized view, number of branches that the set operator materialized view can rewrite etc. The set operator materialized view specified was found to be less optimal.
- QSM-01126: query rewritten with set operator materialized view, string
-
Cause: The specified set operator materialized view was used to rewrite the given query.
- QSM-01127: query rewritten with materialized view(s), string
-
Cause: The query was succesfully rewritten with multiple MVs
- QSM-01128: Multi MV rewrite is disabled
-
Cause: When multimv query rewrite is disabled, no multimv query rewrite will take place.
- QSM-01129: query has NO_MULTIMV_REWRITE hint
-
Cause: WHen the query has this hint no multimv rewrite will be tried for this query
- QSM-01130: Multi MV rewrite not allowed if at least one query block has no MVs
-
Cause: When only multimv query rewrite is enabled, every query block should have at least one MV in it's from clause
- QSM-01131: query has ONLY_MULTIMV_REWRITE hint
-
Cause: When the query has this hint no multimv rewrite will be done if the query has a query block with no MVs in the from clause
- QSM-01132: query has a named array type column
-
Cause: When the query has a column of named array type, query rewrite cannot be done
- QSM-01133: query has an ADT column
-
Cause: When the query has a column of ADT type, query rewrite cannot be done
- QSM-01134: query has a hidden or nested table column
-
Cause: When the query has a hidden or nested table column, query rewrite cannot be done
- QSM-01135: query has an LOB column
-
Cause: When the query has a column stored in LOB, query rewrite cannot be done
- QSM-01136: query has a nested table column
-
Cause: When the query has a nested table column, query rewrite cannot be done
- QSM-01137: dimension level, string, marked as SKIP WHEN NULL
-
Cause: Join back is not possible on a level marked as SKIP WHEN NULL in a dimension
- QSM-01138: Query rewrite is not allowed.
-
Cause: Query rewrite was not allowed during materialized view validation.
- QSM-01139: query rewrite with stale materialized view, string, requires join back
-
Cause: Query rewrite was not allowed with a stale materialized view if join back to a base table is required.
- QSM-01150: query did not rewrite
-
Cause: See the other messages from explain_rewrite() for explanation"
- QSM-01168: query rewrite not possible when Fine Grain Auditing is present on a base table
-
Cause: Query rewrite could not take place because Fine Grain Auditing (FGA) was present on a base table in the query
- QSM-01169: query rewrite not possible for a CREATE or ALTER VIEW statement
-
Cause: Query rewrite could not take place because the incoming query was either a CREATE or ALTER VIEW statement
- QSM-01170: no matching objects found between query and materialized view string
-
Cause: Matching objects were not found between the query and the materialized view. Materialized view may contain only editioning views.
- QSM-01202: query rewrite not possible when OPTIMIZER_MODE is set to rule based
-
Cause: Query rewrite did not occur because the OPTIMIZER_MODE was set to RULE.
- QSM-01203: query rewrite not possible on DDL queries
-
Cause: If query contains any data definition operations, no query rewrite will take place.
- QSM-01204: query rewrite not possible before view merging
-
Cause: Internal session parameter _QUERY_REWRITE_2 is set to FALSE
- QSM-01205: query rewrite not possible when query has slave SQL
-
Cause: Current prcess is a kxfx slave
- QSM-01207: query rewrite not possible when query has a NOREWRITE hint
-
Cause: When query contains a NOREWRITE hint, no query rewrite will take place for that query block.
- QSM-01208: query rewrite not possible for update queries
-
Cause: If a query or part of it has any DML update operations, no query rewrite will take place.
- QSM-01209: query rewritten with materialized view, string, using text match algorithm
-
Cause: The query was rewritten using a materialized view, because query text matched the definition of the materialized view
- QSM-01210: query rewrite not possible because no common table(s) found between materialized view string and query
-
Cause: If the materialized view does not reference the base tables found in the query, it cannot be used for rewrite
- QSM-01211: query rewrite not possible when stored outline does not have a rewrite hint
-
Cause: When using a stored outline, a rewrite hint is required for query rewrite
- QSM-01212: query rewrite not possible when SAMPLE clause is present in FROM
-
Cause: If a query contains a SAMPLE clause, query rewrite will not take place
- QSM-01213: query rewrite not possible when nested aggregates or CONNECT BY clause or START WITH clause or recursive WITH clause is present
-
Cause: If the query contains nested aggregates, CONNECT BY clause, or START WITH clause, or recursive with clause, query rewrite will not take place
- QSM-01214: query rewrite not possible if OR is the top level operator in query WHERE clause
-
Cause: If the top-level operator in the WHERE clause is an OR and there is more than one table in the FROM list, then query rewrite will not take place.
- QSM-01215: query rewrite not possible when query GROUP BY clause has non-columns
-
Cause: No query rewrite, if there is no valid column in the GROUP BY clause.
- QSM-01218: query rewrite is likely more expensive due to a single table match between materialized view and query
-
Cause: Materialized join view is more expensive for rewrite than using the base table
- QSM-01219: no suitable materialized view found to rewrite this query
-
Cause: There doesn't exist any materialized view in the database that can be used to rewrite this query.
- QSM-01220: materialized view, string, is disabled, stale or unusable
-
Cause: Materialized view is probably disabled or stale.
- QSM-01222: materialized view string is less optimal than string
-
Cause: Query Rewrite always chooses the most optimal materialized view based on certain parameters, such as cardinality of the materialized view, number of joins etc. The materialized view specified was found to be less optimal.
- QSM-01241: query measure cannot be derived from the materialized view string
-
Cause: If a measure (such as SUM, AVERAGE) in the query cannot be matched or computed from the materialized view, it will not be used for rewrite.
- QSM-01244: join back could not be done on a view for string
-
Cause: Query Rewrite will not occur if a join back to a table is required to find any missing columns.
- QSM-01246: join back on correlated columns not allowed (string)
-
Cause: Query Rewrite will not occur if a join back is required on a column that is referenced by a sub-query.
- QSM-01247: join back cannot be done on a materialized view that does not have an aggregate (string)
-
Cause: Query Rewrite can occur by means of a complex join back only during a MAV rewrite.
- QSM-01248: materialized view does not have the join back level(s) (string)
-
Cause: Query Rewrite requires joining back to level of a dimension to find missing information.
- QSM-01251: query rewrite cannot perform rollup due to the presence of a window function
-
Cause: No query rewrite if a window function is present on a column that requires a roll-up to compute a measure.
- QSM-01256: query rewrite not possible for this DDL statement
-
Cause: Some SELECT statements which are part of a DDL expression may be eligible for rewrite. These include CREATE AS SELECT and CREATE OUTLINE statements. The given query expression is a DDL expression, which doesn't fall in this category.
- QSM-01257: query rewrite not possible for this DML statement
-
Cause: Current DML is being done using an updatable view, so it is not eligible for rewrite.
- QSM-01263: query rewrite not possible when query references a dictionary table or view
-
Cause: Query rewrite is not allowed if query references any dictionary tables/views.
- QSM-01271: query rewrite not possible because a join in materialized view string with table string has eliminated some rows found in query
-
Cause: A join from the materialized view to any table that eliminates some rows should be be present in the query. Otherwise query rewrite will not occur.
- QSM-01273: query rewrite not possible because materialized view string has a join not found in query
-
Cause: Query rewrite may not be possible if the materialized view has some joins that query does not have
- QSM-01274: query rewrite not possible because materialized view string and query have different number of joins between tables string
-
Cause: Query rewrite may not be possible if the query has some joins that the materialized view does not have between the same pair of tables.
- QSM-01279: query rewrite not possible because DML operation occurred on a table referenced by materialized view string
-
Cause: If any dependent tables of a materialized view undergoes a DML operation, query rewrite may be restricted depending on the query rewrite integrity mode for the session. In this situation, query rewrite will take place only if the rewrite integrity mode is STALE_TOLERATED.
- QSM-01281: query rewrite not possible because either a primary key or a row id is required to join table string with MV string
-
Cause: In order to obtain a missing column, the materialized view needs to join back to the above table. But it lacks the primary key or rowid for the table.
- QSM-01284: materialized view string has an anchor table string not found in query
-
Cause: A table in a materialized view is an anchor, (a) if it is not joined to any other table or (b) joined to other tables but each of its joins is not guaranteed to provide all the rows or joined with the above table being child-side table. If an anchor which is present in the materialized view is not found in the query, then query rewrite will not take place.
- QSM-01293: anti-join marker not found in materialized view with joins
-
Cause: Materialized view has outer join while the query has inner join. For rewrite to succeed MV must have an anti-join marker like the rowid or primary key of the right tables of outer join
- QSM-01295: no suitable grouping_id found in materialized view with grouping sets
-
Cause: If materialized view contains grouping sets, then it also must contain the grouping_id() function. This function must contain all columns in the MV GROUP BY.
- QSM-01296: query rewrite not possible because materialized view contains duplicate grouping sets
-
Cause: Materialized view with grouping sets contains duplicates and no rewrite is supported for it. For example, GROUP BY GROUPING SET ((a), (a)) is not supported for rewrite.
- QSM-01297: query rewrite not possible because materialized view with grouping sets has more than 176 different keys
-
Cause: Materialized view with grouping sets has more that 176 different keys in its GROUP BY. No rewrite is supported then.
- QSM-01298: materialized view string clause more restrictive than query string clause
-
Cause: The materialized view contains a selection condition in the WHERE or HAVING clause that is more restrictive than the corresponding selection condition in the request query.
- QSM-01299: query rewrite not possible because materialized view string is partially stale
-
Cause: The materialized view is partially stale. It is stale with respect to one or more partitions in one or more of its detail tables. The request query references one or more such detail partitions.
- QSM-01303: query rewrite not possible because query references a remote table string
-
Cause: Query rewrite does not support query with remote tables.
- QSM-01304: query rewrite not possible because query is using flashback
-
Cause: Query rewrite does not support flashback.
- QSM-01307: Partition Containment Tracking (PCT) rewrite is not allowed
-
Cause: Query rewrite is disabled for PCT through a session parameter
- QSM-01308: number of 'OR's in query exceeded the maximum value string
-
Cause: Query rewrite engine cannot process the query if the number of disjuncts (OR's)in the WHERE clause exceeds the maximum allowed number. The number of disjuncts in the query and the maximum allowed disjuncts are given at the end of the message in the form of (no of disjuncts in query, maximum disjuncts allowed).
- QSM-01316: window function could not be computed from materialized view string
-
Cause: The window function in the query could not be computed from the materialized view.
- QSM-01321: query rewrite not possible because materialized view string has TRUSTED constraints in ENFORCED integrity mode
-
Cause: A stale materialized view created with USING TRUSTED CONSTRAINTS clause cannot be used when the query rewrite integrity mode is set ENFORCED.
- QSM-01332: query rewrite not possible because query has a named array type column
-
Cause: When the query has a column of named array type, query rewrite cannot be done
- QSM-01333: query rewrite not possible because query has an ADT column
-
Cause: When the query has a column of ADT type, query rewrite cannot be done
- QSM-01334: query rewrite not possible because query has a hidden or nested table column
-
Cause: When the query has a hidden or nested table column, query rewrite cannot be done
- QSM-01335: query rewrite not possible because query has an LOB column
-
Cause: When the query has a column stored in LOB, query rewrite cannot be done
- QSM-01336: the materialized view you specified (string) was not used to rewrite the query
-
Cause: A materialized view specified by the user in the input was not used to rewrite the query, either because query rewrite failed or another more optimal materialized view was used to rewrite.
- QSM-01339: rewrite not supported on inline view aggregate
-
Cause: Query has an inline view with an aggregate. Such inline views cannot be matched to any inline views in materialized views.
- QSM-01340: no inline view match found between query and materialized view(s)
-
Cause: Query's inline view does not have a match with any inline views in the materialized view
- QSM-01341: joins between materialized view string and query inline views are different
-
Cause: There is a mismatch between the joins in the query and materialized view inline views
- QSM-01342: query rewrite not possible because query has full outer join
-
Cause: When query block has a table involved in full outer join, query rewrite cannot be done
- QSM-01343: general inline view rewrite not possible on remote objects
-
Cause: The general inline view rewrite could not take place because the query had remote objects
- QSM-01344: general inline view rewrite not possible on this WHERE clause construct
-
Cause: The general inline view rewrite was not supported with this WHERE clause construct
- QSM-01345: general inline view rewrite not possible when inline view has subquery
-
Cause: The general inline view rewrite could not take place because there were subqueries
- QSM-01346: general inline view rewrite not possible with nested inline views
-
Cause: General inline view rewrite cannot take place with nested inline views
- QSM-01347: a query inline view could not be matched with any materialized view inline view
-
Cause: No materialized view inline views were found to match with a query inline view
- QSM-01348: an invalid predicate was found in an inline view
-
Cause: An inline view in the query contained an invalid WHERE clause predicate
- QSM-01349: general inline view cannot be supported on this inline view
-
Cause: Certain inline views are unsupported in general inline view rewrite
- QSM-01350: query rewrite cannot support this inline view
-
Cause: Certain inline views are unsupported in general inline view rewrite
- QSM-01351: query inline view has no matching objects with any materialized view inline views
-
Cause: There were no matching objects between the query inline view and materialized view inline views
- QSM-01352: SELECT lists of the query and materialized view inline views do not match
-
Cause: Query inline view's and materialized view inline view's SELECT list items did not match.
- QSM-01353: no query rewrite on remote objects unless integrity mode is set to stale_tolerated
-
Cause: Query rewrite's integrity mode should be set to stale_tolerated for query rewrite to occur on queries with remote objects
- QSM-01354: query rewrite is disabled for remote objects
-
Cause: Query rewrite was disabled internally for queries referencing remote objects.
- QSM-01355: multi-mv rewrite not possible in the presence of remote objects
-
Cause: Multi-MV rewrite not possible for queries referencing remote objects.
- QSM-01356: query rewrite against cube-organized materialized views not possible when OLAP option is off
-
Cause: Query rewrite against cube-organized materialized views was not possible because the OLAP option was off.
- QSM-01357: query rewritten with a stale materialized view, string, by on query computation
-
Cause: Query is rewritten with a stale materialized view by doing on-query computation
- QSM-01509: equivalence, string, matched query text
-
Cause: The query was rewritten using an equivalence, because query text matched the source statement for this equivalence.
- QSM-01522: a more optimal equivlanece than string was used to rewrite
-
Cause: Query Rewrite always chooses the most optimal equivalence based on certain parameters, such as cardinality of the equivalence, number of joins etc. The equivalence view specified was found to be less optimal.
- QSM-01526: query rewrite is disabled for equivalence, string
-
Cause: Query rewrite could not use this equivalence, because this equivalence was created as disabled.
- QSM-01533: query rewritten with equivalence, string
-
Cause: The specified equivalence was used to rewrite the given query.
- QSM-01565: equivalence, string, cannot compute measure, string, in the query
-
Cause: If a measure in the query cannot be computed using the measures in the equivalence, then query rewrite will not occur.
- QSM-01567: equivalence, string, cannot support the query measure, string
-
Cause: An attempt was made to push a grouping function through an expression specified in the query to transform a measure. Query rewrite will not occur if this measure transformation failed.
- QSM-01572: equivalence, string, and query have different joins between tables, string
-
Cause: Anchors, if any, in the equivalenceand query match. But the joins between these anchors in the equivalence and query are different.
- QSM-01582: Joining equivalence, string, with table, string, not possible
-
Cause: A column in the query is not found in the equivalence. To obtain the column, a join back of equivalence to the table by means of either the primary key, foreign key or rowid of the table is required. But join backs are not allowed for equivalence rewrite
- QSM-01584: equivalence, string, has anchor, string, not found in query
-
Cause: If an anchor which is present in the equivalence is not found in the query, then query rewrite will not take place.
- QSM-01601: rollup(s) took place on equivalence, string
-
Cause: If query's GROUP BY has one of the higher levels of columns found in the equivalence, then the lower level columns in the equivalence will be rolled up to compute the desired results.
- QSM-01602: equivalence, string, requires join back to table, string, on column, string
-
Cause: A column in the query does not appear in the equivalence. Query rewrite will try to obtain this column from the base table, by doing a join back to that column with a materialized view. But join backs are not allowed for equivalence rewrite as the required constraints are not guaranteed to be found on the tables in the destination statement of the equivalence.
- QSM-01610: a lossy join in equivalence, string, between tables, string, not found in query
-
Cause: All lossy joins in the equivalence must be present in the query for query rewrite to occur.
- QSM-01617: equivalence definition is disabled
-
Cause: There is an equivalence defition that could have been probably used by query rewrite to rewrite the query. But this equivalence is disabled.
- QSM-01618: equivalence, string, is enabled for text match rewrite only
-
Cause: This equivalence was created for text match rewrite only
- QSM-01619: equivalence cannot be used in ENFORCED integrity mode
-
Cause: An equivalence cannot be used for query rewrite when the query rewrite integrity mode is set to ENFORCED.
- QSM-01621: join backs to base tables not allowed with an equivalence
-
Cause: Query rewrite needs to do a join back to a base table column to answer this query. But join back is not allowed for an equivalence rewrite
- QSM-01709: query rewritten with equivalence, string, using text match algorithm
-
Cause: The query was rewritten using an equivalence because query text matched the definition of the equivalence
- QSM-01784: equivalence string has an anchor table string not found in query
-
Cause: A table in an equivalence is an anchor, if (a) it is not joined to any other table or (b) it is joined to other tables but each of its joins is not guaranteed to provide all the rows or joined with the above table being child-side table. If an anchor which is present in the equivalence is not found in the query, then query rewrite will not take place.
- QSM-01837: recursive query rewrite on equivalence, string, not permitted
-
Cause: The source and destination statements of this equivalence MV are possibly identical. A recursive rewrite on this equivalence can lead to an infinite loop and thus not permitted.
- QSM-01838: semijoin transformation not supported on equivalence
-
Cause: There was a semijoin transformation attempted on an equivalence rewrite. Currently this is not allowed
- QSM-02001: clustered mv container table
-
Cause: The capability in question is not supported on a materialized view that has a clustered container table.
- QSM-02002: DISTINCT aggregate measure in SELECT list
-
Cause: The capability in question is not supported when the materialized view uses the DISTINCT qualifier on an aggregate function.
- QSM-02003: aggregate function nested within an expression
-
Cause: The capability in question is not supported when the materialized view contains an aggregate function invocation nested within an outer expression.
- QSM-02004: grouping column omitted from SELECT list
-
Cause: The capability in question is not supported when the materialized view contains a column or expression in the GROUP BY clause that is not also present in the list of output select expressions.
- QSM-02005: named view in FROM list
-
Cause: The capability in question is not supported when a named view appears in the FROM list.
- QSM-02006: subquery in FROM list
-
Cause: The capability in question is not supported when a subquery appears in the FROM list.
- QSM-02007: multiple instances of the same table or view
-
Cause: The capability in question is not supported when the same table or view occurs more than once in the FROM list.
- QSM-02008: non-join filter condition in WHERE or HAVING clause
-
Cause: The capability in question is not supported when the materialized view has a selection condition (an expression not representing a join) in the WHERE or HAVING clauses.
- QSM-02009: non-inner join
-
Cause: The capability in question is only supported with inner joins.
- QSM-02010: join predicate with operator other than equals (=)
-
Cause: The capability in question is not supported when the materialized uses a relationship operator other than equals ("=") in a join in the WHERE clause. This is known as a non-equijoin.
- QSM-02011: a HAVING clause is present
-
Cause: The capability in question is not supported when the materialized view uses a HAVING clause.
- QSM-02012: a CONNECT BY clause is present
-
Cause: The capability in question is not supported when the materialized view uses a CONNECT BY clause.
- QSM-02013: SELECT list includes a RAW data type expression
-
Cause: The capability in question is not supported when the materialized view uses RAW data type in an expression.
- QSM-02014: GROUP BY expression other than a column
-
Cause: The capability in question is not supported when the materialized view uses an expression other than a simple column reference in the GROUP BY clause.
- QSM-02015: Index Organized Table (IOT) present in FROM list
-
Cause: The capability in question is not supported when the materialized view references an Index Organized Table in the FROM list.
- QSM-02016: clustered table in FROM list
-
Cause: The capability in question is not supported when the materialized view references a clustered table in the FROM list.
- QSM-02017: subquery present in the HAVING clause
-
Cause: The capability in question is not supported when the materialized view uses a subquery in the HAVING clause.
- QSM-02018: subquery present in the WHERE clause
-
Cause: The capability in question is not supported when the materialized view uses a subquery in the WHERE clause.
- QSM-02019: mv references another mv in FROM clause
-
Cause: The capability in question is not supported when the materialized view is nested (i.e., when it references another materialized view in its FROM list).
- QSM-02020: container column not in SELECT list with NOT NULL constraint
-
Cause: The capability in question is not supported when the materialized view's container table has a column that does not correspond to an output expression in the select list, and that column has a NOT NULL constraint. This situation can result in problems during refresh since any new rows inserted into the materialized view will set that column to NULL.
- QSM-02021: set operator encountered in mv
-
Cause: The capability in question is not supported when the materialized view uses set operators such as UNION, UNION ALL, MINUS, etc.
- QSM-02022: aggregate selections
-
Cause: The capability in question is not supported when the materialized view uses an aggregate expression in the HAVING clause.
- QSM-02023: nested cursor
-
Cause: The capability in question is not supported when the materialized view uses a nested cursor expression.
- QSM-02024: no GROUP BY clause
-
Cause: The capability in question is not supported when the materialized view does not use a GROUP BY clause.
- QSM-02025: no aggregate functions
-
Cause: The capability in question is not supported when the materialized view uses no aggregate functions.
- QSM-02026: non-AND conjunction in WHERE clause
-
Cause: The capability in question is not supported when the materialized view uses a conjunction other than AND (such as OR) in the WHERE clause.
- QSM-02027: group by ROLLUP
-
Cause: The capability in question is not supported when the materialized view uses the ROLLUP operator in the GROUP BY clause.
- QSM-02028: group by CUBE
-
Cause: The capability in question is not supported when the materialized view uses the CUBE operator in the GROUP BY clause.
- QSM-02029: PL/SQL function invocation
-
Cause: The capability in question is not supported when the materialized view invokes a PL/SQL function.
- QSM-02030: reduced precision specified for prebuilt mv
-
Cause: The capability in question is not supported when the materialized view is created with the WITH REDUCED PRECISION clause.
- QSM-02031: materialized view cannot support any type of query rewrite
-
Cause: The materialized view cannot be used with query rewrite.
- QSM-02032: no joins are present in the WHERE clause
-
Cause: The capability in question is not supported when the materialized view includes no join conditions in the WHERE clause.
- QSM-02033: no filter conditions are present in the WHERE clause
-
Cause: The capability in question is not supported when the materialized view includes no filter selection conditions in the WHERE clause.
- QSM-02034: no joins are present in the HAVING clause
-
Cause: The capability in question is not supported when the materialized view includes no joins in the HAVING clause.
- QSM-02035: no filter conditions are present in the HAVING clause
-
Cause: The capability in question is not supported when the materialized view includes no filter condition in the HAVING clause.
- QSM-02036: in-list present in mv
-
Cause: The capability in question is not supported when the materialized view uses an IN list.
- QSM-02037: cannot evaluate constant expression at compile time
-
Cause: The capability in question is not supported when the materialized view uses a compile-time non-constant expression in a filter condition in the WHERE or HAVING clauses. For example, WHERE X=1 uses a compile-time constant expression in a filter condition. WHERE X=MY_PLSQL_FUNCTION() uses a compile-time non-constant expression in a filter condition.
- QSM-02038: Partition Change Tracking (PCT) is enabled
-
Cause: The Partition Change Tracking (PCT) capability is supported for this materialized view.
- QSM-02039: top level mv query uses grouping sets
-
Cause: The capability in question is not supported when the materialized view use grouping sets.
- QSM-02040: top level query contains GSets and the key is too long for rewrite
-
Cause: The capability in question is not supported when the materialized view uses a grouping set with too many keys.
- QSM-02041: nested aggregate function
-
Cause: The capability in question is not supported when the materialized view nests an aggregate function invocation as an argument to another aggregate function.
- QSM-02042: view or subquery in from list
-
Cause: The capability in question is not supported when the materialized view references a view or subquery in the FROM list.
- QSM-02044: ORDER BY clause in mv
-
Cause: The capability in question is not supported when the materialized view includes an ORDER BY clause.
- QSM-02045: START WITH clause in mv
-
Cause: The capability in question is not supported when the materialized view includes a START WITH clause.
- QSM-02047: window function in mv
-
Cause: The capability in question is not supported when the materialized view uses a window function.
- QSM-02048: outer join in mv
-
Cause: The capability in question is not supported when the materialized view uses an outer join.
- QSM-02049: subquery using the ANY clause in mv
-
Cause: The capability in question is not supported when the materialized view uses the ANY clause with a subquery.
- QSM-02050: subquery using the ALL clause in mv
-
Cause: The capability in question is not supported when the materialized view uses the ALL clause with a subquery.
- QSM-02051: subquery using the NOT EXISTS clause in mv
-
Cause: The capability in question is not supported when the materialized view uses the NOT EXISTS with a subquery.
- QSM-02052: subquery using a select list in mv
-
Cause: The capability in question is not supported when the materialized view uses a select list.
- QSM-02053: collection subquery in mv
-
Cause: The capability in question is not supported when the materialized view uses a collection subquery.
- QSM-02054: DISTINCT clause in select list in mv
-
Cause: The capability in question is not supported when the materialized view uses the DISTINCT clause in the select list.
- QSM-02055: mv references a packed object table or view
-
Cause: The capability in question is not supported when the materialized view references a packed object table or view.
- QSM-02056: correlated variable and outer join in mv
-
Cause: The capability in question is not supported when the materialized view uses a correlated variable and an outer join.
- QSM-02057: ROWNUM referenced in mv
-
Cause: The capability in question is not supported when the materialized view references the ROWNUM function.
- QSM-02058: set operator in mv and compatibility mode is less than 9.0
-
Cause: The capability in question is not supported when the materialized view uses a set operator and the compatibility mode is less than 9.0.
- QSM-02059: join may produce duplicate rows in mv
-
Cause: The capability in question is not supported when the materialized view contains a join condition that can result in duplicate rows in the materialized view.
- QSM-02061: one or more joins present in mv
-
Cause: The capability in question is not supported when the materialized view contains joins.
- QSM-02062: GROUP BY clause in mv
-
Cause: The capability in question is not supported when the materialized view uses the GROUP BY clause.
- QSM-02063: aggregate function in mv
-
Cause: The capability in question is not supported when the materialized view uses an aggregate function.
- QSM-02064: subquery in mv
-
Cause: The capability in question is not supported when the materialized view uses a subquery.
- QSM-02066: Oracle error: see RELATED_NUM and RELATED_TEXT for details
-
Cause: The capability in question is not supported because an attempt to create the materialized view would result in an error.
- QSM-02067: no partition key or PMARKER or join dependent expression in select list
-
Cause: The capability in question is not supported when the materialized view unless the select list (and group by list if a GROUP BY clause is present) includes the partition key or PMARKER function reference to the table in question or an expression join dependent on the partitioning column of the table in question.
- QSM-02068: relation is not a partitioned table
-
Cause: The capability in question is not supported when the relation in question is not a partitioned table.
- QSM-02069: PCT not supported with multi-column partition key
-
Cause: The capability in question is not supported when the table in is partitioned on a multi-column key.
- QSM-02070: PCT not supported with this type of partitioning
-
Cause: The capability in question is not supported when the table in question uses certain types of partitioning.
- QSM-02071: internal error: undefined PCT failure code
-
Cause: An internal Oracle error has occurred.
- QSM-02072: requirements not satisfied for fast refresh of nested mv
-
Cause: The capability in question is not supported because one or more of the requirements for this capability have not been satisfied.
- QSM-02073: non-primary key RepAPI mv is not fast refreshable
-
Cause: Fast refresh is supported for RepAPI materialized views only if it is also a primary key materialized view.
- QSM-02074: materialized view over Heterogeneous Services link
-
Cause: The capability in question is not supported when the materialized view uses a heterogeneous link.
- QSM-02075: materialized view on synonym
-
Cause: The capability in question is not supported when the materialized view references a synonym, if the compatible parameter is earlier than 10.2.0.
- QSM-02076: sequence number in the mv log is newer than last refresh
-
Cause: The timestamp of the sequence number in the mv log was after the last refresh time.
- QSM-02077: mv log is newer than last full refresh
-
Cause: The capability in question is not supported when the relevant materialized view log was created after the creation or most recent complete refresh of the materialized view.
- QSM-02078: mv log must have new values
-
Cause: The capability in question is not supported when the relevant materialized view log omits new values.
- QSM-02079: mv log must have ROWID
-
Cause: The capability in question is not supported when the relevant materialized view log omits ROWIDs.
- QSM-02080: mv log must have primary key
-
Cause: The capability in question is not supported when the relevant materialized view log omits primary keys.
- QSM-02081: mv log does not have all necessary columns
-
Cause: The capability in question is not supported when the relevant materialized view log omits columns referenced in the select list of the materialized view.
- QSM-02082: problem with mv log
-
Cause: The capability in question is not supported because of a problem the materialized view log in question.
- QSM-02083: mv references PL/SQL function that maintains state
-
Cause: The capability in question is not supported when the materialized view references a PL/SQL function that maintains state and which may not return the same value every time it is invoked against the same set of rows.
- QSM-02084: DISTINCT clause on a duplicate sensitive aggregate function
-
Cause: The capability in question is not supported when the materialized view uses the DISTINCT clause in this context.
- QSM-02086: mv uses the MIN, MAX or ANY_VALUE aggregate functions
-
Cause: The capability in question is not supported when the materialized view uses the MIN, MAX, or ANY_VALUE function.
- QSM-02087: materialized view uses the approximate aggregate detail functions
-
Cause: The capability in question was not supported when the materialized view used the approximate aggregate detail function.
- QSM-02088: mv omits at least one grouping key from the select list
-
Cause: The capability in question is not supported when the materialized view omits any grouping expressions from the select list.
- QSM-02090: SELECT includes an expression that is not just a column
-
Cause: The capability in question is not supported when the materialized view uses an expression in the select list that is not a simple column reference.
- QSM-02091: mv references a non-repeatable or session-sensitive expression
-
Cause: The capability in question is not supported when the materialized view uses an expression that may not return the same value each time it is invoked against the same set of rows or that may return different values depending on session parameters.
- QSM-02092: mv references a sequence number
-
Cause: The capability in question is not supported when the materialized view references a sequence number.
- QSM-02093: mv uses an object REF clause
-
Cause: The capability in question is not supported when the materialized view uses an object REF clause.
- QSM-02096: mv references a named view
-
Cause: The capability in question is not supported when the materialized view references a view.
- QSM-02099: mv references a remote table or view in the FROM list
-
Cause: The capability in question is not supported when the materialized view references a remote table or view in the FROM list.
- QSM-02101: mv references a synonym in the FROM list
-
Cause: The capability in question is not supported when the materialized view references a synonym in the FROM list.
- QSM-02102: mv FROM list references an object in the SYS schema
-
Cause: The capability in question is not supported when the materialized view references an object in the SYS schema.
- QSM-02104: aggregate function in a filter condition in the HAVING clause
-
Cause: The capability in question is not supported when the materialized view references an aggregate function in a filter condition in the HAVING clause.
- QSM-02106: mv uses a filter condition in the WHERE or HAVING clause
-
Cause: The capability in question is not supported when the materialized view includes a filter condition in the WHERE or HAVING clause.
- QSM-02112: top level query has LEFT OUTER, RIGHT OUTER or FULL OUTER join
-
Cause: The capability in question is not supported when the materialized view uses these types of joins.
- QSM-02113: expression in select list references multiple tables or views
-
Cause: The capability in question is not supported when the materialized view includes an expression in the select list that references multiple tables or views.
- QSM-02114: no GROUP BY clause, no aggregates and not >= 9.0 compatibility
-
Cause: The capability in question is not supported when the materialized view has no GROUP BY clause, no aggregates and compatibility mode is less than 9.0.
- QSM-02115: mv references a remote object and is refreshed ON COMMIT
-
Cause: The capability in question is not supported when the materialized view references a remote object and is refreshed ON COMMIT.
- QSM-02116: mupltiple master sites
-
Cause: The capability in question is not supported when the materialized view references multiple remote objects that reside at different remote instances.
- QSM-02117: missing GROUPING_ID or GROUPING functions on GROUP BY column(s)
-
Cause: The capability in question is not supported when the materialized view uses grouping sets but omits the relevant GROUPING_ID or GROUPING functions.
- QSM-02118: duplicate grouping sets
-
Cause: The capability in question is not supported when the materialized view redundantly references grouping sets.
- QSM-02119: internal error while analyzing required supporting aggregates
-
Cause: An internal Oracle error has occurred.
- QSM-02120: compatibility mode must be 9.0 or higher
-
Cause: The capability in question is not supported when the compatibility mode is less than 9.0.
- QSM-02121: set operator in a context not supported for fast refresh
-
Cause: The capability in question is not supported when the materialized view uses a set operator in this context.
- QSM-02122: compatibility mode must be 8.1 or higher
-
Cause: The capability in question is not supported when the compatibility mode is less than 8.1.
- QSM-02123: subquery and UNION mv's must be primary key mv's
-
Cause: The capability in question is not supported when the materialized view is not a primary key materialized view and uses subqueries or the union operator in this context.
- QSM-02124: object type in WHERE clause
-
Cause: The capability in question is not supported when the materialized view references an object type in the WHERE clause.
- QSM-02125: subquery join conditions don't meet requirements for capability
-
Cause: The capability in question is not supported when the materialized view uses a subquery in a join in this way.
- QSM-02126: no rowid at master site
-
Cause: The capability in question is not supported when the materialized view references a remote site that does not support rowids.
- QSM-02127: not supported for this type mv by Oracle version at master site
-
Cause: The capability in question is not supported when the materialized view uses certain constructs and references an older version, remote Oracle instance.
- QSM-02128: does not meet the requirements of a primary key mv
-
Cause: The capability in question is not supported when the materialized view fails to meet the requirements of a primary key materialized view.
- QSM-02129: join or filter condition(s) are complex
-
Cause: The capability in question is not supported when the materialized view uses a complex join or filter condition.
- QSM-02130: expression not supported for fast refresh
-
Cause: The capability in question is not supported when the materialized view references certain, complex expressions.
- QSM-02131: agg(expr) requires correspondng SUM(expr) function
-
Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the SUM function on the same argument.
- QSM-02132: agg(expr) requires correspondng COUNT(expr) function
-
Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the COUNT function on the same argument.
- QSM-02133: agg(expr) requires correspondng MIN(expr) function
-
Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the MIN function on the same argument.
- QSM-02134: agg(expr) requires correspondng MAX(expr) function
-
Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the MAX function on the same argument.
- QSM-02135: agg(expr) requires correspondng AVG(expr) function
-
Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the AVG function on the same argument.
- QSM-02136: agg(expr) requires correspondng VARIANCE(expr) function
-
Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the VARIANCE function on the same argument.
- QSM-02137: agg(expr) requires correspondng STDDEV(expr) function
-
Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the STDDEV function on the same argument.
- QSM-02138: agg(expr) requires correspondng agg(expr*expr) function
-
Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of that same aggregate function on the square of the same argument.
- QSM-02139: agg(expr) requires correspondng agg(expr+expr) function
-
Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of that same aggregate function on the same argument added to the same argument.
- QSM-02140: agg(expr) requires correspondng SUM(expr*expr) function
-
Cause: The capability in question is not supported when the materialized view uses certain aggregate functions but omits an invocation of the SUM function on the square of the same argument (the argument multiplied by itself).
- QSM-02141: the reason why the capability is disabled has escaped analysis
-
Cause: The EXPLAIN_MV analysis engine has failed to capture the reason why the given capability is not possible.
- QSM-02142: COUNT(*) is not present in the select list
-
Cause: The materialized view query omits COUNT(*) from the select list.
- QSM-02143: SUM(expr) without COUNT(expr)
-
Cause: SUM(expr) occurs in the select list without a corresponding COUNT(expr).
- QSM-02144: aggregate functions are present without a GROUP BY clause
-
Cause: One or more aggregate functions are present in the select list but a GROUP BY clause is not used.
- QSM-02145: GROUP BY clause is present but no aggregate functions are used
-
Cause: A GROUP BY clause is used but no aggregate functions are present in the select list.
- QSM-02146: see the reason why REFRESH_FAST_AFTER_INSERT is disabled
-
Cause: REFRESH_FAST_AFTER_ONETAB_DML is disabled for the same reason that REFRESH_FAST_AFTER_INSERT is disabled.
- QSM-02147: default date format is sensitive to session settings
-
Cause: You have specified a date conversion operation using either the default format or an incomplete format. The default date format or an incomplete format is sensitive to session settings, and therefore may not be reproducible across different environments.
- QSM-02148: many to many subquery joins require 9.0 compatibility or higher
-
Cause: You have specified a many to many join in your materialized view while running in less than 9.0 compatibility mode.
- QSM-02149: ON COMMIT with this MV requires 9.0 compatibility or higher
-
Cause: You have specified a materialized view that uses some combination of the following: joins aggregation filter conditions in the WHERE clause a remote relation in the FROM list a SUM(x) function without a corresponding COUNT(x) function an omitted COUNT(*) aggregate function a MIN() or MAX() aggregate function in combination with the REFRESH ON COMMIT option while running in less than 9.0 compatibility mode.
- QSM-02150: select lists must be identical across the UNION operator
-
Cause: You have specified a materialized view using the UNION operator and the respective queries on each side of the UNION operator do not have the same select list. The RELATED_NAME column shows the alias of the first different select list item. The RELATED_NUM column shows the offset from the SELECT keyword to the start of this select list item.
- QSM-02151: subquery or named view in FROM list and < 9.0 compatibility
-
Cause: You have specified a materialized view that references a subquery or named view in its top level FROM list while running in less than 9.0 compatibility mode.
- QSM-02152: subquery or named view in FROM list even after view merging
-
Cause: You have specified a materialized view that references a subquery ore named view in its top level FROM list that could not be merged during the view merging process.
- QSM-02153: inline view or subquery in FROM list not supported for this type MV
-
Cause: You have specified a materialized view that references an inline view or a subquery. The indicated capability is not supported for this type of materialized view.
- QSM-02154: MV is not fast refreshable even with view merging
-
Cause: You have a materialized view with view in the FROM clause, however it does not meet the criteria for fast refresh after view merging.
- QSM-02161: see the reason why REFRESH_FAST_AFTER_ONETAB_DML is disabled
-
Cause: REFRESH_FAST_AFTER_ANY_DML is disabled for the same reason that REFRESH_FAST_AFTER_ONETAB_DML is disabled.
- QSM-02162: the detail table does not have a materialized view log
-
Cause: The fast refresh cannot be performed because the master table does not contain a materialized view log.
- QSM-02163: cannot use object id columns from materialized view log
-
Cause: The materialized view log either does not have object id columns logged, or the timestamp associated with the object id columns is more recent than the last refresh time.
- QSM-02169: the materialized view contains partition extended table name
-
Cause: Fast refresh of materialized aggregate views and/or materialized join views are not supported if they were defined using partition extended table names.
- QSM-02170: tables must be identical across the UNION operator
-
Cause: You have specified a materialized view using the UNION operator and the tables on each side of the UNION operator do not match. Fast refresh is not supported in this context.
- QSM-02171: the materialized view has a join operation in the outer UNION block
-
Cause: Fast refresh is not supported if a materialized view having the UNION operator contains a join operation.
- QSM-02173: the unique constraints does not exist on the join columns of the inner table
-
Cause: If there are outer joins, unique constraints must exist on the join columns of the inner table. Othwerwise, the materialized view can not be fast refreshable.
- QSM-02174: the materialized view does not have a UNION ALL marker column
-
Cause: For a materialized view with UNION ALL to be fast refreshable, it must have a UNION ALL marker column. This is a constant column, at the same ordinal position in each query block and must have distinct values in each query block.
- QSM-02175: some query block in UNION ALL MV is not fast refreshable
-
Cause: For a materialized view with UNION ALL to be fast refreshable, each query block must conform to a fast refreshable materialized join view or materialized aggregate view.
- QSM-02176: MV with UNION ALL in a view is too complex
-
Cause: If a materialized view has a view whose definition involves a UNION ALL query, then the materialized view's defining query cannot have any clauses other than SELECT or FROM. Other clauses such as WHERE, HAVING, CONNECT BY, or GROUP BY are not allowed. Further more, the FROM clause should have only one item.
- QSM-02177: MV with UNION ALL in a view must match the view's SELECT list
-
Cause: If a materialized view has a view whose definition involves a UNION ALL query, then the materialized view's select list must match the underlying view's select list exactly. It must not have any expressions and must not have add/drop/reorder columns from the underlying view.
- QSM-02178: MV has a view with UNION ALL that is not fast refreshable
-
Cause: The materialized view has a view whose definition involves a UNION ALL query that does not satisfy the requirements for fast refresh.
- QSM-02179: MV with UNION ALL requires compatibility >= 9.2
-
Cause: The setting of the COMPATIBLE initialization parameter is less than 9.2.0.
- QSM-02180: no primary key constraint in the master table
-
Cause: The explain_mview assumes that the materialized view is going to be created as the Primary Key materialized view. A Primary Key materialized view can not be created if the base table does not have a primary key constraint.
- QSM-02181: a SPREADSHEET clause is present
-
Cause: The capability in question is not supported when the materialized view uses a SPREADSHEET clause.
- QSM-02182: PCT is enabled through a join dependency
-
Cause: The capability in question is not supported when the materialized view does not contain some expression join dependent on the partitioning key of relation in question in the select list. For definition of join dependency, please look at Oracle documentation.
- QSM-02183: Expression to enable PCT not in PARTITION BY of analytic function or SPREADSHEET
-
Cause: The capability in question is not supported when the expression is not in the PARTITION BY clause
- QSM-02184: Expression to enable PCT cannot be rolled up
-
Cause: The capability in question is not supported when the expression is rolled up
- QSM-02185: no partition key or PMARKER in select list
-
Cause: The capability in question is not supported when the materialized view unless the select list (and group by list if a GROUP BY clause is present) includes either the partition key of or a PMARKER function reference to the table in question.
- QSM-02186: PARTITIONED OUTER JOIN is present
-
Cause: The capability in question is not supported when the materialized view has PARTITIONED OUTER JOIN.
- QSM-02187: materialized view on external table
-
Cause: The capability in question is not supported when the materialized view references an external table.
- QSM-02188: named view in FROM list not supported for this type MV
-
Cause: You have specified a materialized view that references a named view The indicated capability is not supported for this type of materialized view.
- QSM-02189: materialized view definition changes
-
Cause: The definition of the materialized view has changed. Usually redefining the synonym or table in the definition can cause this. The materialized view can not be fast refreshed.
- QSM-02190: SQL PIVOT or UNPIVOT is present
-
Cause: The capability in question is not supported when the materialized view has sql PIVOT or UNPIVOT operation.
- QSM-02191: types of MV logs are not compatible
-
Cause: The capability in question is not supported when the materialized view is defined on detail tables which do not have a compatible type of materialized view logs, either all timestamp based or commit SCN based.
- QSM-02192: commit SCN based MV log is not in consistent state
-
Cause: The capability in question is not supported when the relevant materialized view log is not in consistent state due to the failure when populating the mapping table of SYS.SNAP_XCMT$.
- QSM-02193: unsupported MV on commit SCN based MV logs
-
Cause: The capability in question is not supported when the relevant materialized view is not supported to be defined on detail tables which have commit SCN based MV logs.
- QSM-02194: CASE expressions present in materialized view
-
Cause: The capability in question is not supported when the materialized view contain CASE expressions.
- QSM-02195: PCT FAST REFRESH is not possible if query contains a named view
-
Cause: The capability in question was not supported because the materialized view query contained a named view.
- QSM-02196: PCT FAST REFRESH is not possible if query contains an inline view
-
Cause: The capability in question was not supported because the materialized view query contained an inline view.
- QSM-02197: PCT FAST REFRESH is not possible if query contains a remote table
-
Cause: The capability in question was not supported because the materialized view query contained a remote table.
- QSM-02198: PCT FAST REFRESH is not possible if HAVING clause includes a subquery
-
Cause: The capability in question was not supported because the materialized view query HAVING clause included a subquery.
- QSM-02199: PCT FAST REFRESH is not possible if WHERE clause includes a subquery
-
Cause: The capability in question was not supported because the materialized view query WHERE clause included a subquery.
- QSM-02200: PCT FAST REFRESH is not possible if query contains LEFT OUTER, RIGHT OUTER or FULL OUTER JOIN
-
Cause: The capability in question was not supported because the materialized view query contained LEFT OUTER, RIGHT OUTER or FULL OUTER JOIN.
- QSM-02201: PCT FAST REFRESH is not possible if there is a self join or self cartesian product in query
-
Cause: The capability in question was not supported because the materialized view query contained self join of self cartesian product in the query.
- QSM-02202: PCT FAST REFRESH is not possible if query has ORDER BY clause
-
Cause: The capability in question was not supported because the materialized view query contained an ORDER BY clause.
- QSM-02203: PCT FAST REFRESH is not possible if query has set operand query blocks
-
Cause: The capability in question was not supported because the materialized view query contained set operand query blocks.
- QSM-02204: PCT FAST REFRESH is not possible if query has an inner query
-
Cause: The capability in question was not supported because the materialized view query contained an inner query.
- QSM-02205: PCT FAST REFRESH is not possible if there is a subquery inside select-list
-
Cause: The capability in question was not supported because the materialized view query contained a subquery inside a select-list.
- QSM-02206: PCT FAST REFRESH is not possible because this query join may produce extra duplicate rows
-
Cause: The capability in question was not supported because the materialized view contained a join condition that can result in duplicate rows in the materialized view.
- QSM-02207: PCT FAST REFRESH is not possible for complex queries
-
Cause: The capability in question was not supported because the materialized view query was too complex.
- QSM-02208: subquery using the NOT IN clause in materialized view
-
Cause: The capability in question was not supported when the materialized view uses NOT IN with a subquery.
- QSM-02209: a MATCH_RECOGNIZE clause is present
-
Cause: The capability in question was not supported when the materialized view used a MATCH_RECOGNIZE clause.
- QSM-03112: Invalid CREATE MATERIALIZED VIEW statement\nstring
-
Cause: The CREATE MATERIALIZED VIEW statement that was passed into the procedure was not a valid one.
- QSM-03113: Cannot tune the MATERIALIZED VIEW statement\nstring
-
Cause: The MATERIALIZED VIEW statement could not be tuned.
- QSM-03114: Cannot tune FOR UPDATE materialized view
-
Cause: The materialized view was created with the FOR UPDATE option.
- QSM-03115: Cannot tune materialized view ON PREBUILT table
-
Cause: The materialized view was created on a prebuilt table.
- QSM-03116: The materialized view is already optimal and cannot be tuned any further
-
Cause: The materialized view has the capabilities that are specified in the statement.
- QSM-03117: Cannot tune the materialized view to be fast refreshable
-
Cause: The materialized view could not be tuned or decomposed to be fast refreshable.
- QSM-03118: Cannot tune the materialized view for general rewrite
-
Cause: The materialized view could not be tuned for supporting general rewrite.
- QSM-03119: The WHERE/HAVING clause is too complex for general query rewrite
-
Cause: The WHERE/HAVING was too complex for general rewrite.
- QSM-03120: Cannot create materialized view log on encrypted columns
-
Cause: There were encrypted columns in materialized view defining query.
- QSM-03201: The table string.string is classified as a fact table.
-
Cause: This table has met the criteria of a fact table for the purposes of synchronous refresh.
- QSM-03202: The table string.string is classified as a dimension table.
-
Cause: This table has met the criteria of a dimension table for the purposes of synchronous refresh.
- QSM-03203: The table string.string is classified as neither a fact nor a dimension table.
-
Cause: This table has not met the necessary criteria of a fact table or a dimension table for the purposes of synchronous refresh. Synchronous refresh requires that the defining query of a materialized view conform to either the star or snowflake schema. A table can be either a fact or dimension table.
- QSM-03204: The materialized view passes the join graph eligibility check for synchronous refresh.
-
Cause: The defining query of the materialized view (MV) conformed to the star or snowflake schema and, therefore, was eligible for synchronous refresh.
- QSM-03205: The materialized view fails the join graph eligibility check for synchronous refresh.
-
Cause: The defining query of the materialized view (MV) did not conform to the star or snowflake schema and, therfore, was not eligible for synchronous refresh.
- QSM-03206: The fact table is partitioned by string and its partition key is string.
-
Cause: The fact table had the indicated partitioning method and key.
- QSM-03207: The materialized view is partitioned by string and its partition key is string.
-
Cause: The materialized view (MV) had the indicated partitioning method and key.
- QSM-03208: The partition key of the fact table functionally determines the partition key of the materialized view.
-
Cause: The analysis by synchronous refresh indicated that the partition key of the fact table functionally determined the partition key of the materialized view (MV), which is a requirement for synchronous refresh eligibility.
- QSM-03209: The materialized view passes the partition key dependency eligibility check for synchronous refresh.
-
Cause: The analysis by synchronous refresh indicated that the materialized view (MV) passed the partition key dependency eligibility check.
- QSM-03210: The materialized view does not pass the partition key functional dependency check and is not eligible for synchronous refresh.
-
Cause: The analysis by synchronous refresh indicated that the materialized view (MV) did not pass the partition key dependency eligibility check.
- QSM-03211: The partition key of the MV can be rolled up from the partition key of the fact table by a join between the fact table and the dimension table string.
-
Cause: The analysis by synchronous refresh indicated there was a rollup relationship between the partition keys of the fact table and the materialized view (MV).
- QSM-03212: The partition key of the MV corresponds to string column of the fact table and not to the partition key of the fact table.
-
Cause: The analysis by synchronous refresh indicated that the the partition key of the materialized view (MV) was related to a column of the fact table and not to the partition key of the fact table.
- QSM-03213: The partition key of the MV corresponds to the partition key of the fact table.
-
Cause: The analysis by synchronous refresh indicated that the partition key of the materialized view (MV) is the same as the partition key of the fact table.
- QSM-03214: The partition key of the MV is derived from table string whereas the partition key of the fact table is related by a join to dimension table string.
-
Cause: The analysis by synchronous refresh indicated that the partition key of the materialized view (MV) was related to a column of a dimension table that was not the dimension table to which the partition key of the fact table was joined.
- QSM-03215: The partition key of the MV is not a column related to the partition key of the fact table.
-
Cause: The analysis by synchronous refresh indicated that the partition key of the materialized view (MV) was not a column related to the partition key of the fact table.
- QSM-03216: The partition key of the MV is related to the partition key of the fact table by a join between the fact table and the dimension table string.
-
Cause: The analysis by synchronous refresh indicated that the partition key of the materialized view (MV) was related to the partition key of the fact table by a join.
- QSM-03217: The table string.string is classified as both a fact and a dimension table.
-
Cause: This table has met the necessary criteria of both a fact table and a dimension table for the purposes of synchronous refresh. Synchronous refresh requires that the defining query of a materialized view conform to either the star or snowflake schema. A table can be either a fact or dimension table.
- QSM-03218: More than one table is classified as a fact table.
-
Cause: More than one of the base tables of the materialized view was classified as a fact table for the purposes of synchronous refresh, which requires exactly one fact table. Synchronous refresh requires that the defining query of a materialized view conform to either the star or snowflake schema. A table can be either a fact or dimension table. However, only one (and exactly one) can be fact table and the rest must be dimension tables.
- QSM-03219: The materialized view is not partitioned and therefore is not eligible for synchronous refresh.
-
Cause: The materialized view was not partitioned and therefore was not eligible for synchronous refresh.
- QSM-03220: The partition key of the MV belongs to a table other than the fact table.
-
Cause: The analysis by synchronous refresh indicated that the partition key of the materialized view (MV) was related to a table other than the fact table.
- QSM-03221: The partition key of the fact table does not appear in the joins of the MV.
-
Cause: The analysis by synchronous refresh indicated that the partition key of the fact table did not appear in the joins of the materialized view (MV).
- QSM-03222: The partition key of the fact table could not be related to the partition key of the MV.
-
Cause: The analysis by synchronous refresh indicated that the partition key of the fact table cannot be related to the partition key of the materialized view (MV).
- QSM-03223: The partition method used in the table or MV is not supported by MV synchronous refresh.
-
Cause: An attempt was made to do synchronous refresh on a table or materialized view (MV) that used an unsupported partition method.
- QSM-03224: rows being deleted or updated not in the base table
-
Cause: The staging log rows to be updated or deleted were not in the base table.
- QSM-03225: rows being inserted in the base table
-
Cause: The staging log rows to be inserted were in the base table.
- QSM-03226: Rows being updated had exactly the same old and new values on all columns.
-
Cause: The staging log rows to be updated had exactly the same old and new values on all columns.
- QSM-03227: The USING TRUSTED CONSTRAINTS clause is not specified in the materialized view definition.
-
Cause: The USING TRUSTED CONSTRAINTS clause was not specified in the materialized view (MV) definition. Therefore, the MV was not eligible for synchronous refresh.
- QSM-03228: The refresh option specified in the materialized view definition is not supported.
-
Cause: The refresh option specified in the materialized view (MV) definition was not supported for synchronous refresh. The only refresh option supported for synchronous refresh is REFRESH FORCE.
- QSM-03229: The ON COMMIT refresh option is not supported.
-
Cause: The ON COMMIT refresh option specified in the materialized view definition was not supported for synchronous refresh. The only refresh option supported for synchronous refresh is ON DEMAND.
- QSM-03230: The materialized view is in an invalid state or not fresh.
-
Cause: The materialized view was in an invalid state or not fresh. Synchronous refresh requires the materialized view (MV) to be in a valid and fresh state when it is registered or prepared.
- QSM-03231: ROWID is not allowed in the materialized view registered for synchronous refresh.
-
Cause: ROWID was used in the defining query of the materialized view.
- QSM-03232: RAW data type is not allowed in the materialized view registered for synchronous refresh.
-
Cause: RAW data type was used in the defining query of the materialized view.
- QSM-03233: MIN or MAX is not allowed in the materialized view registered for synchronous refresh.
-
Cause: MIN or MAX was used in the defining query of the materialized view.
- QSM-03234: Set operator is not allowed in the materialized view registered for synchronous refresh.
-
Cause: The set operator was used in the defining query of the materialized view.
- QSM-03235: OUTER JOIN is not allowed in the materialized view registered for synchronous refresh.
-
Cause: OUTER JOIN was used in the defining query of the materialized view.
- QSM-03236: Subquery is not allowed in the materialized view registered for synchronous refresh.
-
Cause: A subquery was used in the defining query of the materialized view.
- QSM-03237: Trigger is not allowed in the base table string.string for synchronous refresh.
-
Cause: A trigger was used in the base table for synchronous refresh.
- QSM-03238: The materialized view was not defined on the base table string.string for synchronous refresh.
-
Cause: There was no materialized view defined on the base table.
- QSM-03239: Group by CUBE, ROLLUP, or grouping-sets was not allowed in the materialized view registered for synchronous refresh.
-
Cause: A group by CUBE, ROLLUP, or grouping-sets was used in the defining query of the materialized view.
- QSM-03240: The object string.string used in a materialized view definition was not a table.
-
Cause: An object was used in the defining query of the materialized view, which was not a table type.
- QSM-03241: Currently there is no active operation on the specified synchronous refresh group.
-
Cause: Either EXECUTE_REFRESH or ABORT_REFRESH returned an error because there was no active operation on the specified synchronous refresh group.
- QSM-03242: The synchronous refresh group is in an invalid state for the requested operation.
-
Cause: Either PREPARE_REFRESH or EXECUTE_REFRESH returned an error because the specified operation was not valid for the specified synchronous refresh group.
- QSM-03243: The synchronous refresh group cannot resume execution.
-
Cause: EXECUTE_REFRESH returned an error because all possible refresh subgroups had been processed and had a status of either COMPLETE or ABORT.
- QSM-03244: The partition operations registered on table string.string are not valid.
-
Cause: Either an illegal partition operation was specified in the register partition operation or the partition name was incorrectly specified.
- QSM-03245: The partition operations registered on partition string of table string.string conflict with the data supplied in the staging logs.
-
Cause: The staging log contained changes to rows in the partition that were being registered. These changes occur due to changes specified in the staging log of the fact table or because of updates to dimension tables.
- QSM-03246: The owner of outside partition string is string whereas it should be string.
-
Cause: When registering the outside table, the user supplied the incorrect owner for the outside table.
- QSM-03247: The staging log on table string.string has not been prepared.
-
Cause: PREPARE_REFRESH failed because the staging log for the specified table was not prepared with PREPARE_STAGING_LOG. All staging logs of tables of the group must be prepared before running PREPARE_REFRESH.
- QSM-03248: The materialized view string.string is already registered.
-
Cause: The specified materialized view (MV) has already been registered. A MV can be registered only once.
- QSM-03249: The table string.string does not have a staging log.
-
Cause: REGISTER_MVIEWS failed because the staging log for the specified table belonging to the materialized view (MV) being registered did not exist. All tables on a MV are required to have staging logs created on them for the MV to be registered for synchronous refresh.
- QSM-03250: The fact table string.string is not referenced by any MV in the group and the changes to dimension tables contain deletes or updates.
-
Cause: PREPARE_REFRESH found that there was no materialized view (MV) registered for synchronous refresh that contained the specified fact table as one of its base tables and the changes to the dimension tables contained updates or deletes. This error will not occur if the changes to the dimension tables contain only inserts.
- QSM-03251: The fact table string.string is not referenced by any MV in the group and its staging log is not empty.
-
Cause: PREPARE_REFRESH found that there is no materialized view (MV) registered for synchronous refresh that contained the specified fact table as one of its base tables and the staging log for that table specified changes to it. PREPARE_REFRESH supports fact tables without MV's defined on them if they meet two conditions: a) the staging log for the fact table is empty; b) the staging logs for the dimension tables in the group do not specify deletes or updates.
- QSM-03252: The synchronous refresh group of table string.string is locked by another operation.
-
Cause: Either REGISTER_PARTITION_OPERATION or UNREGISTER_PARTITION_OPERATION detected that the synchronous refresh group to which the table belonged had been locked by another synchronous refresh operation.
- QSM-03253: The synchronous refresh group of table string.string has been unlocked by another operation.
-
Cause: Either REGISTER_PARTITION_OPERATION or UNREGISTER_PARTITION_OPERATION detected that the synchronous refresh group to which the table belonged had been unlocked by another synchronous refresh operation. This is an internal error.
- QSM-03254: The lock operation on synchronous refresh group string failed unexpectedly.
-
Cause: The lock operation on the specified synchronous refresh group failed unexpectedly. This is an internal error.
- QSM-03255: The unlock operation on synchronous refresh group string failed unexpectedly.
-
Cause: The unlock operation on the specified synchronous refresh group failed unexpectedly. This is an internal error.
- QSM-03256: The synchronous refresh group string is locked by another operation.
-
Cause: Either REGISTER_MVIEWS or PREPARE_REFRESH detected that the synchronous refresh group to be processed by the requested operation had been locked by another synchronous refresh operation.
- QSM-03257: The synchronous refresh group string has been unlocked by another operation.
-
Cause: Either EXECUTE_REFRESH or ABORT_REFRESH detected that the synchronous refresh group to be processed by the requested operation had been unlocked by another synchronous refresh operation. This is an unexpected condition and may indicate an internal error.
- QSM-03258: The value supplied for the parameter string is too long.
-
Cause: The value supplied for the specified parameter exceeded the maximum length allowed for that parameter.
- QSM-03259: The value supplied for the parameter string is malformed.
-
Cause: The value supplied for the specified parameter was invalid.
- QSM-03260: The materialized views being registered are not defined on tables.
-
Cause: The materialized views being registered were not defined on tables, but were defined on top of other types of objects such as views or materialized views. Synchronous refresh works only with materialized views defined on tables.
- QSM-03261: The partition operation name string is not valid.
-
Cause: Either REGISTER_PARTITION_OPERATION or UNREGISTER_PARTITION_OPERATION detected that the partition operation name did not belong to the DROP, EXCHANGE or TRUNCATE value.
- QSM-03262: The object string.string is not registered for Synchronous Refresh.
-
Cause: REGISTER_PARTITION_OPERATION or UNREGISTER_PARTITION_OPERATION detected that either: - This object was not registered for synchronous refresh. - The synchronous refresh group was not in the current run. - The object was not a table type.
- QSM-03263: There is already a partition operation registered on string.string partition string.
-
Cause: REGISTER_PARTITION_OPERATION detected that there was already a partition maintenance operation (for example, DROP, EXCHANGE or TRUNCATE) registered on the specified partition of the base table.
- QSM-03264: There is no partition named string in base table string.string.
-
Cause: REGISTER_PARTITION_OPERATION detected that there was no partition with the specified name in the base table.
- QSM-03265: The outside table string.string does not exist.
-
Cause: REGISTER_PARTITION_OPERATION detected that the outside table schema or table name did not exist or was not valid.
- QSM-03266: Tablespace of base table string does not match the tablespace of outside partition table string.
-
Cause: REGISTER_PARTITION_OPERATION detected that the tablespace of the base table for any partition or subpartition did not match the tablespace of the outside partition table.
- QSM-03267: The outside partition table string contains at least one record that is not within the partition range of the base table string.
-
Cause: REGISTER_PARTITION_OPERATION detected that the outside partition table contained at least one record that was not within the partition range of the base table.
- QSM-03268: Synchronous refresh can only support top partition by RANGE.
-
Cause: REGISTER_PARTITION_OPERATION detected the base table was not partitioned by RANGE on top.
- QSM-03269: The number of partitions of the base table string and the outside table string do not match.
-
Cause: The base table was composite-partitioned. The partition number of the outside partition did not match the number of subpartitions inside the specified partition of the base table.
- QSM-03270: There is no partition operation registered on string.string partition string.
-
Cause: UNREGISTER_PARTITION_OPERATION detected that there was no partition maintenance operation (for example, DROP, EXCHANGE and TRUNCATE) registered on the specified partition of the base table.
- QSM-03271: The partition name of outside partition table string does not match the subpartition name of base table string.
-
Cause: REGISTER_PARTITION_OPERATION detected that the partition name of the outside partition table did not match the subpartition name of base table.
- QSM-03272: There are no changes loaded for any tables in this group.
-
Cause: There were no changes recorded for any tables in this group. The changes to a table can be provided in its staging log or by specifying partition change operations with REGISTER_PARTITION_OPERATION.
- QSM-03276: The specified schema string of the staging log is different from the owning schema string of the base table.
-
Cause: The user-specified schema of the staging log was different from the owning schema of the base table. They must be in the same schema if the schema of the staging log is specified.
- QSM-03277: An internal error related to tracing messages to SYNCREF_MESG has occurred.
-
Cause: This is an internal error as noted in the message.
- QSM-03278: The table SYNCREF_MESG is not present in the SYS schema.
-
Cause: This is an internal error related to tracing messages to the table SYNCREF_MESG. It occurs if the event 31904 is set to level 4 or 8 but the message table SYNCREF_MESG is not created in the SYS schema. Oracle does not support levels 4 and 8 in event 31904.
- QSM-03280: One or more materialized views failed to refresh successfully.
-
Cause: The base tables in the group refreshed successfully but one or more materialized views in the group did not. The status of the group for synchronous refresh operation was set to PARTIAL in this case.
- QSM-03281: The specified GROUP_ID is not valid.
-
Cause: The GROUP_ID specified as input to the refresh operation was not valid and does not identify a valid synchronous refresh group.
- QSM-03282: A materialized view is registered on a table related to string.string.
-
Cause: The staging log creation on the specified table failed because a table related to it by referential-integrity constraint has a materialized view which was registered for synchronous refresh with the REGISTER_MVIEWS command. Oracle requires that you first register the tables before registering any materialized view defined on them.
- QSM-03283: The materialized view string.string has not been registered.
-
Cause: The specified materialized view was not registered for synchronous refresh.
- QSM-03284: There is no foreign key constraint defined on string referencing string.string.
-
Cause: The table of REGISTER_PARTITION_OPERATION did not define a foreign key constraint on its referred base table.
- QSM-03285: There is no primary key constraint defined on string.string.
-
Cause: The table of REGISTER_PARTITION_OPERATION did not define a primary key constraint on it.
- QSM-03286: Complex materialized view was not allowed for synchronous refresh.
-
Cause: There was a complex materialized view in the synchronous refresh group.
- QSM-03287: synchronous refresh internal error: [string]
-
Cause: This was an internal error in synchronous refresh.
- QSM-03288: Flashback is not allowed in the base table string.string for synchronous refresh.
-
Cause: A staging log was created on a flashback-enabled base table.