Closed nurikk closed 3 years ago
This PR works perfectly with my database and I didn't get an Out of Memory error. No problem that you put both changes into one bigger pull request!
Thanks again for your work and time you put into this project right now!
Hi, this PR improves data processing. Instead of doing
SELECT * FROM [source table]
, it doesSELECT col1, col2 FROM [source table]
. This reduces overall memory and network overhead on large tableAdditionally it introduces:
--init-sql
parameter, example--init-sql "set work_mem='1GB'";
ps sorry for dumping everything in a single PR