Site icon IT Tutorial

ORA-14300: partitioning key maps to a partition outside maximum permitted number of partitions with OGG-01296 Error mapping from and OGG-01154

Hi,

Sometimes You can get ” ORA-14300: partitioning key maps to a partition outside maximum permitted number of partitions with OGG-01296 Error mapping from and OGG-01154 ” error.

 

Details of error are as follows.

2020-06-02 20:25:33 WARNING OGG-01154 SQL error 14300 mapping MehmetSalih.Test_Table to MehmetSalih.Test_Table_DELTA OCI Error ORA-14300: pa
rtitioning key maps to a partition outside maximum permitted number of partitions (status = 14300), SQL <INSERT INTO "MehmetSalih"."Test_Table_DELTA" (
"GSM_NO","START_DATE","PROPERTY_CODE","CR_USER","CR_DATE","UPD_USER","UPD_DATE","UPD_SEQ","FILESEQNO","FILERBA","RSN","CSN","SW_DATE","END_DATE","SUB_PROPERTY_CODE") V
ALUES (:a0,:a1,:a2,:a3,:a4,:a5,:a6,:a7,:a8,:a9,:a10,:a11,:a12,:a13,:a14)>.

Source Context :
SourceModule : [er.replicat.errors]
SourceID : [er/replicat/reperrors.cpp]
SourceMethod : [repError]
SourceLine : [1754]
ThreadBacktrace : [15] elements
: [/ggateb01/goldengate/product/GG19cFor18cDB/libgglog.so(CMessageContext::AddThreadContext())]
: [/ggateb01/goldengate/product/GG19cFor18cDB/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...))]
: [/ggateb01/goldengate/product/GG19cFor18cDB/libgglog.so(_MSG_QualTableName_QualTableName(CSourceContext*, int, ggs::gglib::ggapp::CQualDBOb
jName<(DBObjType)1> const&, ggs::gglib::ggapp::CQualDBObjName<(DBObjType)1> const&, CMessageFactory::MessageDisposition))]
: [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::er::ReplicatContext::repError(short, int, char const*, extr_ptr_def*, ggs::gglib:
:gglcr::CommonLCR const*, std_rec_hdr_def*, char*, ObjectMetadata*, bool))]
: [/ggateb01/goldengate/product/GG19cFor18cDB/replicat()]
: [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::er::ReplicatContext::processRecord(ggs::gglib::gglcr::CommonLCR const*, ggs::ggli
b::gglcr::CommonLCR*, extr_ptr_def*&, extr_ptr_def*&, bool&, int&, bool, RepCsn&))]
: [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::er::ReplicatContext::processReplicatLoop())]
: [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::er::ReplicatContext::run())]
: [/ggateb01/goldengate/product/GG19cFor18cDB/replicat()]
: [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::gglib::MultiThreading::MainThread::ExecMain())]
: [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::gglib::MultiThreading::Thread::RunThread(ggs::gglib::MultiThreading::Thread::Thre
adArgs*))]
: [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(ggs::gglib::MultiThreading::MainThread::Run(int, char**))]
: [/ggateb01/goldengate/product/GG19cFor18cDB/replicat(main)]
: [/lib64/libc.so.6(__libc_start_main)]
: [/ggateb01/goldengate/product/GG19cFor18cDB/replicat()]

2020-06-02 20:25:33 ERROR OGG-01296 Error mapping from MehmetSalih.Test_Table to MehmetSalih.Test_Table_DELTA.





 

This MehmetSalih.Test_Table_DELTA table is interval partitioning, so You cannot specify null for partitioning column on Interval Partitioning.

If you use interval partitioning, then you cannot insert null data into partitioning column or You need to Convert Interval Partitioning to Range partitioning as follows.

 

ALTER TABLE TABLE_NAME SET INTERVAL ();


You can read the following post to learn detailed.

How to Change Existing Range Partitioned Table to Interval Partitioned Table and Interval Partitioned to Range Partitioned Table

 

 

 

Do you want to learn Oracle Goldengate from scratch, then read the following Goldengate Tutorial articles.

https://ittutorial.org/goldengate-tutorials-oracle-for-beginners/

Exit mobile version