[MDEV-9132] document "Using buffer" in extras of explain output - https://mariadb.com/kb/en/mariadb/explain/ Created: 2015-11-16  Updated: 2015-11-19  Resolved: 2015-11-19

Status: Closed
Project: MariaDB Server
Component/s: Documentation
Affects Version/s: 10.0.21
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Daniel Black Assignee: Ian Gilfillan
Resolution: Fixed Votes: 0
Labels: documentation

Issue Links:
Relates
relates to MDEV-9133 range chosen for update while ref use... Closed

 Description   

From slow query log:

# Thread_id: 161  Schema: hotspot  QC_hit: No
# Query_time: 17.934323  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 4
#
# explain: id   select_type     table   type    possible_keys   key     key_len ref     rows    Extra
# explain: 1    SIMPLE  radacct range   AcctSessionId,UserName_AcctSessionId,UserStop   UserName_AcctSessionId  52      NULL    1       Using where; Using buffer
#
SET timestamp=1443470903;
UPDATE radacct        ....

Got same query plan with explain:

Found in slow query log. Tried to look up what "Using buffer" on https://mariadb.com/kb/en/mariadb/explain/ actually mean and couldn't see an explanation.



 Comments   
Comment by Ian Gilfillan [ 2015-11-19 ]

This has been documented at https://mariadb.com/kb/en/mariadb/using-buffer-update-algorithm/

Comment by Daniel Black [ 2015-11-19 ]

Thanks greenman, I'm enlightened.

Generated at Thu Feb 08 07:32:22 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.