-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
3
-
False
-
-
False
-
-
Presently, the connector will always check the JDBC driver metadata if a table exists and what its column details are, even when schema.evolution is disabled. When the user sends many rows in a small window, this can create an excessive CPU load on the target database.
We should consider caching TableDescriptor objects so that we reduce the number of calls to Dialect#tableExists and Dialect#readTable and avoid doing this on each buffer flush, which can be frequent.