Details
-
New Feature
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
Description
Currently the ok packet to a MariaDB server client is sent in dispatch_command() by the call
thd->protocol->end_statement()
We can improve the response time between MariaDB server and client by sending the result packet earlier.
For select queries we could do that in bool select_send::send_eof().
For update queries we could do that at once the commit has been approved.
This will improve performance as the client will be able to process the return data earlier
and send it's next query while the server is doing cleanup of the previous query.
Attachments
Issue Links
- causes
-
MDEV-38589 SELECT unnecessarily waits for InnoDB log write
-
- Closed
-
-
MDEV-38683 SIGSEGV (dbg), SIGABRT or ER_EMPTY_QUERY when using ROWS EXAMINED with log_output=TABLE
-
- Closed
-
- relates to
-
MDEV-26789 log_write_up_to needs mechanism to prevent stalls of async. waiters
-
- Closed
-