Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
The INPUT statement doesnt take any of the shortcuts used by LOAD TABLE,
so it isnt nearly as fast. What INPUT actually does is pass each row to the data-
base engine, one at a time, to be inserted. You can see this by turning on the
Request-Level Logging feature to see what the engine sees. Here is an example
that compares LOAD TABLE with INPUT when a two-line input file is loaded
into a two-column table:
CREATE TABLE t1 (
col_1 INTEGER NOT NULL,
col_2 INTEGER NOT NULL );