COPY

Issue #5 new
Patrick Irvin created an issue

I have worked out using the libpq library to send data using the COPY command. I would like to share my work with the PQ LabVIEW project:

@James Powell @antoinechalons please let me know next steps regarding pulling changes, etc.

Comments (5)

  1. Patrick Irvin reporter

    @Antoine you can see my code here. It is based on your most recent commit. I needed to back save to LV 2016, but I don’t think there should be any issues opening in 2017.

  2. Patrick Irvin reporter

    Antoine, I found your MultiValue INSERT example and I like it very much. Here I’ve added benchmarks for the various upload methods. I found that Multirow INSERT and COPY are similar up to 100,000 rows, but INSERT failed for 1,000,000 rows. COPY really shines if the data already exists in a TSV/CSV file:

    Time for INSERT and “COPY Data” includes data to string conversion, so the comparison probably isn’t entirely fair.

  3. Log in to comment