Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

ORA-12713 Character Data Loss NCHARCHAR Conversion

Expert Oracle Database Tips by Donald BurlesonConsulting

April 6, 2015

 

Question:  :  I am writing an RMAN backup and I get this ORA-12713 error:

RMAN-03009: failure of backup command on backup_1 channel at ...
ORA-12713: Character data loss in NCHAR/CHAR conversion Recovery Manager complete.

How do I fix the ORA-12713 error? 

Answer:   You start by using the oerr utility to look-up the action for this error:

 ORA-12713: Character data loss in NCHAR/CHAR conversion  

Cause: When character set conversion happens between CHAR and NCHAR either implicitly or explicitly, some characters are lost due to no mapping characters in the destination character set.

 Action: Make sure all the characters can be mapped to destination character set or set NLS_NCHAR_CONV_EXCP to be FALSE.    

In RMAN, the ORA-12713 error is usually an issue with the use of multi-byte character sets.

 Your backup is writing  to a disk that contains either extended ASCII and/or multi-byte character sets.   

In sum, those characters could not be successfully translated by RMAN, causing the ORA-12713 error.  

There are several solutions to the ORA-12713 error:

  •  Migrate from from US7ASCII to WE8MSWIN1252 using the using CONVERT() utility.  This will onvert you from  a narrow character set (eg UTF-8) to a wider set (UTF-16)

  •  Set your initialization parameter NLS_NCHAR_CONV_EXCP=FALSE

  •  Direct your RMAN to write backup files to a disk that only contains ASCII characters, the ORA-12713 will not happen.  

The Oracle documentation on Exception Handling for Data Loss During Datatype Conversion has full details on your conversion options:  

 
Get the Complete
Oracle SQL Tuning Information 

The landmark book "Advanced Oracle SQL Tuning  The Definitive Reference"  is filled with valuable information on Oracle SQL Tuning. This book includes scripts and tools to hypercharge Oracle 11g performance and you can buy it for 30% off directly from the publisher.

 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2016

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.


 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster