ts currently inserts data by concatenating a long INSERT INTO statement because something like the bulk load from csv won't work with multi-dimensional data afaik. This approach, however, will probably not work for larger datasets and something like copy streams might be a better solution https://github.com/brianc/node-pg-copy-streams