Skip to content

RDS MariaDB Limitations: How to Achieve DBeaver-Level CSV Export Performance Programmatically? #33111

Answered by ShadelessFox
chickendining asked this question in Q&A
Discussion options

You must be logged in to vote

We don't do anything fancy :^)

We fetch data by simply SELECT-ing it from a table. The fetch size can be specified during the initial setup. We stream the fetched data in a buffered manner to the output file.

Related code can be found here:

  • org.jkiss.dbeaver.model.impl.jdbc.struct.JDBCTable#readData
  • org.jkiss.dbeaver.tools.transfer.stream.exporter.DataExporterCSV#exportRow

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by E1izabeth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants