SQL cell very slow on initialisation

Why does the initial execution of a SQL cell (PostgreSQL connection) take 15-20s? Running the same query using pandas.read_sql takes around 1s.

Is this normal? Can this be optimised?

1 Like

Hi,
Since Datalore 2023.5 this part was improved. At the moment database connections is getting initialized once open a notebook