Skip to content
KNIME Documentation
Main Navigation Get startedBuildWork with KnimeAccount and adminRelease notesDeveloper tools
Community Hub
DevelopersKnime 2.0
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

Database Extension Guide ​

The KNIME Database Extension provides nodes for connecting to JDBC-compliant databases, manipulating data inside the database, and writing results back — without leaving your workflow. All database nodes are included in every KNIME Analytics Platform installation; no additional extension is required.

Typical use cases include:

  • Filtering, aggregating, and joining large tables directly in the database
  • Reading query results into KNIME for further analysis
  • Writing processed data back to a database table
  • Automating database operations as part of a scheduled workflow

Database workflow overview

Connect to a database ​

A connector node creates a DB Session and passes it downstream as a DB Connection port. Every database workflow starts here.

  • Connect to a database using a dedicated connector node: Use a built-in connector for MySQL, PostgreSQL, Oracle, Snowflake, and more.
  • Connect to a file-based database: Connect to SQLite, H2, or Microsoft Access using a local file.
  • Connect to a database with the generic DB Connector: Connect to any JDBC-compliant database with a custom driver.

Set up drivers ​

  • Register a JDBC driver: Add a vendor-specific driver to KNIME Analytics Platform.
  • Install a third-party driver plug-in: Install the Oracle, SQL Server, or Redshift driver plug-in.

Read and transform data ​

DB nodes build SQL queries incrementally. The query runs only when a DB Reader node executes it.

  • Read data from a database: Select a table and read it into a KNIME data table.
  • Transform data visually in a database: Filter rows, aggregate, and join without writing SQL.
  • Run a custom SQL query: Use DB Query, DB Query Reader, or DB SQL Executor for custom statements.
  • Parameterize a SQL query: Loop over input values with DB Parameterized Query Reader or DB Looper.

Write and modify data ​

  • Insert, update, or merge data: Write KNIME table rows to a database using DB Writer, DB Row Inserter, DB Updater, or DB Merger.
  • Delete rows from a database table: Remove rows by value match or filter condition.
  • Bulk-load data into a database: Use the DB Loader node for high-throughput writes.
  • Create and remove database tables: Use DB Table Creator and DB Table Remover.
  • Use database transactions: Group operations into a single commit-or-rollback unit.

Hub and Server setup ​

  • Set up JDBC drivers on KNIME Hub and KNIME Server: Distribute drivers to executors and clients using customization profiles.
  • Configure Kerberos constrained delegation: Impersonate workflow users when connecting to Kerberos-secured databases.

Migration ​

  • Migrate deprecated database workflows: Use the Workflow Migration Tool to convert deprecated nodes to their current equivalents.

Reference ​

  • Connector node settings: JDBC Parameters and Additional Settings options.
  • JDBC driver reference: Driver registration fields, URL template syntax, and common drivers.
  • Deprecated node mapping: Full table of deprecated nodes and their replacements.
Pager
Previous pageKerberos
Next pageRead and filter data from a database