Import Large Csv File

To import very large CSV files, you can use the bench utility import-csv.

The benefit is that this is not subject to timeouts if you use the web interface.

Here is an example:

bench --site import-csv ~/Downloads/Activity_Type.csv


$ bench import-csv --help
Usage: bench  import-csv [OPTIONS] PATH

  Import CSV using data import tool

  --only-insert             Do not overwrite existing records
  --submit-after-import     Submit document after importing it
  --ignore-encoding-errors  Ignore encoding errors while coverting to unicode
  --help                    Show this message and exit.
On this page