Extracting a large data set

Hi community, I hope everyone is keeping safe.

I have a request to design a data pipeline to extract ~100M rows of data, with about 10 columns in the table.

What’s the best practice approach to carrying this out?
The source system is a DB2 database, so JDBC will be used.