[MDEV-16670] Improve execute direct (prepare and execute) performance Created: 2018-07-03 Updated: 2023-12-21 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Prepared Statements |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major |
| Reporter: | Oleksandr Byelkin | Assignee: | Oleksandr Byelkin |
| Resolution: | Unresolved | Votes: | 3 |
| Labels: | energy | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Sequence of prepare and then executing require a lot of double work it looks like this: It is clear, that if we would know that it is direct execute call we can avoid double work on the server side |
| Comments |
| Comment by Diego Dupin [ 2018-07-13 ] |
|
From the connector point of view, a COM_STMT_PREPARE *will be followed by a *COM_STMT_EXECUTE. So the best would seem to me that there must be a command COM_STMT_PREPARE_EXECUTE |
| Comment by Vladislav Vaintroub [ 2020-07-16 ] |
|
sanja, you know it is direct execute call , if it is "EXECUTE IMMEDIATE" for example. |