Pro*C Is Unable to Generate SPM Plan Baseline Name Which Exceeds 30 Bytes
(Doc ID 2912331.1)
Last updated on APRIL 17, 2023
Applies to:
Precompilers - Version 19.3.0.0.0 and laterOracle Database - Enterprise Edition - Version 19.3.0.0.0 and later
Information in this document applies to any platform.
Symptoms
Pro*C is unable to generate SPM plan baseline name which exceeds 30 bytes.
Pro*C/C++ Programmer's Guide says that the limit is described as 128 bytes:
https://docs.oracle.com/en/database/oracle/oracle-database/21/lnpcc/precompiler-options.html#GUID-6B69CC6C-2E9B-4AFC-80CF-BEB81368CE76
It is an optional command. The default is none which means that no prefix name is used, and if the plan name exceeds 128 bytes an error message is generated.
However, actually the limit of a plan baseline name seems to be 30 bytes.
For example, when we specify plan_prefix=BLN_PS1A221_08086cfa_PS1A, Pro*C is eble to generate the following plan name whose size is 30 bytes:
Changes
Attempt to use SPM plan baseline name which exceeds 30 bytes.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |