Using CREATE TABLE AS is slow when the table created contains many columns (60 or more columns). Subsequent inserts into the created table are very fast (sub-second).
Inserting the first record into a table with many columns (60 or more columns) is very slow. All subsequent inserts are fast (sub-second).
When the first record is inserted into any table, every column is analyzed to create the initial statistics. The time the analysis takes is relative to the number of columns in the table, more columns equal more time. This happens for the first record inserted using INSERT or CREATE TABLE AS.
Follow these steps to resolve this issue: