from labkey.query import insert_rows
I used insert_rows(server_context, schema, table, row) to insert my data.
It worked but usually it took 10 minutes to upload a small size data set like 50 kb. Is there any log file I can check what is happening in the 10 mins?
If I tried to upload 10 different data sets to the same table, it worked for the first data set but failed for the 2nd one. Exception said: 500: SqlExecutor.execute(); SQL []; An I/O error occurred while sending to the backend.; nested exception is org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.
What might be the reason? Many people said it might be connection issue. If yes, how can I try to solve the problem?
Thanks very much