top of page

The “Select Everything” Trap in n8n

  • Feb 13
  • 1 min read

What this means (non-technical)


Using SELECT * in a database query retrieves every column from a table. This includes fields you may not need, such as large text or JSON columns.


It makes the workflow handle more data than necessary.

What usually goes wrong


When unnecessary columns are fetched:


  • Memory usage increases.

  • Network transfer time grows.

  • Processing downstream nodes becomes slower.

  • Changes to the database schema affect your workflow unexpectedly.


If the table contains large fields, performance can degrade quickly.


The workflow may slow down even though you only needed a few simple columns.

When this becomes urgent


This becomes urgent when:


  • Tables contain large text, JSON, or binary fields.

  • You fetch many rows at once.

  • Memory usage increases unexpectedly.

  • Database performance declines.


The more data returned, the more resources are consumed.

Detect issues in your n8n workflows

Upload your JSON to detect if any issue is present in your workflow

Definitions


  1. SELECT *: A SQL statement that retrieves all columns from a table.


  2. Schema: The structure of a database table, including its columns.

Disclaimer


This article highlights common patterns and risks seen in real-world n8n workflows. It’s meant to help you build more confidently and avoid surprises as your automation grows. Behavior can vary depending on your setup, version, and configuration.

Related Posts

See All
Execution progress saving enabled in n8n

What this means (non-technical) Execution progress saving stores intermediate steps while a workflow is running. This stores intermediate state during execution, which can affect how workflow interrup

 
 
Timeout not configured in n8n

What this means (non-technical) If a workflow has no execution timeout configured, it can run indefinitely. If something gets stuck, there is nothing to automatically stop it. These long-running execu

 
 
Unthrottled loop HTTP in n8n

What this means (non-technical) This happens when an HTTP Request node sits inside a loop and sends requests as fast as possible. For every item, the workflow immediately makes another external API ca

 
 
bottom of page