PostgreSQL import multiple CSV files into a single table in one go

by

Want to import multiple CSV files into a single PostgreSQL table?

Using Withdata software File To DB, a CSV to PostgreSQL converter for Windows, MacOS, and Linux, you can import multiple CSV files into a single PostgreSQL table in one go.

  • Can run in GUI mode, Step by Step, just a few mouse clicks.
  • Can run in Command line, for Scheduled Tasks and Streams.
  • Convert locally and privately, avoid uploading large or private CSV files to online services.

Download FileToDB Download FileToDB

Import multiple CSV files into a single PostgreSQL table

Login to PostgreSQL -> Choose CSV files -> Set PostgreSQL table -> Import CSV files to PostgreSQL table

Choose PostgreSQL and logon.

import multiple CSV files to 1 PostgreSQL  table - Choose PostgreSQL and logon

Click “Wizard – N Files To 1 Table” at task dialog.

import multiple CSV files to 1 PostgreSQL  table - task window

Select the “CSV” file type.

load multiple CSV files to 1 PostgreSQL  table - select file type

then show the wizard.

1. Select a folder that constains CSV files.

Support large ( > 4GB ) CSV files.

insert multiple CSV files to one PostgreSQL  table - select a folder

2. Config first CSV file importing options.

import multiple CSV files to one PostgreSQL  table - config first file

3. Select a PostgreSQL table and config fields.

Merge CSV files into a PostgreSQL  table - select table

4. Preview data will be in PostgreSQL table.

put CSV files into a single PostgreSQL  table - preview

5. Import multiple CSV files to the PostgreSQL table.

Merge CSV files into a PostgreSQL  table - import data

View imported data in PostgreSQL table

load CSV files into a PostgreSQL  table - view data

Import multiple CSV files to PostgreSQL in command line

Save “multiple CSV files to PostgreSQL” session, then you can:

Set scheduled tasks for importing multiple CSV files to PostgreSQL

You can schedule and automate this converting task by:

1) Save session and create .bat (Windows) or .sh (Linux/macOS)

2) Set scheduled task.

FAQ


More about FileToDBCSV to PostgreSQL converter