Globaly improve performance (CONJ-291)

[CONJ-303] Improve PreparedStatement text parsing when not using rewriteStatement Created: 2016-05-26  Updated: 2019-08-02  Resolved: 2016-05-27

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: None
Fix Version/s: 1.5.0-RC

Type: Sub-Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Actually when using prepareStatement on client side, parsing query has two roles:

  • identify query parameter position
  • for rewrite statement know query parts

This parsing take up to 7% of query time.
When not using rewrite option, use an simplier parser would improve performances


Generated at Thu Feb 08 03:14:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.