--quick (-q)
This page is part of MariaDB's Documentation.
The parent of this page is: mariadb & mysql for MariaDB Enterprise Server
Topics on this page:
Overview
This is a command-line option for the mariadb
& mysql
commands.
Don't cache result, print it row by row. This may slow down the server if the output is suspended. Doesn't use history file.
DETAILS
The --quick
command-line option can be used to reduce memory usage for queries that return large result-sets.
By default, when mariadb
client retrieves a result-set, it retrieves the entire result-set and buffers it in memory before displaying it. When the --quick
command-line option is specified, it retrieves results from the server a row at a time instead, which can reduce memory usage.