In the production DB, we have few txn tables which have more 400 millions of records. I have to read the data and do the data processing for preparing the analytics report? I have tried to use the pandas.read_sql or pandas.read_sql_query with chunk size but this is very slow. Please suggest if we have different ways to do this optimally.
Thanks,
Manoj Kumar