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 and later
Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


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:

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:



Attempt to use SPM plan baseline name which exceeds 30 bytes.


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

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