I'm trying to upload some heavy data in postgresql from dask python but it's giving the following error: Server Disconnected. Can anyone help me?
code:
base_SP.to_sql('SIPNI_SP2', 'postgresql://postgres:postgres@localhost:5432/vacinacao',if_exists='replace', index = False, chunksize=1000, dtype = sqlalchemy.VARCHAR , method='multi',compute=True, parallel=False)