Search notes:

SQLite: explain query plan

explain query plan select ... returns a result set with four columns, named selectid, order, from and detail (see here):
selectid  order  from  detail
--------  -----  ----  --------------------------------------------------------------------------------
0         0      1     SCAN TABLE tq84_eqp_A2B AS A2B
0         1      0     SEARCH TABLE tq84_eqp_A AS A USING INTEGER PRIMARY KEY (rowid=?)
0         2      2     SEARCH TABLE tq84_eqp_B AS B USING INTEGER PRIMARY KEY (rowid=?)
For accessed tables, detail value starts either with SCAN or SEARCH. SCAN means:full table scan, SEARCH means that only a selected subset of the records are selected by means of an index.

See also

Explaining SQL plans
covering indices
Perl module DBD::SQLite - explaining a query plan

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1745904502, '13.58.45.209', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/SQLite/sql/explain/query-plan(50): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78