Tagged articles

JDBC

202 articles · Page 3 of 3
ITPUB
ITPUB
Apr 29, 2016 · Databases

How to Stream Large MySQL Query Results Without Running Out of Memory

MySQL normally loads an entire query result into memory, which can cause out‑of‑memory errors on large tables, but by adding the -q option in the console, enabling useCursorFetch in JDBC URLs, and setting stmt.setFetchSize(Integer.MIN_VALUE), you can switch to a streaming mode that returns rows one at a time.

JDBCMemoryMySQL
0 likes · 3 min read
How to Stream Large MySQL Query Results Without Running Out of Memory
Architecture Digest
Architecture Digest
Feb 15, 2016 · Databases

Sharding-JDBC: A Lightweight Java Database Sharding Framework

Sharding-JDBC is a client‑side Java framework that provides transparent horizontal sharding for relational databases, offering flexible sharding strategies, SQL parsing and rewriting, multi‑threaded execution, result merging, and high performance while requiring no additional deployment or proxy layers.

JDBCSharding-JDBCjava
0 likes · 14 min read
Sharding-JDBC: A Lightweight Java Database Sharding Framework