I was trying to transport a large number of tablespace datafiles from one database to another, and impdp kept crashing with “PL/SQL: numeric or value error: character string buffer too small.”
It turns out there is a limit on what you can put on a single line in a parameter file. Hence if you have something like:
transport_datafiles=/long/path/file1,/long/path/file2,/long/path/file3,....
then you might run into trouble. It’s easily fixed however – just put the entries one per line
transport_datafiles=/long/path/file1
transport_datafiles=/long/path/file2
transport_datafiles=/long/path/file3
....




Got some thoughts? Leave a comment