Skip to content
Snippets Groups Projects
Commit b3a20a66 authored by Arseniy Volynets's avatar Arseniy Volynets :boy_tone5:
Browse files

feat: introduce sql_vdbe_max_steps, vtable_max_rows options

Option sql_vdbe_max_steps stops long running
queries from blocking tx thread or queries that 
use too much memory during local execution. 

Each sql query is compiled into VDBE opcodes on storages. This
parameter sets max number of opcodes that VDBE
can execute.

Example: `select * from t option(sql_vdbe_max_steps=1000)`

Option vtable_max_rows limits the maximum number of rows in
virtual table. This limit is checked on storages before returning
intermediate results and on routers when receiving results from
storages.

Example: `select * from t option(vtable_max_rows=1000)`
parent ebe0fd61
No related branches found
No related tags found
1 merge request!1414sbroad import
Showing
with 570 additions and 88 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment