Iām not sure if this will reduce the load time, and it will certainly reduce the load time, since both processes are quite efficient. You can leave a comment about timming.
COPY 15mil_rows_table TO '/path/15mil_rows_table.csv' DELIMITER ',' CSV HEADER;
- R :
library(data.table)
DT <- fread("/path/15mil_rows_table.csv")