Import data from multiple JSON files to a single PostgreSQL table

by

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

Using Withdata software FileToDB, a JSON importer for PostgreSQL, you can import multiple JSON 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, Avoid uploading LARGE JSON file(s) to online services.
  • Support Windows, Linux, macOS.

Download FileToDB Download FileToDB

Import multiple JSON files into a single PostgreSQL table

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

Choose PostgreSQL and logon.

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

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

import multiple JSON files to 1 PostgreSQL  table - task window

Select the “JSON” file type.

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

then show the wizard.

1. Select a folder that constains JSON files.

Support large ( > 4GB ) JSON file.

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

2. Config first JSON file importing options.

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

3. Select a PostgreSQL table and config fields.

Merge JSON files into a PostgreSQL  table - select table

4. Preview data will be in PostgreSQL table.

put JSON files into a single PostgreSQL  table - preview

5. Import multiple JSON files to the PostgreSQL table.

Merge JSON files into a PostgreSQL  table - import data

View imported data in PostgreSQL table

load JSON files into a PostgreSQL  table - view data

Convert JSON files to PostgreSQL in command line

Save session, and then create .bat file for Windows command line, or .sh file for Linux / macOS.

Set scheduled tasks for converting JSON files to PostgreSQL

You can schedule and automate this “JSON to PostgreSQL” conversion task by:

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

2) Set scheduled task.


More about FileToDB – JSON to PostgreSQL converter

30-day free trial Download FileToDB