My Oracle Support Banner

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 later
Oracle 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

Usage Notes

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.