ERROR OGG-00768 DYNSQL: Preparing SQL Statement (ID = 0) Failed. SQL Error (1461). Can't Create (Doc ID 2028897.1)

Last updated on JULY 08, 2015

Applies to:

Oracle GoldenGate - Version 11.2.1.0.1 to 12.1.2.1.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Goal

One or more MySQL applications are issuing prepare statements but they are not being deallocated

ERROR OGG-00768 DYNSQL: Preparing SQL statement (ID = 0) failed. SQL error (1461). Can't create more than max_prepared_stmt_count statements (current value: 100000).
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms