やってみる

アウトプットすべく己を導くためのブログ。その試行錯誤すらたれ流す。

SQLite3ドットコマンド(.limit)

 制限とその設定。

成果物

.help

.limit ?LIMIT? ?VAL?     Display or change the value of an SQLITE_LIMIT

.limit

sqlite3 :memory: ".limit"
              length 1000000000
          sql_length 1000000000
              column 2000
          expr_depth 1000
     compound_select 500
             vdbe_op 250000000
        function_arg 127
            attached 10
 like_pattern_length 50000
     variable_number 999
       trigger_depth 1000
      worker_threads 0

.limit column

 列の上限数を2000から123に変更した。

sqlite3 :memory: ".limit column 123" ".limit"
              column 123
              length 1000000000
          sql_length 1000000000
              column 123
          expr_depth 1000
     compound_select 500
             vdbe_op 250000000
        function_arg 127
            attached 10
 like_pattern_length 50000
     variable_number 999
       trigger_depth 1000
      worker_threads 0

対象環境

$ uname -a
Linux raspberrypi 4.19.42-v7+ #1218 SMP Tue May 14 00:48:17 BST 2019 armv7l GNU/Linux

前回まで