'Big recordsets with dBeaver

I'm triyng to export a recordset to CSV from a query which gives more than 3,000,000 rows. The resulting csv is always incomplete, such as if dBeaver couln't hold that data volume for exporting. How can I solve this? I'd like to get a CSV with the whole recordset.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source