Skip to content
KNIME Documentation
Main Navigation Get startedBuildWork with KnimeAccount and adminRelease notesDeveloper tools
Community Hub
DevelopersKnime
Sidebar Navigation

Getting Started

Installation

User Guide

Release Notes

Install Extensions

Building Workflows

Components

Flow Control

Expressions

File Handling

Deployment

Integrated Deployment

Workflow Invocation

Best Practices

Advanced Features

AI Extension

Get Started

Build an Agent

Inject context with RAG

LLM Providers

Tutorials

Summarize product reviews

Product FAQ assistant

Restaurant agent

Your first local agent

Task extractor

Reporting

Kerberos

Extensions

Database

Overview

Tutorials

Read and filter data from a database

Write a transformed dataset to a database

Concepts

Ports and Sessions

Query Generation

Type Mapping

Deprecated Framework

Connecting

Connect: Dedicated Node

Connect: File-Based Database

Connect: Generic DB Connector

Register a JDBC Driver

Install Third-Party Driver Plug-in

Drivers on Hub and Server

Kerberos Constrained Delegation

Reading and Transforming

Read Data

Transform Data Visually

Run a Custom SQL Query

Parameterize a Query

Writing and Modifying

Insert, Update, or Merge

Delete Rows

Bulk Load Data

Create and Remove Tables

Use Transactions

Reference

Connector Node Settings

JDBC Driver Reference

Deprecated Node Mapping

Migrate Deprecated Workflows

Python

Overview

Tutorials

Python Scripting Quickstart

Data App Development Using Plotly

Data Processing

K-AI Scripting Assistant

Data Type Conversion

Batch Processing

Jupyter Integration

Environment Management

Pixi Configuration

Dependency Management

Environment Persistence

Channel Mirrors & Air-Gapped Setups

Conda Migration

Alternative Configurations

Conda and Miniforge Setup

Conda Environment Propagation

Manual Python Configuration

Legacy Node Migration

Concepts

Pixi Backend Architecture

Storage Logic

Python Environments on Executors

Reference

Python Scripting API

Bundled Packages

Executor and Hub Configuration

Troubleshooting Guide

API Reference

Inputs and outputs

Classes

Views

Utility functions

R

Deep Learning

Snowflake

Google Cloud

Azure

AWS

Big Data

Big Data Admin

Big Data Secured Cluster

Databricks

Microsoft Fabric

Power BI

Tableau

Report Designer

H2O

Changelogs

Version 5.12

Version 5.11

Version 5.10

Version 5.9

Version 5.8

Version 5.7

Version 5.6

Version 5.5

Version 5.3

Extensions

Bulk-load data into a database ​

Use the DB Loader node to load large amounts of data into a database table using the database's native bulk-loading functionality. Bulk loading is faster than row-by-row insertion for large datasets.

Supported databases include Hive, Impala, MySQL, PostgreSQL, and H2.

Before you begin ​

  • Establish a database connection. See Connect to a database using a dedicated connector node.
  • Ensure the target table already exists in the database. DB Loader does not create tables.
  • Confirm that the column order and column names of the KNIME input table match the target database table.

Data integrity

Most databases do not perform data type or value checks during bulk loading. DB Loader verifies column order and names, but does not check column types or values. Ensure the KNIME table is compatible with the target database table before executing.

Load data ​

Configure the DB Loader node to bulk-load the connected KNIME table into the target database table.

  1. Connect the DB Connection output port to a DB Loader node.
  2. Connect the KNIME data table to the second input port.
  3. Click the node once to open its configuration.
  4. In the Options tab, select the Loader mode if the database supports multiple methods (for example, file-based or memory-based for MySQL and PostgreSQL).
  5. If the database uses a CSV file for the transfer (for example, MySQL and PostgreSQL), configure the CSV format in the Advanced tab.
  6. If the loading method requires uploading a file to a server, provide a file connection using any protocol supported by the file handling nodes and the database (for example, SSH/SCP or FTP).
  7. Click Apply and Execute.

TIP

If you do not have the rights to execute file-based loading, try the memory-based method instead.

Next steps ​

  • Insert, update, or merge data
  • Create and remove database tables

Related pages ​

  • Type mapping
  • Use database transactions
Pager
Next pageInstallation