Common Operational Queries and Configuration Guides for Apache Doris
SQL Query Management
Cancelling Active Sessions
Retrieve the running session list and terminate the target statement using its unique identifier.
SHOW FULL PROCESSLIST;
KILL QUERY <process_identifier>;
Alternatively, invoke the management REST endpoint directly:
curl -X POST -u "<username>:<password>" http://<bac ...
Posted on Thu, 24 Sep 2026 16:18:00 +0000 by juneym
Apache Doris Common Technical Queries and Solutions
SQL Queries
Q1: Is MySQL's WITH ROLLUP syntax supported?
Apache Doris does not currently support the WITH ROLLUP clause. As an alteernative, use the GROUP BY ROLLUP construct:
SELECT a, b, c, SUM(d) FROM tab1 GROUP BY ROLLUP(a, b, c);
Q2: Why do decimal field queries truncate to six decimal places?
By default, decimal values retain six fractio ...
Posted on Sat, 05 Sep 2026 16:17:20 +0000 by lesmith
Troubleshooting Common Apache Doris Issues: SQL, Import, and Operations
SQL Query Issues
Error: "timeout when waiting for send fragments RPC"
This error indicates a communication timeout during RPC fragment transmission. To resolve this, follow these steps:
Verify network connectivity between nodes.
Consider upgrading to version 2.x, as this issue occurs less frequently compared to pre-2.0 versions.
Adju ...
Posted on Wed, 19 Aug 2026 16:31:28 +0000 by marli
Apache Doris Weekly FAQ: Memory Limits, Import Errors, and More
SQL Execution and Memory Management
Q1: Why does a single SQL query's memory usage not respect the exec_mem_limit setting?
A1: The exec_mem_limit parameter governs the maximum memory allocated per query fragment instance within a query plan. A single query plan may involve multiple instances, each executed on one or more Backend (BE) nodes. As ...
Posted on Sun, 14 Jun 2026 17:43:38 +0000 by billmasters
Apache Doris FAQ: JDBC Connection Issues, Data Operations, and System Maintenance
SQL Query Issues
Q: JDBC Connection Failure Error
When executing queries, users may encounter the following error:
[HY000][1105] Can not connect to jdbc due to error: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
Recommended troubleshooting steps:
Add autoReconnect=true parameter to the JDBC URL and set ...
Posted on Fri, 15 May 2026 09:56:49 +0000 by cockney