denrepo

Init parameterFiles & storage

MAX_STRING_SIZE

Restart needed

What it controls

EXTENDED raises VARCHAR2, NVARCHAR2 and RAW limits from 4000 to 32767 bytes.

Know this before you change it

The change is permanent: it can't be set back to STANDARD. It needs STARTUP UPGRADE, the utl32k.sql script and a full backup first.

Default: STANDARD

Check and change it

max_string_size.sql
1-- Current value on every instance2SELECT inst_id, name, value, isdefault, ismodified3FROM gv$parameter4WHERE name = 'max_string_size';5 6-- Value stored in the spfile7SELECT sid, value FROM v$spparameter WHERE name = 'max_string_size' AND isspecified = 'TRUE';8 9-- Static: saved in the spfile, takes effect after a restart10ALTER SYSTEM SET max_string_size = EXTENDED SCOPE = SPFILE SID = '*';

Open in the parameter referenceOracle's reference

More in Files & storage