clickhouse-java icon indicating copy to clipboard operation
clickhouse-java copied to clipboard

Recommended config settings for large selects

Open HunterSherms opened this issue 7 years ago • 2 comments

I'm running a large select over a single table and have noticed that at around 300k rows, the driver just returns an empty resultset with no error thrown, while anything smaller returns the expected results.

Are the recommendations or examples anywhere for configuration for large selects?

HunterSherms avatar Aug 15 '18 19:08 HunterSherms

you can try the param "max_result_rows"

thinkinerp avatar May 18 '19 06:05 thinkinerp

I encountered the same question, how did you solved the problem? @HunterSherms

waitingF avatar Nov 02 '21 01:11 waitingF

The driver processes data row by row, rather than holding everything in memory. However, it might encounter difficulties when handling XML or JSON data formats. Since there hasn't been any recent discussion on this topic, this ticket will be closed. If you encounter any issues, please don't hesitate to create a new ticket detailing the steps to reproduce the problem using the latest version of the driver.

zhicwu avatar May 19 '23 00:05 zhicwu