Search notes:

ORA-01450: maximum key length (‥) exceeded

The maximum key length of an index depends on the block size.

Demonstration

create table tq84_ora_01450(
   id   number,
   v1   varchar2(4000),
   v2   varchar2(2394)
);

create index tq84_ora_01450_ix on tq84_ora_01450(v1, v2);
-- ORA-01450: maximum key length (6397) exceeded

alter table tq84_ora_01450 modify v2 varchar2(2393);
create index tq84_ora_01450_ix on tq84_ora_01450(v1, v2);
-- Index TQ84_ORA_01450_IX created.

drop table tq84_ora_01450;

See also

ORA-01404: ALTER COLUMN will make an index too large
MOS Note 293599.1
Other Oracle error messages

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:51 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(51): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(66): id_of(Object(PDO), 'uri', '/notes/developm...') #2 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758199463, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #3 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-01450_maximum-key-length_exceeded(59): insert_webrequest() #4 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 51